
                             S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SSKJ	r	  SSK
Jr  S	S
S.r " S S\	R                  5      r\\l        g)z$Delete endpoint association command.    )absolute_import)division)unicode_literalsN)association_api)base)association_flagsa  
          Unassociate the specified network from a firewall endpoint. Check the
          progress of association deletion by using
          `gcloud network-security firewall-endpoint-associations list`.

          For more examples, refer to the EXAMPLES section below.
        a  
          To unassociate a network from a firewall, run:

            $ {command} my-assoc --zone=us-central1-a --project=my-project
            OR
            $ {command} projects/my-project/locations/us-central1-a/firewallEndpointAssociations/my-association
        )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Delete,   z,Delete a Firewall Plus endpoint association.c                     [         R                  " U R                  5       U5        [         R                  " US5        [        R
                  R                  U5        [        R
                  R                  US5        g )N60mT)r   AddAssociationResourceReleaseTrack
AddMaxWaitr   
ASYNC_FLAGAddToParser
SetDefault)clsparsers     Elib/surface/network_security/firewall_endpoint_associations/delete.pyArgsDelete.Args/   sQ    ,,S-=-=-?H  /OO'OOvt,    c                    [         R                  " U R                  5       5      nUR                  R                  R                  5       nUR                  n[        R                  " UR                  S9nUR                  UR                  5       S9nU(       a  UR                  S5      (       d  SUl        U$ UR                  UR                  U5      SR                  UR                  5       5      SUS9$ )N)seconds)nameformatdefaultz<waiting for firewall endpoint association [{}] to be deletedF)operation_refmessage
has_resultmax_wait)r   Clientr   CONCEPTSfirewall_endpoint_associationParseasync_datetime	timedeltar$   DeleteAssociationRelativeNameIsSpecifiedr   WaitForOperationGetOperationRef)selfargsclientassociationis_asyncr$   	operations          r   Run
Delete.Run6   s    ##D$5$5$78F--==CCEK{{H!!$--8H((%%' ) I  h''"",,Y7JVK,,./ #  r    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r7   __static_attributes__r9   r   r   r   r   ,   s    4- -r   r   )r>   
__future__r   r   r   r*   Fgooglecloudsdk.api_lib.network_security.firewall_endpoint_associationsr   googlecloudsdk.callioper   +googlecloudsdk.command_lib.network_securityr   DETAILED_HELPDeleteCommandr   detailed_helpr9   r   r   <module>rH      sM    + &  '  b ( I$$T $N % r   