
    
                         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                   R"                  5       " S S\R$                  5      5       5       rg)z''vmware logging-server delete' command.    )absolute_import)division)unicode_literals)IdentitySourcesClient)base)flags)logz3
        Delete an identity source resource.
      a  
        To delete an identity source called `my-is` from a private cloud `my-pc` located in
        a project `my-project` and zone `us-west1-a`, run:

          $ {command} my-is --private-cloud=my-pc --project=my-project --location=us-west1-a

        Or:

          $ {command} my-is --private-cloud=my-pc

        In the second example, the project and location are taken from gcloud properties `core/project` and
        `compute/zone` respectively.
  )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)Delete.   z4Delete a Google Cloud VMware Engine identity source.c                     [         R                  " U 5        [        R                  R	                  U 5        [        R                  R                  U S5        g)z Register flags for this command.TN)r   AddIdentitySourceArgToParserr   
ASYNC_FLAGAddToParser
SetDefault)parsers    <lib/surface/vmware/private_clouds/identity_sources/delete.pyArgsDelete.Args5   s8     
&&v.OO'OOvt,    c                    UR                   R                  R                  5       n[        5       nUR	                  U5      nUR
                  (       a"  [        R                  " UR                  SSS9  U$ UR                  UR                  U5      SR                  UR                  5       5      SS9  [        R                  " UR                  5       SS9  g )Nzidentity sourceT)kindis_asyncz.waiting for identity source [{}] to be deletedF)operation_refmessage
has_result)r   )CONCEPTSidentity_sourceParser   r   async_r	   DeletedResourcenameWaitForOperationGetOperationRefformatRelativeName)selfargsr    client	operations        r   Run
Delete.Run<   s    mm3399;O"$Fo.I{{	)../@4P
,,Y7@GG((*
    446=NOr    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r-   __static_attributes__r/   r   r   r   r   .   s$     = -- -Pr   r   N)r4   
__future__r   r   r   -googlecloudsdk.api_lib.vmware.identitysourcesr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   googlecloudsdk.corer	   r5   HiddenReleaseTracksReleaseTrackGADeleteCommandr   r/   r   r   <module>rC      sw    . &  ' O ( 3 #
	( D%%(()PT P * Pr   