
                             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	d
Z ej                  ej                  j                         G d dej                               Zy)z)'vmware hcx activationkeys list' command.    )absolute_import)division)unicode_literals)HcxActivationKeysClient)base)flagszP
          List HCX activation keys in a VMware Engine private cloud.
          a  
          To list HCX activation keys in the `my-private-cloud` private cloud run:

            $ {command} --location=us-west2-a --project=my-project --private-cloud=my-private-cloud

            Or:

            $ {command} --private-cloud=my-private-cloud

          In the second example, the project and location are taken from gcloud properties core/project and compute/zone.
    )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)ListzGList HCX activation keys in a Google Cloud VMware Engine private cloud.c                 d    t        j                  |        | j                  j                  d       y)z Register flags for this command.ztable(name.segment(-1):label=NAME,name.segment(-5):label=LOCATION,name.segment(-3):label=PRIVATE_CLOUD,createTime,state,activationKey)N)r   AddPrivatecloudArgToParserdisplay_info	AddFormat)parsers    <lib/surface/vmware/private_clouds/hcx/activationkeys/list.pyArgsz	List.Args3   s-     
$$V,
!! #D E    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSprivate_cloudParser   r   )selfargsprivatecloudclients       r   RunzList.Run<   s1    ==..446L$&F;;|$$r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   -   s#    O-E E%r   r   N)r!   
__future__r   r   r   /googlecloudsdk.api_lib.vmware.hcxactivationkeysr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r"   ReleaseTracksReleaseTrackGAListCommandr   r%   r   r   <module>r.      sg    0 &  ' S ( 3	
	( D%%(()%4 % *%r   