
    C                        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	Z e	j                  e	j                   j"                  e	j                   j$                         G d
 de	j&                               Zy)z!Command to describe an operation.    )absolute_import)division)unicode_literals)
operations)base)resource_args)endpoint_utilzg
To describe an operation in location ``us-west1'', run:

$ {command} OPERATION_ID --location=us-west1
c                   .    e Zd ZdZdeiZed        Zd Zy)DescribezDescribe an operation.EXAMPLESc                 0    t        j                  | d       y)z!Registers flags for this command.zto describeN)r   AddOperationResourceArg)parsers    2lib/surface/container/azure/operations/describe.pyArgszDescribe.Args'   s     ))&-@    c                 $   t        j                  t        j                  |      j                  | j                               5  t        j                         }t        j                  |      }|j                  |      cddd       S # 1 sw Y   yxY w)zRuns the describe command.N)	r	   GkemulticloudEndpointOverrider   ParseOperationResourceArglocationsIdReleaseTrackop_api_utilOperationsClientGet)selfargs	op_clientop_refs       r   RunzDescribe.Run,   sl    		4	4//5AA
 ..0i66t<f]]6"
 
 
s   :BBN)	__name__
__module____qualname____doc__	_EXAMPLESdetailed_helpstaticmethodr   r    r   r   r   r   !   s(    y)-A A#r   r   N)r#   
__future__r   r   r   .googlecloudsdk.api_lib.container.gkemulticloudr   r   googlecloudsdk.callioper   *googlecloudsdk.command_lib.container.azurer   2googlecloudsdk.command_lib.container.gkemulticloudr	   r$   ReleaseTracksr   ALPHAGADescribeCommandr   r'   r   r   <module>r1      so    ( &  ' T ( D L	 D%%++T->->-A-AB#t## # C#r   