Queries the NAT border firewall status for a pay-as-you-go Cloud Firewall.
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 |
Schema of Response |
||
| RequestId |
string |
Id of the request |
6B780BD6-282C-51A9-A8E6-59F636****** |
| Status |
string |
The status of the NAT border firewall. Valid values:
|
open |
| UnprotectedDate |
integer |
The number of days that protection was disabled. This parameter is returned only when the NAT border firewall is enabled. |
20 |
Examples
Success response
JSON format
{
"RequestId": "6B780BD6-282C-51A9-A8E6-59F636******",
"Status": "open",
"UnprotectedDate": 20
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.