ó
    €Ï4  ã                   ón   • S r SSKJr  SSKJr  SSKJr  SSKJr  S rS r	S r
S	 rS
 rS rS rS rS rg)zFFlags and helpers for SQL Server Connection Profiles related commands.é    )Úabsolute_import)Údivision)Úunicode_literals)Úflagsc                 ó&   • U R                  SSSS9  g)zFAdd the Cloud SQL project ID for the Cloud SQL instance to the parser.z--cloudsql-project-idFzÌThe project id of the Cloud SQL instance. Only needed if the Cloud SQL instance is in a different project than the connection profile. This is only supported for source connection profiles for SQL Server.©ÚrequiredÚhelpN©Úadd_argument©Úparsers    ÚXlib/googlecloudsdk/command_lib/database_migration/connection_profiles/sqlserver_flags.pyÚAddCloudSqlProjectIdFlagr      s    € à×ÑØØðð	 ò 	ó    c                 óP   • U R                  SSS9n[        U5        [        U5        g)z?Adds the source and destination parameters to the given parser.FT)r	   ÚmutexN)Ú	add_groupÚAddHomogeneousSourceDetailsFlagÚ&AddHeterogeneousSourceOrDagDetailsFlag©r   Úcp_params_groups     r   ÚAddCpDetailsFlagr   &   s'   € à×$Ñ$¨e¸4Ð$Ð@€/Ü! /Ô2Ü(¨Õ9r   c                 óº   • U R                  5       n[        R                  " USS9  [        U5        [        R                  " USSS9  [        R
                  " USS9  g)z7Adds flags for Cloud SQL instances to the given parser.F©r	   a            Username that Database Migration Service uses to connect to the
          database for metrics and observability. We highly recommend that you
          use the sqlserver user for this. Database Migration Service encrypts
          the value when storing it.
      T)Ú	help_textr	   N)r   Úcp_flagsÚAddCloudSQLInstanceFlagr   ÚAddUsernameFlagÚAddPasswordFlagGroupr   s     r   ÚAddCloudSqlInstanceFlagsr!   -   sU   € à×$Ñ$Ó&€/Ü
×"Ò" ?¸UÒCÜ˜?Ô+Ü
×ÒØð
ð ò	ô ×Ò ¸$Ó?r   c                 ó¤   • U R                  5       n[        R                  " USS9  [        R                  " USS9  [        R                  " U5        g)zWAdds heterogeneous source or DAG HMM source/destination parameters to the given parser.Tr   N)r   r   ÚAddHostFlagÚAddPortFlagÚAddDbmPortFlag)r   Úhetero_cp_params_groups     r   r   r   ?   sB   € à!×+Ñ+Ó-ÐÜ
×ÒÐ-¸Ò=Ü
×ÒÐ-¸Ò=Ü
×ÒÐ0Õ1r   c                 óf   • U R                  5       n[        U5        [        U5        [        U5        g )N)r   ÚAddGcsBucketÚAddGcsPrefixÚAddProviderFlag©r   Úsource_cp_params_groups     r   r   r   G   s,   € Ø!×+Ñ+Ó-ÐÜÐ%Ô&ÜÐ%Ô&ÜÐ(Õ)r   c                 óP   • U R                  5       n[        U5        [        U5        g)zXAdds the source connection profile parameters to the given parser during update command.N)r   r(   r)   r+   s     r   ÚAddSourceUpdateFlagr.   N   s#   € à!×+Ñ+Ó-ÐÜÐ%Ô&ÜÐ%Õ&r   c                 ó&   • U R                  SSSS9  g)z'Add the gcs bucket field to the parser.z--gcs-bucketTzžCloud Storage bucket for the source SQL Server connection profile where the backups are stored. This flag is used only for SQL Server to Cloud SQL migrations.r   Nr   r   s    r   r(   r(   U   s    € à×ÑØØð&ð	 ò r   c                 ó$   • U R                  SSS9  g)z'Add the gcs prefix field to the parser.z--gcs-prefixzµCloud Storage prefix path within the bucket for the source SQL Server connection profile where the backups are stored. This flag is used only for SQL Server to Cloud SQL migrations.)r
   Nr   r   s    r   r)   r)   b   s   € à×ÑØðBð ò r   c                 ó*   • U R                  SSSS/S9  g)z)Adds --provider flag to the given parser.z
--providerz)Database provider, for managed databases.ÚCLOUDSQLÚRDS)r
   ÚchoicesNr   r   s    r   r*   r*   n   s#   € à×ÑØØ6Ø˜5Ð!ð ò r   N)Ú__doc__Ú
__future__r   r   r   ÚAgooglecloudsdk.command_lib.database_migration.connection_profilesr   r   r   r   r!   r   r   r.   r(   r)   r*   © r   r   Ú<module>r9      sE   ðñ Må &Ý Ý 'å _òò:ò@ò$2ò*ò'ò
ò	ór   