
    	                     J   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  \	R                  \	R                   " \	R"                  R$                  \	R"                  R&                  \	R"                  R(                  5       " S	 S
\	R*                  5      5       5       rg)6Switch a Regional Cloud NetApp Flex Storage Pool zone.    )absolute_import)division)unicode_literals)client)base)flags)logc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Switch   r   zK          Switch a Regional Cloud NetApp Flex Storage Pool zone.
          aK            The following command switches zone of a Storage Pool named NAME using the required arguments:

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

          To switch zone of a Storage Pool named NAME asynchronously, run the following command:

              $ {command} NAME --location=us-central1 --async
          )DESCRIPTIONEXAMPLESc                 0    [         R                  " U 5        g )N)storagepools_flagsAddStoragePoolSwitchArg)parsers    *lib/surface/netapp/storage_pools/switch.pyArgsSwitch.Args1   s    ..v6    c                    UR                   R                  R                  5       n[        R                  " U R                  5       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$ )zMSwitch a Regional Cloud NetApp Flex Storage Pool zone in the current project.z#gcloud {} netapp storage-pools listzYCheck the status of the zone switch of storage pool by listing all storage pools:
  $ {} )CONCEPTSstorage_poolParsestoragepools_clientStoragePoolsClientReleaseTrackSwitchStoragePoolasync_formatprefixr
   statusPrint)selfargsstoragepool_refr   resultcommands         r   Run
Switch.Run5   s    mm00668O 33D4E4E4GHF%%o{{CF{{5<<




$
$g 
jj%%+VG_ Mr    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r*   __static_attributes__r,   r   r   r   r      s1    
 ?	- 7 7r   r   N)r1   
__future__r   r   r   +googlecloudsdk.api_lib.netapp.storage_poolsr   r   googlecloudsdk.callioper   /googlecloudsdk.command_lib.netapp.storage_poolsr	   r   googlecloudsdk.corer
   UniverseCompatibleReleaseTracksr   BETAALPHAGACommandr   r,   r   r   <module>r@      s    = &  ' U ( W # D--33T5F5F5I5I$T\\ $ $r   