
    9	                     4   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  \	R                  " \	R                  R                  5       " S S	\	R                   5      5       r\	R                  " \	R                  R$                  5       " S
 S\5      5       rg)z8Encrypt volumes under a Cloud NetApp Volumes KMS Config.    )absolute_import)division)unicode_literals)client)base)flagsc                   d    \ rS rSrSrSSS.r\R                  R                  r	\
S 5       rS rSrg	)
Encrypt   sEncrypt all existing volumes and storage pools in the same region with the desired Cloud NetApp Volumes KMS Config.z          Encrypt the existing volumes with the desired KMS (Key Management System) Config using Customer Managed Encryption Keys (CMEK).
          z          The following command encrypts the existing volumes with the desired KMS Config instance named KMS_CONFIG using specified project and location.

              $ {command} KMS_CONFIG --location=us-central1
          )DESCRIPTIONEXAMPLESc                 0    [         R                  " U 5        g )N)kmsconfigs_flagsAddKMSConfigEncryptArgs)parsers    )lib/surface/netapp/kms_configs/encrypt.pyArgsEncrypt.Args+   s    ,,V4    c                     UR                   R                  R                  5       n[        R                  " U R
                  5      nUR                  X!R                  5      $ )znEncrypt all existing volumes and storage pools under a Cloud NetApp Volumes KMS Config in the current project.)CONCEPTS
kms_configParsekmsconfigs_clientKmsConfigsClient_RELEASE_TRACKEncryptKmsConfigasync_)selfargskmsconfig_refr   s       r   RunEncrypt.Run/   sE    MM,,224M//0C0CDF""=++>>r    N)__name__
__module____qualname____firstlineno____doc__detailed_helpr   ReleaseTrackGAr   staticmethodr   r#   __static_attributes__r%   r   r   r
   r
      s@    {		- $$''.5 5?r   r
   c                   D    \ rS rSrSr\R                  R                  rSr	g)EncryptBeta6   r   r%   N)
r&   r'   r(   r)   r*   r   r,   BETAr   r/   r%   r   r   r1   r1   6   s    {$$)).r   r1   N)r*   
__future__r   r   r   )googlecloudsdk.api_lib.netapp.kms_configsr   r   googlecloudsdk.callioper   -googlecloudsdk.command_lib.netapp.kms_configsr   r   ReleaseTracksr,   r-   Commandr
   r3   r1   r%   r   r   <module>r:      s    ? &  ' Q ( S D%%(()?dll ? *?6 D%%**+*' * ,*r   