
    ~
                         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)z,'vmware private-connections delete' command.    )absolute_import)division)unicode_literals)PrivateConnectionsClient)base)flags)logz
          Delete a Private Connection. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.
        a  
          To delete a Private Connection resource called `my-private-connection` in project `my-project` and region `us-west1`, run:

            $ {command} my-private-connection --location=us-west1 --project=my-project

          Or:

            $ {command} my-private-connection

          In the second example, the project and the location is taken from gcloud properties core/project and compute/region, respectively.
    )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)Describe.   z)Delete a Google Cloud Private Connection.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   AddPrivateConnectionToParserr   
ASYNC_FLAGAddToParser
SetDefault)parsers    0lib/surface/vmware/private_connections/delete.pyArgsDescribe.Args4   s:     
&&v$?OO'OOvt,    c                 d   UR                   R                  R                  5       n[        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Private ConnectionT)kindis_asyncz1waiting for private connection [{}] to be deletedF)operation_refmessage
has_result)CONCEPTSprivate_connectionParser   async_Deleter	   DeletedResourcenameWaitForOperationGetOperationRefformatRelativeName)selfargsr!   clientr   	operations         r   RunDescribe.Run;   s    99??A%'F{{H01I	
..3dD"",,Y7CJJ++-/	 #  r    N)__name__
__module____qualname____firstlineno____doc__DETAILED_HELPdetailed_helpstaticmethodr   r/   __static_attributes__r1   r   r   r   r   .   s!    1-- -r   r   N)r6   
__future__r   r   r   0googlecloudsdk.api_lib.vmware.privateconnectionsr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   googlecloudsdk.corer	   r7   ReleaseTracksReleaseTrackGADescribeCommandr   r1   r   r   <module>rD      sh    3 &  ' U ( 3 #	
	( D%%(()t##  *r   