
    Z                         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)z1'vmware private-clouds subnets describe' command.    )absolute_import)division)unicode_literals)SubnetsClient)base)flagsz
          Describe a Subnet by its resource name. It contains details of the subnet, such as ip_cidr_range, gateway_ip, state, and type.
        a  
          To get the information about a subnet resource called `my-subnet`, that belongs to the private cloud `my-private-cloud` in project `my-project` and zone `us-west1-a`, run:

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

          Or:

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

          In the second example, the project and location are taken from gcloud properties `core/project` and `compute/zone`, respectively.
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez3Describe a subnet in a VMware Engine private cloud.c                 .    t        j                  |        y)z Register flags for this command.N)r   AddSubnetArgToParser)parsers    5lib/surface/vmware/private_clouds/subnets/describe.pyArgszDescribe.Args1   s     
v&    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSsubnetParser   Get)selfargsr   clients       r   RunzDescribe.Run6   s0    ]]!!'')F_F::f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   4googlecloudsdk.api_lib.vmware.private_clouds.subnetsr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r    ReleaseTracksReleaseTrackGADescribeCommandr   r#   r   r   <module>r,      sg    8 &  ' N ( 3	
	( D%%(()t##  *r   