
    X                        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KJr  SS	KJr  SS
KJr  \	R(                  \	R*                  " \	R,                  R.                  5       " S S\	R0                  5      5       5       r\	R*                  " \	R,                  R4                  5       " S S\5      5       r\	R*                  " \	R,                  R8                  5       " S S\5      5       rg))Delete a Cloud NetApp Volume Replication.    )absolute_import)division)unicode_literals)client)base)flags)concept_parsers)log)
console_ioc                   d    \ rS rSrSr\R                  R                  rSSS.r	\
S 5       rS rSrg	)
Delete   r   z>          Delete a Cloud NetApp Volume Replication.
          aT            The following command deletes a Replication named NAME using the required arguments:

              $ {command} NAME --location=us-central1 --volume=vol1

          To delete a Replication named NAME asynchronously, run the following command:

              $ {command} NAME --location=us-central1 --volume=vol1 --async
          )DESCRIPTIONEXAMPLESc                     [         R                  " [        R                  " S5      /5      R	                  U 5        [
        R                  " U 5        [        R                  " U 5        g)z$Add args for deleting a Replication.zThe Replication to delete.N)r
   ConceptParserr	   GetReplicationPresentationSpecAddToParserreplications_flagsAddReplicationVolumeArgAddResourceAsyncFlag)parsers    1lib/surface/netapp/volumes/replications/delete.pyArgsDelete.Args5   sL     !!,,-IJ# {6..v6	v&    c                 (   UR                   R                  R                  5       nUR                  (       d9  SR	                  UR                  5       5      n[        R                  " US9(       d  g[        R                  " U R                  5      nUR                  X!R                  5      nUR                  (       aW  SR	                  U R                  5       R                  5      n[        R                   R#                  SR	                  U5      5        U$ )z@Delete a Cloud NetApp Volume Replication in the current project.z7You are about to delete a Replication {}.
Are you sure?)messageNz*gcloud {} netapp volumes replications listzECheck the status of the deletion by listing all replications:
  $ {} )CONCEPTSreplicationParsequietformatRelativeNamer   PromptContinuereplications_clientReplicationsClient_RELEASE_TRACKDeleteReplicationasync_ReleaseTrackprefixr   statusPrint)selfargsreplication_refdelete_warningr   resultcommands          r   Run
Delete.Run>   s    mm//557O::
D
K
K**, 
 &&~> 33D4G4GHF%%o{{CF{{<CC




$
$g 
jj&/ Mr    N)__name__
__module____qualname____firstlineno____doc__r   r,   GAr)   detailed_helpstaticmethodr   r6   __static_attributes__r8   r   r   r   r      sB     2$$''.	- ' 'r   r   c                   D    \ rS rSrSr\R                  R                  rSr	g)
DeleteBetaX   r   r8   N)
r9   r:   r;   r<   r=   r   r,   BETAr)   rA   r8   r   r   rC   rC   X   s    1$$)).r   rC   c                   D    \ rS rSrSr\R                  R                  rSr	g)DeleteAlpha_   z#Delete a Cloud NetApp Storage Pool.r8   N)
r9   r:   r;   r<   r=   r   r,   ALPHAr)   rA   r8   r   r   rG   rG   _   s    +$$**.r   rG   N)r=   
__future__r   r   r   2googlecloudsdk.api_lib.netapp.volumes.replicationsr   r'   googlecloudsdk.callioper   !googlecloudsdk.command_lib.netappr	   6googlecloudsdk.command_lib.netapp.volumes.replicationsr   (googlecloudsdk.command_lib.util.conceptsr
   googlecloudsdk.corer   googlecloudsdk.core.consoler   DefaultUniverseOnlyReleaseTracksr,   r>   DeleteCommandr   rE   rC   rI   rG   r8   r   r   <module>rU      s    0 &  ' \ ( 3 ^ D # 2 D%%(()4T 4 * 4n D%%**+* * ,* D%%++,+* + -+r   