
                             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                  j                         G d dej                               Zy)z'vmware clusters list' command.    )absolute_import)division)unicode_literals)ClustersClient)base)flagszE
          List clusters in a VMware Engine private cloud.
          ax  
          To list clusters in the `my-private-cloud` private cloud run:

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

            Or:

            $ {command} --private-cloud=my-private-cloud

          In the second example, the project and location are taken from gcloud properties core/project and compute/zone.
    )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Listz<List clusters in a Google Cloud VMware Engine private cloud.c                 d    t        j                  |        | j                  j                  d       y)z Register flags for this command.zxtable(name.segment(-1):label=NAME,name.segment(-5):label=LOCATION,name.segment(-3):label=PRIVATE_CLOUD,createTime,state)N)r   AddPrivatecloudArgToParserdisplay_info	AddFormat)parsers    2lib/surface/vmware/private_clouds/clusters/list.pyArgsz	List.Args3   s+     
$$V,
!! #6 7    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSprivate_cloudParser   r   )selfargsprivatecloudclients       r   RunzList.Run<   s1    ==..446LF;;|$$r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   -   s!    D-7 7%r   r   N)r!   
__future__r   r   r   &googlecloudsdk.api_lib.vmware.clustersr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r"   ReleaseTracksReleaseTrackGAListCommandr   r%   r   r   <module>r.      sg    & &  ' A ( 3	
	( D%%(()%4 % *%r   