All Products
Search
Document Center

Resource Management:GetControlPolicyEnablementStatus

Last Updated:Jun 25, 2024

Queries the status of the Control Policy feature.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

EnablementStatusstring

The status of the Control Policy feature. Valid values:

  • Enabled: The feature is enabled.
  • PendingEnable: The feature is being enabled.
  • Disabled: The feature is disabled.
  • PendingDisable: The feature is being disabled.
Disabled
RequestIdstring

The ID of the request.

1DC39A4E-3B52-4EFE-9F93-4897D7FFA0C4

Examples

Sample success responses

JSONformat

{
  "EnablementStatus": "Disabled",
  "RequestId": "1DC39A4E-3B52-4EFE-9F93-4897D7FFA0C4"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history