
                         @   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZ  e	j                  e	j                  j                          G d	 d
e	j"                               Z e	j                  e	j                  j&                         G d de             Zy)z6Verifies Cloud NetApp Volumes KMS Config reachability.    )absolute_import)division)unicode_literals)client)base)flags)concept_parsersc                   \    e Zd ZdZdddZej                  j                  Ze	d        Z
d Zy)Verify=Verify that the Cloud NetApp Volumes KMS Config is reachable.zl          Verifies that the Cloud NetApp Volumes KMS (Key Management System) Config is reachable.
          z          The following command verifies that the KMS Config instance named KMS_CONFIG is reachable using specified location.

              $ {command} KMS_CONFIG --location=us-central1
          )DESCRIPTIONEXAMPLESc                 t    t        j                  t        j                  d      g      j	                  |        y )NzThe KMS Config used to verify)r	   ConceptParserr   GetKmsConfigPresentationSpecAddToParser)parsers    (lib/surface/netapp/kms_configs/verify.pyArgszVerify.Args,   s,    !!		+	+,K	LMk&    c                     |j                   j                  j                         }t        j                  | j
                        }|j                  |      S )r   )CONCEPTS
kms_configParsekmsconfigs_clientKmsConfigsClient_RELEASE_TRACKVerifyKmsConfig)selfargskmsconfig_refr   s       r   Runz
Verify.Run2   sA    MM,,224M//0C0CDF!!-00r   N)__name__
__module____qualname____doc__detailed_helpr   ReleaseTrackGAr   staticmethodr   r"    r   r   r   r      s@    E		- $$''. 
1r   r   c                   <    e Zd ZdZej
                  j                  Zy)
VerifyBetar   N)r#   r$   r%   r&   r   r(   BETAr   r+   r   r   r-   r-   9   s    E$$)).r   r-   N)r&   
__future__r   r   r   )googlecloudsdk.api_lib.netapp.kms_configsr   r   googlecloudsdk.callioper   !googlecloudsdk.command_lib.netappr   (googlecloudsdk.command_lib.util.conceptsr	   ReleaseTracksr(   r)   Commandr   r.   r-   r+   r   r   <module>r6      s    = &  ' Q ( 3 D D%%(()1T\\ 1 *1: D%%**+* * ,*r   