
    (                         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SKJ	r	  SSK
Jr  SS	K
Jr  S
r\R                  " \R                   R"                  5       " S S\R$                  5      5       rg)zHCommand to list all clusters in the Anthos on bare metal standalone API.    )absolute_import)division)unicode_literals)standalone_clusters)base)parser_arguments)cluster_flags)	constantsz_
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 on bare metal standalone clusters.EXAMPLESparserc                     [         R                  " U SS9  U R                  R                  [        R
                  5        g)z4Gathers command line arguments for the list command.zto list)verbN)flagsAddLocationResourceArgdisplay_info	AddFormatr
   %BARE_METAL_STANDALONE_CLUSTERS_FORMAT)r   s    <lib/surface/container/bare_metal/standalone_clusters/list.pyArgs	List.Args(   s1     
  i8
!!77    c                     UR                   R                  R                  5       n[        R                  " 5       nUR                  X!R                  UR                  S9$ )z}Runs the list command.

Args:
  args: Arguments received from command line.

Returns:
  The resources listed by the service.
)limit	page_size)CONCEPTSlocationParser   StandaloneClustersClientr   r   r   )selfargslocation_refclients       r   RunList.Run0   sE     ==))//1L 99;F;;|::;PPr    N)__name__
__module____qualname____firstlineno____doc__	_EXAMPLESdetailed_helpstaticmethodr   ArgumentInterceptorr   r&   __static_attributes__r(   r   r   r   r   "   s5    6y)-#77  Qr   r   N)r-   
__future__r   r   r   *googlecloudsdk.api_lib.container.gkeonpremr   googlecloudsdk.callioper   r   /googlecloudsdk.command_lib.container.bare_metalr	   r   r
   r.   ReleaseTracksReleaseTrackALPHAListCommandr   r(   r   r   <module>r;      se    O &  ' J ( 4 R E	 D%%++,Q4 Q -Qr   