Queries the status of the Control Policy feature.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetControlPolicyEnablementStatus |
The operation that you want to perform. Set the value to GetControlPolicyEnablementStatus. |
For more information about common request parameters, see Common parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
EnablementStatus | String | Disabled |
The status of the Control Policy feature. Valid values:
|
RequestId | String | 1DC39A4E-3B52-4EFE-9F93-4897D7FFA0C4 |
The ID of the request. |
Examples
Sample requests
https://resourcemanager.aliyuncs.com/?Action=GetControlPolicyEnablementStatus
&<Common request parameters>
Sample success responses
XML
format
<GetControlPolicyEnablementStatusResponse>
<EnablementStatus>Disabled</EnablementStatus>
<RequestId>1DC39A4E-3B52-4EFE-9F93-4897D7FFA0C4</RequestId>
</GetControlPolicyEnablementStatusResponse>
JSON
format
{
"EnablementStatus": "Disabled",
"RequestId": "1DC39A4E-3B52-4EFE-9F93-4897D7FFA0C4"
}
Error codes
For a list of error codes, visit the API Error Center.