
                             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 nodes describe command.    )absolute_import)division)unicode_literals)NodesClient)base)flagszp
        Display data associated with a VMware Engine node, such as its name, state, node type, ip, fqdn.
      a  
        To describe a node called `my-node` in private cloud `my-private-cloud` cluster `my-cluster` and zone `us-west2-a`, run:

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

          Or:

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

         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)Describez+Describe a Google Cloud VMware Engine node.c                 .    t        j                  |        y)z Register flags for this command.N)r   AddNodeArgToParser)parsers    <lib/surface/vmware/private_clouds/clusters/nodes/describe.pyArgszDescribe.Args1   s     
V$    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSnodeParser   Get)selfargsr   clients       r   RunzDescribe.Run6   s0    ==##%D]F::dr   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   +   s!    3-% %r   r   N)r   
__future__r   r   r   #googlecloudsdk.api_lib.vmware.nodesr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r    ReleaseTracksReleaseTrackGADescribeCommandr   r#   r   r   <module>r,      sg    & &  ' ; ( 3

	$ D%%(()t##  *r   