
    5                         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Zd	Z ej                  ej                  j                  ej                  j                          G d
 dej"                               Zy)zQCommand to get the diagnostics of a Distributed Cloud Edge Network interconnect.
    )absolute_import)division)unicode_literals)interconnects)base)resource_argszOGet the diagnostics of a specified Distributed Cloud Edge Network interconnect.z    To get the diagnostics of the Distributed Cloud Edge Network interconnect
    'my-interconnect' in edge zone 'us-central1-edge-den1' , run:

        $ {command} my-interconnect --location=us-central1 --zone=us-central1-edge-den1

   c                   0    e Zd ZdZeedZed        Zd Z	y)	GetStatuszGet the diagnostics of a specified Distributed Cloud Edge Network interconnect.

  *{command}* is used to get the diagnostics of a Distributed Cloud Edge Network
  interconnect.
  )DESCRIPTIONEXAMPLESc                 2    t        j                  | dd       y )Nzto get diagnosticsT)r   AddInterconnectResourceArg)parsers    Blib/surface/edge_cloud/networking/interconnects/get_diagnostics.pyArgszGetStatus.Args0   s    ,,V5I4P    c                     t        j                  | j                               }|j                  j                  j                         }|j                  |      S )N)r   InterconnectsClientReleaseTrackCONCEPTSinterconnectParser
   )selfargsinterconnects_clientinterconnect_refs       r   RunzGetStatus.Run4   sJ    (<<}}11779))*:;;r   N)
__name__
__module____qualname____doc__r   r   detailed_helpstaticmethodr   r    r   r   r
   r
   &   s,     #.8D-Q Q<r   r
   N)r!   
__future__r   r   r   :googlecloudsdk.api_lib.edge_cloud.networking.interconnectsr   googlecloudsdk.callioper   0googlecloudsdk.command_lib.edge_cloud.networkingr   r   r   ReleaseTracksr   ALPHAGACommandr
   r$   r   r   <module>r-      sv    '  ' T ( J  D%%++T->->-A-AB< < C<r   