Queries whether the strict mode is enabled for an access control policy.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribePolicyAdvancedConfig |
The operation that you want to perform. Set the value to DescribePolicyAdvancedConfig. |
SourceIp | String | No | 1.2.3.4 |
The source IP address of the request. |
Lang | String | No | zh |
The language of the request and response. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
InternetSwitch | String | off |
Indicates whether the strict mode is enabled for the access control policy. Valid values:
|
RequestId | String | 850A84D6-0DE4-4797-A1E8-00090125EEB1 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribePolicyAdvancedConfig
&<Common request parameters>
Sample success responses
XML
format
<DescribePolicyAdvancedConfigResponse>
<RequestId>850A84D6-0DE4-4797-A1E8-00090125EEB1</RequestId>
<InternetSwitch>off</InternetSwitch>
</DescribePolicyAdvancedConfigResponse>
JSON
format
{
"RequestId":"850A84D6-0DE4-4797-A1E8-00090125EEB1",
"InternetSwitch":"off"
}
Error codes
For a list of error codes, visit the API Error Center.