
    \                        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  \	R"                  " \	R$                  R&                  5       " S
 S\	R(                  5      5       r\	R"                  " \	R$                  R,                  5       " S S\5      5       r\	R"                  " \	R$                  R0                  5       " S S\5      5       rg)#Delete a Cloud NetApp Storage Pool.    )absolute_import)division)unicode_literals)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.Args1   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.Run5   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   r2   __static_attributes__r4   r   r   r   r      s@    +$$''.	- 8 8r   r   c                   D    \ rS rSrSr\R                  R                  rSr	g)
DeleteBetaK   r   r4   N)
r5   r6   r7   r8   r9   r   r(   BETAr%   r=   r4   r   r   r?   r?   K   s    +$$)).r   r?   c                   D    \ rS rSrSr\R                  R                  rSr	g)DeleteAlphaR   r   r4   N)
r5   r6   r7   r8   r9   r   r(   ALPHAr%   r=   r4   r   r   rC   rC   R   s    +$$**.r   rC   N)r9   
__future__r   r   r   +googlecloudsdk.api_lib.netapp.storage_poolsr   r#   googlecloudsdk.callioper   /googlecloudsdk.command_lib.netapp.storage_poolsr	   r   googlecloudsdk.corer
   googlecloudsdk.core.consoler   ReleaseTracksr(   r:   DeleteCommandr   rA   r?   rE   rC   r4   r   r   <module>rN      s    * &  ' U ( W # 2 D%%(()+T + *+\ D%%**+* * ,* D%%++,+* + -+r   