
                             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 describe' command.    )absolute_import)division)unicode_literals)HcxActivationKeysClient)base)flagsz
          Display data associated with an HCX activation key, such as the key itself, its resource name, and when it was created.
        a  
          To describe a HCX activation key called `key1` in private cloud `my-private-cloud` in zone `us-west2-a`, run:

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

            Or:

            $ {command} key1 --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)Describez2Describe a Google Cloud VMware HCX activation key.c                 .    t        j                  |        y)z Register flags for this command.N)r   AddHcxActivationKeyArgToParser)parsers    @lib/surface/vmware/private_clouds/hcx/activationkeys/describe.pyArgszDescribe.Args3   s     
((0    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTShcx_activation_keyParser   Get)selfargskeyclients       r   RunzDescribe.Run8   s0    
--
*
*
0
0
2C$&F::c?r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   -   s!    :-1 1r   r   N)r    
__future__r   r   r   /googlecloudsdk.api_lib.vmware.hcxactivationkeysr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r!   ReleaseTracksReleaseTrackGADescribeCommandr   r$   r   r   <module>r-      sg    4 &  ' S ( 3	
	( D%%(()t##  *r   