- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- State
- OnPremDomainSIDDetails
- SIDFilteringState
- Try it!
Full name: projects.locations.global.domains.checkMigrationPermission
domains.checkMigrationPermission API gets the current state of DomainMigration
HTTP request
POST https://managedidentities.googleapis.com/v1beta1/{domain=projects/*/locations/global/domains/*}:checkMigrationPermission
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
domain |
Required. The domain resource name using the form: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
CheckMigrationPermissionResponse is the response message for domains.checkMigrationPermission method.
| JSON representation |
|---|
{ "state": enum ( |
| Fields | |
|---|---|
state |
The state of DomainMigration. |
onpremDomains[] |
The state of SID filtering of all the domains which has trust established. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
State
State of DomainMigration Permissions.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
DomainMigration is in unspecified state. |
DISABLED |
Domain Migration is Disabled. |
ENABLED |
Domain Migration is Enabled. |
NEEDS_MAINTENANCE |
Domain Migration is not in valid state. |
OnPremDomainSIDDetails
OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.
| JSON representation |
|---|
{
"name": string,
"sidFilteringState": enum ( |
| Fields | |
|---|---|
name |
FQDN of the on-prem domain being migrated. |
sidFilteringState |
Current SID filtering state. |
SIDFilteringState
State of SIDFiltering Permissions.
| Enums | |
|---|---|
SID_FILTERING_STATE_UNSPECIFIED |
SID Filtering is in unspecified state. |
ENABLED |
SID Filtering is Enabled. |
DISABLED |
SID Filtering is Disabled. |