- release_tracks: [GA, BETA, ALPHA]

  help_text:
    brief: |
      Delete a managed Microsoft Active Directory domain.
    description: |
      Delete a managed Microsoft Active Directory (AD) domain with
      the given fully-qualified domain name.

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

        $ {command} my-domain.com

  async:
    collection: managedidentities.projects.locations.global.operations

  request: &request
    api_version: v1
    collection: managedidentities.projects.locations.global.domains

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