
                             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 external-addresses describe' command.    )absolute_import)division)unicode_literals)ExternalAddressesClient)base)flagszU
          Describe an external IP address in a VMware Engine private cloud.
        a  
          To get a description of an address called `first-ip` in the
          `my-privatecloud` private cloud in the `us-east2-b`
          location, run:

            $ {command} first-ip --private-cloud=my-privatecloud --location=us-east2-b --project=my-project

          Or:

            $ {command} first-ip --private-cloud=my-privatecloud

          In the second example, the project and region are taken from gcloud properties core/project and vmware/region.
    )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)DescribezADescribe an external IP address in a VMware Engine private cloud.c                 .    t        j                  |        y)z Register flags for this command.N)r   AddExternalAddressArgToParser)parsers    @lib/surface/vmware/private_clouds/external_addresses/describe.pyArgszDescribe.Args5   s     
''/    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSexternal_addressParser   Get)selfargsresourceclients       r   RunzDescribe.Run:   s1    }}--335H$&F::hr   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   /   s!    I-0 0 r   r   N)r    
__future__r   r   r   /googlecloudsdk.api_lib.vmware.externaladdressesr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r!   ReleaseTracksReleaseTrackGADescribeCommandr   r$   r   r   <module>r-      sg    4 &  ' S ( 3		, D%%(() t##   * r   