Ë
    €Ï  ã                   ó<  — 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lmZ dd	lmZ d
Z e	j                  e	j                   j"                  e	j                   j$                  e	j                   j&                  «       G d„ de	j(                  «      «       Zy)zBCommand to list all clusters in the Anthos clusters on VMware API.é    )Úabsolute_import)Údivision)Úunicode_literals)Úvmware_clusters)Úbase)Úparser_arguments)Ú	constants)Úflagsz_
To lists all clusters managed in location ``us-west1'', run:

$ {command} --location=us-west1
c                   óH   — e Zd ZdZdeiZedej                  fd„«       Z	d„ Z
y)ÚListzList Anthos clusters on VMware.ÚEXAMPLESÚparserc                 ó‚   — | j                   j                  t        j                  «       t	        j
                  | d«       y)zzGathers 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ÚArgsz	List.Args*   s/   € ð ×Ñ×!Ñ!¤)×"BÑ"BÔCÜ	× Ñ  Ð)LÕMó    c                 óL   — t        j                  «       }|j                  |«      S )z«Runs 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   ÚRunzList.Run4   s!   € ô × Ñ Ó"€FØ;‰;tÓÐr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	_EXAMPLESÚdetailed_helpÚstaticmethodr   ÚArgumentInterceptorr   r   © r   r   r   r   "   s9   „ ñ (à˜yÐ)€-àðNÐ#×7Ñ7ò Nó ðNó
r   r   N)r!   Ú
__future__r   r   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>r1      sƒ   ðñ Iå &Ý Ý 'å NÝ (Ý 4Ý AÝ =ð€	ð €×ÑØ×Ñ×Ñ˜T×.Ñ.×3Ñ3°T×5FÑ5F×5IÑ5Ióôˆ4×Ñó óñr   