
    t                        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 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                   .    e Zd ZdZdeiZed        Zd Zy)DescribezDescribe an Attached cluster.EXAMPLESc                 0    t        j                  | d       y)z!Registers flags for this command.zto describeN)r   AddAttachedClusterResourceArg)parsers    3lib/surface/container/attached/clusters/describe.pyArgszDescribe.Args(   s     //F    c                 
   t        j                  |      j                  }t        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   ParseAttachedClusterResourceArglocationsIdr	   GkemulticloudEndpointOverrideapi_utilClustersClientGet)selfargslocationcluster_refcluster_clients        r   RunzDescribe.Run-   s^    <<TBNNH		4	4X	>!AA$Gk..0n, 
?	>	>s   :A99BN)	__name__
__module____qualname____doc__	_EXAMPLESdetailed_helpstaticmethodr   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>r2      so    / &  ' O ( G L	 D%%++T->->-A-AB-t## - C-r   