- release_tracks: [GA, BETA, ALPHA]

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

      Displays all metadata associated with a Active Directory domain given a
      valid AD domain fully-qualified domain name.

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

        $ {command} my-domain.com

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

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