- release_tracks: [GA, BETA, ALPHA]

  help_text:
    brief: |
      Describe a Managed Microsoft Active Directory domain peering.
    description: |
      Show metadata for a Managed Microsoft AD domain peering.

      Displays all metadata associated with a Active Directory domain peering given a
      valid domain peering name.

      This command can fail for the following reasons:
        * The specified domain peering does not exist.
        * The active account does not have permission to access the given
          domain.
    examples: |
      The following command gets metadata for an AD domain peering with the name
      ``my-peering''.

        $ {command} my-peering

  request: &request
    collection: managedidentities.projects.locations.global.peerings
    ALPHA:
      api_version: v1alpha1
    BETA:
      api_version: v1beta1
    GA:
      api_version: v1

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.active_directory.resources:peering
      help_text: |
        Name of the Managed Microsoft AD domain peering you want to describe.
