
                             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)z6'vmware private-clouds identity-sources list' command.    )absolute_import)division)unicode_literals)IdentitySourcesClient)base)flagszF
        List identity source resources in a given private cloud.
    a  
        To retrieve all identity sources from a private cloud `my-pc` located  in project `my-project` and zone `us-west1-a`:

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

          Or:

          $ {command} --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)ListzJList Google Cloud VMware Engine identity sources in a given private cloud.c                 d    t        j                  |        | j                  j                  d       y)z Register flags for this command.ztable(name.segment(-1):label=NAME,name.segment(-5):label=LOCATION,name.segment(-3):label=PRIVATE_CLOUD,vmware_identity_source,appliance_type,domain,domain_user)N)r   AddPrivatecloudArgToParserdisplay_info	AddFormat)parsers    :lib/surface/vmware/private_clouds/identity_sources/list.pyArgsz	List.Args2   s,     
$$V,
!!	D    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSprivate_cloudParser   r   )selfargspcclients       r   RunzList.Run=   s0    		$	$	*	*	,B"$F;;r?r   N)	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   +   s$     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ListCommandr   r%   r   r   <module>r/      ss    = &  ' O ( 3
	$ D%%(()4  * r   