Queries the status of the virtual private cloud (VPC) firewall switch module for a pay-as-you-go user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribePostpayUserVpcStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The ID of the Cloud Firewall instance. |
cfw_elasticity_public_cn-************ |
| Lang |
string |
No |
The language of the content within the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
7447795A-39AB-52CB-8F92-128DF****** |
| Status |
string |
The status of the Cloud Firewall VPC firewall switch module. Valid values:
|
open |
| UnprotectedDate |
integer |
The number of days during which protection is not enabled. This parameter is valid only when the module is enabled. |
20 |
Examples
Success response
JSON format
{
"RequestId": "7447795A-39AB-52CB-8F92-128DF******",
"Status": "open",
"UnprotectedDate": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.