
    N	                         S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r  SSKJ
r
   " S S	\R                  5      rg
)z>Command for getting the status of Compute Engine VPN Gateways.    )absolute_import)division)unicode_literals)base_classes)base)flagsc                   :    \ rS rSrSrSS0rSr\S 5       rS r	Sr
g)	Describe   a  Get status of a Compute Engine Highly Available VPN Gateway.

*{command}* is used to display high availability configuration status for the
Cloud VPN gateway, the command will show you the high availability
configuration status for VPN tunnels associated with each peer gateway
to which the Cloud VPN gateway is connected; the peer gateway could be either
a Cloud VPN gateway or an external VPN gateway.
EXAMPLESzi          To get status of a VPN gateway, run:

              $ {command} my-gateway --region=us-central1Nc                 |    [         R                  " 5       [        l        [        R                  R	                  U SS9  g )Ndescribe)operation_type)r   GetVpnGatewayArgumentr
   VPN_GATEWAY_ARGAddArgument)parsers    .lib/surface/compute/vpn_gateways/get_status.pyArgsDescribe.Args0   s,    $::<H((
(K    c                    [         R                  " U R                  5       5      nUR                  n[        R
                  R                  UUR                  [        R                  " U5      S9nUR                  R                  " S0 UR                  5       D6nUR                  UR                  R                  SU4/5      S   $ )N)scope_lister	GetStatusr    )r   ComputeApiHolderReleaseTrackclientr
   r   ResolveAsResource	resourcescompute_flagsGetDefaultScopeListermessages"ComputeVpnGatewaysGetStatusRequestAsDictMakeRequestsapitools_clientvpnGateways)selfargsholderr   gateway_refrequests         r   RunDescribe.Run5   s    **4+<+<+>?F]]F**<<"88@ = BK
 oo@@  



 G !7!7!C!C!,g!7  8 99:< <r   r   )__name__
__module____qualname____firstlineno____doc__detailed_helpr   staticmethodr   r.   __static_attributes__r   r   r   r
   r
      s8     =- /L L<r   r
   N)r4   
__future__r   r   r   googlecloudsdk.api_lib.computer   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer   r!   /googlecloudsdk.command_lib.compute.vpn_gatewaysDescribeCommandr
   r   r   r   <module>r>      s2     E &  ' 7 ( E A&<t## &<r   