
    Y	                         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 networks describe' command.    )absolute_import)division)unicode_literals)NetworksClient)base)flagsz5
          Describe a VMware Engine network.
        a]  
          To get a description of a network called `my-network` of type `STANDARD` in project `my-project` and region `global`, run:

            $ {command} my-network --location=global --project=my-project

          Or:

            $ {command} my-network

          In the second example, the project is taken from gcloud properties core/project and the location is taken as `global`.

          To get a description of a network called `my-network` of type `LEGACY` in project `my-project` and region `us-west2`, run:

            $ {command} my-network --location=us-west2 --project=my-project

          Or:

            $ {command} my-network --location=us-west2

          In the last example, the project is taken from gcloud properties core/project. For VMware Engine networks of type `LEGACY`, you must always specify a region as the location.
    )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez.Describe a Google Cloud VMware Engine network.c                 2    t        j                  | d       y)z Register flags for this command.T)
positionalN)r   AddNetworkToParser)parsers    'lib/surface/vmware/networks/describe.pyArgszDescribe.Args=   s     
V5    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSvmware_engine_networkParser   Get)selfargsnetworkclients       r   RunzDescribe.RunB   s1    mm11779GF::gr   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   7   s!    6-6 6r   r   N)r!   
__future__r   r   r   &googlecloudsdk.api_lib.vmware.networksr   googlecloudsdk.callioper   *googlecloudsdk.command_lib.vmware.networksr   r"   ReleaseTracksReleaseTrackGADescribeCommandr   r%   r   r   <module>r.      sg    * &  ' A ( <		< D%%(()t##  *r   