
    	                         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
S.r\R                  " \R                  R                   5       " S S\R"                  5      5       rg)z1VMware Engine VPC network peering delete command.    )absolute_import)division)unicode_literals)networkpeering)base)flags)logz
          Delete a VPC network peering. After you delete a VPC network peering, you won't be able to access the corresponding VMware Engine network through the peer network.
        z
          To delete a VPC network peering with name `my-peering`, run:

            $ {command} my-peering

          In this example, the project is taken from gcloud properties core/project and location is taken as `global`.
    )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)Delete*   z8Delete a Google Cloud VMware Engine VPC network peering.c                     [         R                  " U SS9  [        R                  R	                  U 5        [        R                  R                  U S5        g)z Register flags for this command.T)
positionalN)r   AddNetworkPeeringToParserr   
ASYNC_FLAGAddToParser
SetDefault)parsers    -lib/surface/vmware/network_peerings/delete.pyArgsDelete.Args0   s:     
##Ft<OO'OOvt,    c                 z   UR                   R                  R                  5       n[        R                  " 5       nUR
                  nUR                  U5      nU(       a"  [        R                  " UR                  SSS9  U$ UR                  UR                  U5      SR                  UR                  5       5      SS9$ )NzVPC network peeringT)kindis_asyncz*waiting for vpc peering [{}] to be deletedF)operation_refmessage
has_result)CONCEPTSnetwork_peeringParser   NetworkPeeringClientasync_r   r	   DeletedResourcenameWaitForOperationGetOperationRefformatRelativeName)selfargspeeringclientr   	operations         r   Run
Delete.Run7   s    mm++113G002F{{Hg&I	
..4tE"",,Y7<CC  "$	 #  r    N)__name__
__module____qualname____firstlineno____doc__DETAILED_HELPdetailed_helpstaticmethodr   r0   __static_attributes__r2   r   r   r   r   *   s!    @-- -r   r   N)r7   
__future__r   r   r   googlecloudsdk.api_lib.vmwarer   googlecloudsdk.callioper   2googlecloudsdk.command_lib.vmware.network_peeringsr   googlecloudsdk.corer	   r8   ReleaseTracksReleaseTrackGADescribeCommandr   r2   r   r   <module>rE      sh    8 &  ' 8 ( D #		  D%%(()T!!  *r   