DescribePolicyAdvancedConfig
Queries the enabling status of the strict mode for access control policies.
Operation description
This operation is generally used to query the enabling status of the strict mode for access control policies.
Before you begin
Before you call this operation, you must purchase and activate Cloud Firewall. You can activate it on the Cloud Firewall buy page (China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn; International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl).
Rate limit
The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribePolicyAdvancedConfig |
list |
*PolicyAdvancedConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
SourceIp
deprecated
|
string |
No |
The source IP address of the requester. |
192.0.XX.XX |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InternetSwitch |
string |
The enabling status of the strict mode for access control policies. Valid values:
|
off |
| Eips |
array |
The list of elastic IP addresses (EIPs) that take effect when strict mode is enabled. A maximum of 100 IP addresses can be returned. |
["47.100.XX.XX","47.101.XX.XX"] |
|
string |
The elastic IP address. |
47.100.XX.XX |
|
| RequestId |
string |
The request ID. |
850A84D6-0DE4-4797-A1E8-00090125EEB1 |
Examples
Success response
JSON format
{
"InternetSwitch": "off",
"Eips": [
"47.100.XX.XX"
],
"RequestId": "850A84D6-0DE4-4797-A1E8-00090125EEB1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorNotBuyUser | Not buy user. | Your account has not activated the Cloud Firewall and cannot call the API. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.