
                            S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJ	r	  Sr
\R                  " \R                  R                  \R                  R                  \R                  R                  5       " S S	\R                   5      5       rg
)zBCommand to list all clusters in the Anthos clusters on VMware API.    )vmware_clusters)base)parser_arguments)	constants)flagsz_
To lists all clusters managed in location ``us-west1'', run:

$ {command} --location=us-west1
c                   R    \ rS rSrSrS\0r\S\R                  4S j5       r
S rSrg)	List   zList Anthos clusters on VMware.EXAMPLESparserc                     U R                   R                  [        R                  5        [        R
                  " U S5        g)znGathers command line arguments for the list command.

Args:
  parser: The argparse parser to add the flag to.
z!to list Anthos on VMware clustersN)display_info	AddFormatr   VMWARE_CLUSTERS_FORMATr   AddLocationResourceArg)r   s    -lib/surface/container/vmware/clusters/list.pyArgs	List.Args'   s/     !!)"B"BC	  )LM    c                 N    [         R                  " 5       nUR                  U5      $ )zRuns the list command.

Args:
  args: Arguments received from command line.

Returns:
  protorpc.message.Message, The resources listed by the service.
)apisClustersClientr	   )selfargsclients      r   RunList.Run1   s!       "F;;tr    N)__name__
__module____qualname____firstlineno____doc__	_EXAMPLESdetailed_helpstaticmethodr   ArgumentInterceptorr   r   __static_attributes__r   r   r   r	   r	      s9     (y)-N#77 N N
r   r	   N)r#   *googlecloudsdk.api_lib.container.gkeonpremr   r   googlecloudsdk.callioper   r   +googlecloudsdk.command_lib.container.vmwarer   r   r$   ReleaseTracksReleaseTrackALPHABETAGAListCommandr	   r   r   r   <module>r2      s{    I O ( 4 A =	 T..33T5F5F5I5I4 r   