File: //snap/google-cloud-cli/394/lib/surface/active_directory/domains/migration/check_permissions.yaml
- release_tracks: [ALPHA, BETA]
help_text:
brief: |
Check existing permissions on a Managed Microsoft AD domain for domain migration.
description: |
Check existing permissions on a Managed Microsoft AD domain for domain migration.
This command can fail for the following reasons:
* The specified domain doesn't exist.
* The specified domain is either being created or updated.
* The active account doesn't have permission to check migration permissions on the specified domain.
examples: |
The following command checks migration permissions on the domain
`my-domain.com` in project `my-project`.
$ {command} my-domain.com --project=my-project
request:
collection: managedidentities.projects.locations.global.domains
method: checkMigrationPermission
ALPHA:
api_version: v1alpha1
BETA:
api_version: v1beta1
arguments:
resource:
help_text: |
Name of the Managed Microsoft AD domain for which you want to check migration permissions.
spec: !REF googlecloudsdk.command_lib.active_directory.resources:domain