
    R                        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 ddlmZ e	j                    e	j"                  e	j$                  j&                         G d	 d
e	j(                                      Z e	j"                  e	j$                  j,                         G d de             Z e	j"                  e	j$                  j0                         G d de             Zy)+Describe a Cloud NetApp Volume Replication.    )absolute_import)division)unicode_literals)client)base)flags)concept_parsersc                   \    e Zd ZdZej
                  j                  ZdddZe	d        Z
d Zy)Describer   z@          Describe a Cloud NetApp Volume Replication.
          z          The following command describes a Replication named NAME in the given location and volume:

              $ {command} NAME --location=us-central1 --volume=vol1
          DESCRIPTIONEXAMPLESc                     t        j                  t        j                  d      g      j	                  |        t        j                  |        y NzThe Replication to describe.r
   ConceptParserr	   GetReplicationPresentationSpecAddToParserreplications_flagsAddReplicationVolumeArgparsers    3lib/surface/netapp/volumes/replications/describe.pyArgszDescribe.Args.   :    !!		-	-.L	MNk&..v6    c                     |j                   j                  j                         }t        j                  | j
                        }|j                  |      S z=Get a Cloud NetApp Volume Replication in the current project.)release_trackCONCEPTSreplicationParsereplications_clientReplicationsClient_RELEASE_TRACKGetReplicationselfargsreplication_refr   s       r   RunzDescribe.Run5   F    mm//557O 33))F   11r   N)__name__
__module____qualname____doc__r   ReleaseTrackGAr'   detailed_helpstaticmethodr   r-    r   r   r   r      sB     4$$''.		- 7 72r   r   c                   \    e Zd ZdZej
                  j                  ZdddZe	d        Z
d Zy)DescribeBetar   z?          Describe a Cloud NetApp Volume Replication
          z          The following command describes a Replication named NAME in the given location and volume

              $ {command} NAME --location=us-central1 --volume=vol1
          r   c                     t        j                  t        j                  d      g      j	                  |        t        j                  |        y r   r   r   s    r   r   zDescribeBeta.ArgsP   r   r   c                     |j                   j                  j                         }t        j                  | j
                        }|j                  |      S r   r!   r)   s       r   r-   zDescribeBeta.RunW   r.   r   N)r/   r0   r1   r2   r   r3   BETAr'   r5   r6   r   r-   r7   r   r   r9   r9   ?   s@    3$$)).		- 7 72r   r9   c                   <    e Zd ZdZej
                  j                  Zy)DescribeAlphar   N)r/   r0   r1   r2   r   r3   ALPHAr'   r7   r   r   r>   r>   a   s    3$$**.r   r>   N)r2   
__future__r   r   r   2googlecloudsdk.api_lib.netapp.volumes.replicationsr   r%   googlecloudsdk.callioper   !googlecloudsdk.command_lib.netappr	   6googlecloudsdk.command_lib.netapp.volumes.replicationsr   (googlecloudsdk.command_lib.util.conceptsr
   DefaultUniverseOnlyReleaseTracksr3   r4   DescribeCommandr   r<   r9   r?   r>   r7   r   r   <module>rI      s    2 &  ' \ ( 3 ^ D D%%(()2t## 2 * 2B D%%**+28 2 ,2B D%%++,+L + -+r   