
    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	  SSK
Jr  \R                  " \R                  R                  5       " S	 S
\R                  5      5       rg)zExport lock info command.    )absolute_import)division)unicode_literals)base)deploy_util)resource_args)concept_parsersc                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	
ExportLock   zTExports lock info of a deployment.

This command exports lock info of a deployment.
EXAMPLESz
        Export lock info for deployment `projects/p1/locations/us-central1/deployments/my-deployment`:

          $ {command} projects/p1/locations/us-central1/deployments/my-deployment

      c                 x    [         R                  " [        R                  " S5      /5      R	                  U 5        g )Nz$the deployment to be used as parent.)r	   ConceptParserr   GetDeploymentResourceArgSpecAddToParser)parsers    4lib/surface/infra_manager/deployments/export_lock.pyArgsExportLock.Args)   s2    !!666	
 k&    c                     UR                   R                  R                  5       nUR                  5       n[        R
                  " U5      $ )zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  A lock info response.
)CONCEPTS
deploymentParseRelativeNamer   r   )selfargsdeployment_refdeployment_full_names       r   RunExportLock.Run3   sA     ]]--335N)668!! r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r    __static_attributes__r"   r   r   r   r      s1    
   
 -  r   r   N)r'   
__future__r   r   r   googlecloudsdk.callioper   (googlecloudsdk.command_lib.infra_managerr   r   (googlecloudsdk.command_lib.util.conceptsr	   ReleaseTracksReleaseTrackGACommandr   r"   r   r   <module>r3      sU      &  ' ( @ B D D%%(()' ' *'r   