Queries the VPC border firewall status for a pay-as-you-go user.
Try it now
Test
RAM authorization
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 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 VPC border firewall for Cloud Firewall. Valid values:
|
open |
| UnprotectedDate |
integer |
The number of days that protection was disabled. This parameter is valid only when the firewall 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.