
                            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 ej                   ej                  ej                  j                        ej                    G d dej"                                             Zej                   ej                  ej                  j&                        ej                    G d	 d
e                           Zy)List Cloud NetApp Host Groups.    )client)base)flags)concept_parsers)
propertiesc                   \    e Zd ZdZej
                  j                  ZdddZe	d        Z
d Zy)Listr   z4          Lists Cloud NetApp Host Groups.
          z          The following command lists all Host Groups in the given location:

              $ {command} --location=us-central1
          )DESCRIPTIONEXAMPLESc                 t    t        j                  t        j                  d      g      j	                  |        y )Nz*The location in which to list Host Groups.)r   ConceptParserr   *GetResourceListingLocationPresentationSpecAddToParser)parsers    &lib/surface/netapp/host_groups/list.pyArgsz	List.Args,   s2    !!888	
#  {6    c                 ,   t         j                  j                  j                  j	                          |j
                  j                  j                         j                         }t        j                  | j                        }|j                  |      S )zRun the list command.)release_track)r   VALUEScoreproject	GetOrFailCONCEPTSlocationParseRelativeNamehost_groups_clientHostGroupsClient_RELEASE_TRACKListHostGroups)selfargslocation_refr   s       r   RunzList.Run4   so     "",,.==))//1>>@L00))F   ..r   N)__name__
__module____qualname____doc__r   ReleaseTrackALPHAr!   detailed_helpstaticmethodr   r&    r   r   r
   r
      sB     '$$**.		-  	/r   r
   c                   <    e Zd ZdZej
                  j                  Zy)ListBetar   N)r'   r(   r)   r*   r   r+   BETAr!   r/   r   r   r1   r1   @   s     '$$)).r   r1   N)r*   )googlecloudsdk.api_lib.netapp.host_groupsr   r   googlecloudsdk.callioper   !googlecloudsdk.command_lib.netappr   (googlecloudsdk.command_lib.util.conceptsr   googlecloudsdk.corer   DefaultUniverseOnlyReleaseTracksr+   r,   HiddenListCommandr
   r2   r1   r/   r   r   <module>r<      s     % R ( 3 D * D%%++,!/4 !/  - !/H D%%**+*t *  , *r   