
                             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	S
.r\R                  " \R                  R                  5       " S S\R                  5      5       r\\l        g)z&'vmware sddc clusters delete' command.    )absolute_import)division)unicode_literals)IPAddressesClient)base)flagszP
          Delete external ip address in a VMware Engine private cloud.
        a  
          To delete external ip called ``first-ip'' in private cloud
          ``my-privatecloud'' and region ``us-central1'', run:

            $ {command} first-ip --privatecloud=my-privatecloud --region=us-central1 --project=my-project

          Or:

            $ {command} first-ip --privatecloud=my-privatecloud

          In the second example, the project and region are taken from gcloud properties core/project and vmware/region.
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Delete.   z<Delete external ip address in a VMware Engine private cloud.c                 0    [         R                  " U 5        g)z Register flags for this command.N)r   AddIPArgToParser)parsers    -lib/surface/vmware/sddc/ipaddresses/delete.pyArgsDelete.Args2   s     
6"    c                     UR                   R                  R                  5       n[        5       nUR	                  U5      nUR                  X"SS9nUR                  USR                  U5      SS9$ )NT)resource_pathencoded_cluster_groups_idz2waiting for external ip address [{}] to be deleted)	is_delete)CONCEPTSnameParser   r   GetResourcePathWaitForOperationformat)selfargsresourceclient	operationr   s         r   Run
Delete.Run7   sz    }}!!'')H Fh'I**D + JM""GNN&* # , ,r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   __static_attributes__r&   r   r   r   r   .   s    D# #,r   r   N)r+   
__future__r   r   r   .googlecloudsdk.api_lib.vmware.sddc.ipaddressesr   googlecloudsdk.callioper   &googlecloudsdk.command_lib.vmware.sddcr   DETAILED_HELPReleaseTracksReleaseTrackALPHADeleteCommandr   detailed_helpr&   r   r   <module>r8      so    - &  ' L ( 8		* D%%++,,T , -,& % r   