
    	                         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 removenodes' command.    )absolute_import)division)unicode_literals)ClustersClient)base)flagsa%  
          Remove a node from the VMware Engine cluster. Successful removal
          of a node results in a cluster in READY state. Check the progress
          of a cluster using `gcloud alpha vmware clusters list`.

          For more examples, refer to the EXAMPLES section below.
        aq  
          To remove a node from the cluster called ``my-cluster'', run:

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

          Or:

            $ {command} my-cluster

          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)RemoveNodes2   z@Remove a node from the cluster in a VMware Engine private cloud.c                 0    [         R                  " U 5        g)z Register flags for this command.N)r   AddClusterArgToParser)parsers    /lib/surface/vmware/sddc/clusters/removenodes.pyArgsRemoveNodes.Args6   s     
'    c                     UR                   R                  R                  5       n[        5       nUR	                  US5      nUR                  USR                  U5      5      $ )N   z4waiting for node to be removed from the cluster [{}])CONCEPTSclusterParser   r   WaitForOperationformat)selfargsr   client	operations        r   RunRemoveNodes.Run;   sZ    mm##))+GF""7A.I"">EEgNP Pr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r    __static_attributes__r"   r   r   r   r   2   s    H( (Pr   r   N)r'   
__future__r   r   r   +googlecloudsdk.api_lib.vmware.sddc.clustersr   googlecloudsdk.callioper   &googlecloudsdk.command_lib.vmware.sddcr   DETAILED_HELPReleaseTracksReleaseTrackALPHAUpdateCommandr   detailed_helpr"   r   r   <module>r4      sr    2 &  ' F ( 8		2 D%%++,P$$$ P -P" * r   