
                             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 nsx credentials describe' command.    )absolute_import)division)unicode_literals)PrivateCloudsClient)base)flagszj
          Retrieve VMware NSX sign-in credentials associated with a VMware Engine private cloud.
        a  
          To get sign-in credentials for NSX in private cloud `my-private-cloud`, run:

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

          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)DescribezfRetrieve VMware NSX sign-in credentials associated with a Google Cloud VMware Engine private cloud.
  c                 .    t        j                  |        y)z Register flags for this command.N)r   AddPrivatecloudArgToParser)parsers    =lib/surface/vmware/private_clouds/nsx/credentials/describe.pyArgszDescribe.Args4   s     
$$V,    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSprivate_cloudParser   GetNsxCredentials)selfargsresourceclients       r   RunzDescribe.Run9   s3    }}**002H "F##H--r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   -   s%      -- -.r   r   N)r    
__future__r   r   r   +googlecloudsdk.api_lib.vmware.privatecloudsr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r!   ReleaseTracksReleaseTrackGADescribeCommandr   r$   r   r   <module>r-      sg    1 &  ' K ( 3	
	( D%%(().t## . *.r   