
    
                        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  \R                  " \R                  R                  5       " S S\R                   5      5       r\R                  " \R                  R$                  5       " S	 S
\5      5       r\R                  " \R                  R(                  5       " S S\5      5       rg)#Delete a Cloud NetApp Storage Pool.    )client)base)flags)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 Storage Pool
          a'            The following command deletes a Storage Pool named NAME in the given location

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

          To delete a Storage Pool asynchronously, run the following command:

              $ {command} NAME --location=us-central1 --async
          )DESCRIPTIONEXAMPLESc                 0    [         R                  " U 5        g )N)storagepools_flagsAddStoragePoolDeleteArgs)parsers    *lib/surface/netapp/storage_pools/delete.pyArgsDelete.Args.   s    //7    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                  S9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$ )r   z8You are about to delete a Storage Pool {}.
Are you sure?)messageN)release_trackz#gcloud {} netapp storage-pools listzFCheck the status of the deletion by listing all storage pools:
  $ {} )CONCEPTSstorage_poolParsequietformatRelativeNamer   PromptContinuestoragepools_clientStoragePoolsClient_RELEASE_TRACKDeleteStoragePoolasync_ReleaseTrackprefixr   statusPrint)selfargsstoragepool_refdelete_warningr   resultcommands          r   Run
Delete.Run2   s     mm00668O::((./K/K/M(N &&~> 33))+F%%o{{CF{{5<<




$
$&g	jj&/# Mr    N)__name__
__module____qualname____firstlineno____doc__r   r%   GAr"   detailed_helpstaticmethodr   r/   __static_attributes__r1   r   r   r
   r
      s@    +$$''.	- 8 8r   r
   c                   D    \ rS rSrSr\R                  R                  rSr	g)
DeleteBetaH   r   r1   N)
r2   r3   r4   r5   r6   r   r%   BETAr"   r:   r1   r   r   r<   r<   H   s    +$$)).r   r<   c                   D    \ rS rSrSr\R                  R                  rSr	g)DeleteAlphaO   r   r1   N)
r2   r3   r4   r5   r6   r   r%   ALPHAr"   r:   r1   r   r   r@   r@   O   s    +$$**.r   r@   N)r6   +googlecloudsdk.api_lib.netapp.storage_poolsr   r    googlecloudsdk.callioper   /googlecloudsdk.command_lib.netapp.storage_poolsr   r   googlecloudsdk.corer   googlecloudsdk.core.consoler   ReleaseTracksr%   r7   DeleteCommandr
   r>   r<   rB   r@   r1   r   r   <module>rJ      s    * V ( W # 2 D%%(()+T + *+\ D%%**+* * ,* D%%++,+* + -+r   