Queries the status of the Internet Border firewall for a pay-as-you-go instance.
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-zsk39m****** |
| Lang |
string |
No |
The language of the response message. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
0DC783F1-B3A7-578D-8A63-***** |
| Status |
string |
The status of the Internet Border firewall. Valid values:
|
open |
| UnprotectedDate |
integer |
The number of days that the firewall was disabled. This parameter is returned only if the value of the Status parameter is open. |
20 |
Examples
Success response
JSON format
{
"RequestId": "0DC783F1-B3A7-578D-8A63-*****",
"Status": "open",
"UnprotectedDate": 20
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorDbFailed | Query db failed. | DB access error. |
| 400 | ErrorParamsNotEnough | Parameters are insufficient. | Parameters are insufficient. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.