
                            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&                         G d de	j(                               Zy)zCommand to list Azure clients.    )absolute_import)division)unicode_literals)azure)base)resource_args)	constants)endpoint_utilzV
To lists all clients in location ``us-west1'', run:

$ {command} --location=us-west1
c                   .    e Zd ZdZdeiZed        Zd Zy)ListzList Azure clients.EXAMPLESc                     t        j                  | d       | j                  j                  t        j
                         y )Nzto list Azure clients)r   AddLocationResourceArgdisplay_info	AddFormatr	   AZURE_CLIENT_FORMAT)parsers    +lib/surface/container/azure/clients/list.pyArgsz	List.Args)   s-    ((1HI
!!)"?"?@    c                 6   |j                   j                  j                         }t        j                  |j
                        5  t        j                         }|j                  ||j                  |j                        \  }}|cddd       S # 1 sw Y   yxY w)zRuns the list command.)	page_sizelimitN)CONCEPTSlocationParser
   GkemulticloudEndpointOverridelocationsIdapi_utilClientsClientr   r   r   )selfargslocation_ref
api_clientitems_s         r   RunzList.Run.   st    ==))//1L		4	4\5M5M	N))+j
$..

 ! heQ  
O	N	Ns   ABBN)	__name__
__module____qualname____doc__	_EXAMPLESdetailed_helpstaticmethodr   r'    r   r   r   r   #   s(    y)-A Ar   r   N)r+   
__future__r   r   r   .googlecloudsdk.api_lib.container.gkemulticloudr   r   googlecloudsdk.callioper   *googlecloudsdk.command_lib.container.azurer   2googlecloudsdk.command_lib.container.gkemulticloudr	   r
   r,   ReleaseTracksReleaseTrackALPHAGAListCommandr   r/   r   r   <module>r:      sr    % &  ' L ( D H L	 D%%++T->->-A-AB4  Cr   