release_tracks: [ALPHA, GA]

help_text:
  brief: Show details about a Distributed Cloud Edge Network interconnect attachment.
  description: |
    Show details about a Distributed Cloud Edge Network interconnect attachment.
  examples: |
    To show details about an interconnect attachment called 'my-attachment' in edge zone 'us-central1-edge-den1', run:

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

request:
  collection: edgenetwork.projects.locations.zones.interconnectAttachments
  ALPHA:
    api_version: v1alpha1
  GA:
    api_version: v1

arguments:
  resource:
    help_text: The interconnect attachment you want to describe.
    # The following should point to the resource argument definition under your
    # surface's command_lib directory.:
    spec: !REF googlecloudsdk.command_lib.edge_cloud.networking.resources:attachment

output:
  GA:
    format: |
      yaml(
        createTime,
        description,
        interconnect,
        labels,
        mtu,
        name,
        network,
        router,
        state,
        updateTime,
        vlanId
      )
