
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 dd	d
Zej                   ej                  ej                  j                         G d dej                                       Zy)z:'vmware private-clouds identity-sources describe' command.    )absolute_import)division)unicode_literals)IdentitySourcesClient)base)flagszF
        Describe a Google Cloud VMware Engine identity source.
      a  
        To retrieve an identity source called `my-is` from a Private Cloud `my-pc`located in project `my-project` and zone `us-west1-a`:

          $ {command} my-identity-source --project=my-project --location=us-west1-a --private-cloud=my-pc

          Or:

          $ {command} my-identity-source --private-cloud=my-pc

        In the second example, the project and location are taken from gcloud properties `core/project` and `compute/zone` respectively.
    )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez6Describe a Google Cloud VMware Engine identity source.c                 .    t        j                  |        y)z Register flags for this command.N)r   AddIdentitySourceArgToParser)parsers    >lib/surface/vmware/private_clouds/identity_sources/describe.pyArgszDescribe.Args2   s     
&&v.    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSidentity_sourceParser   Get)selfargssourceclients       r   RunzDescribe.Run7   s1    ]]**002F"$F::fr   N)	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   +   s#     ? -/ /r   r   N)r    
__future__r   r   r   -googlecloudsdk.api_lib.vmware.identitysourcesr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r!   HiddenReleaseTracksReleaseTrackGADescribeCommandr   r$   r   r   <module>r.      st    A &  ' O ( 3

	$ D%%(()t##  * r   