
    t                        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  S	r\	R                  " \	R                   R"                  \	R                   R$                  5       " S
 S\	R&                  5      5       rg)z(Command to describe an Attached cluster.    )absolute_import)division)unicode_literals)attached)base)resource_args)endpoint_utilz
To describe a cluster named ``my-cluster'' managed in location ``us-west1'',
run:

$ {command} my-cluster --location=us-west1
c                   6    \ rS rSrSrS\0r\S 5       rS r	Sr
g)Describe"   zDescribe an Attached cluster.EXAMPLESc                 2    [         R                  " U S5        g)z!Registers flags for this command.zto describeN)r   AddAttachedClusterResourceArg)parsers    3lib/surface/container/attached/clusters/describe.pyArgsDescribe.Args(   s     //F    c                    [         R                  " U5      R                  n[        R                  " U5         [         R                  " U5      n[
        R                  " 5       nUR                  U5      sSSS5        $ ! , (       d  f       g= f)zRuns the describe command.N)r   ParseAttachedClusterResourceArglocationsIdr	   GkemulticloudEndpointOverrideapi_utilClustersClientGet)selfargslocationcluster_refcluster_clients        r   RunDescribe.Run-   s^    <<TBNNH		4	4X	>!AA$Gk..0n, 
?	>	>s   <A==
B N)__name__
__module____qualname____firstlineno____doc__	_EXAMPLESdetailed_helpstaticmethodr   r!   __static_attributes__r#   r   r   r   r   "   s(    %y)-G G-r   r   N)r(   
__future__r   r   r   .googlecloudsdk.api_lib.container.gkemulticloudr   r   googlecloudsdk.callioper   -googlecloudsdk.command_lib.container.attachedr   2googlecloudsdk.command_lib.container.gkemulticloudr	   r)   ReleaseTracksReleaseTrackALPHAGADescribeCommandr   r#   r   r   <module>r7      sm    / &  ' O ( G L	 D%%++T->->-A-AB-t## - C-r   