
                             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 network-policies describe' command.    )absolute_import)division)unicode_literals)NetworkPoliciesClient)base)flagsz<
          Describe a VMware Engine network policy.
        a  
          To get a description of a network policy called `my-network-policy` in project `my-project` and region `us-west2`, run:

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

          Or:

            $ {command} my-network-policy

          In the second example, the project and the location are taken from gcloud properties core/project and compute/region respectively.
    )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez(Describe a VMware Engine network policy.c                 2    t        j                  | d       y)z Register flags for this command.T)
positionalN)r   AddNetworkPolicyToParser)parsers    /lib/surface/vmware/network_policies/describe.pyArgszDescribe.Args2   s     
""6d;    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSnetwork_policyParser   Get)selfargsr   clients       r   RunzDescribe.Run7   s1    ]]11779N"$F::n%%r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   -   s!    0-< <&r   r   N)r    
__future__r   r   r   -googlecloudsdk.api_lib.vmware.networkpoliciesr   googlecloudsdk.callioper   2googlecloudsdk.command_lib.vmware.network_policiesr   r!   ReleaseTracksReleaseTrackGADescribeCommandr   r$   r   r   <module>r-      sg    2 &  ' O ( D	
	( D%%(()&t## & *&r   