DescribePostpayUserInternetStatus
Queries the status of the Internet Border switch module for pay-as-you-go users.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribePostpayUserInternetStatus |
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-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 |
0DC783F1-B3A7-578D-8A63-***** |
| Status |
string |
The status of the Internet Border switch module in Cloud Firewall. Valid values:
|
open |
| UnprotectedDate |
integer |
The number of days that protection is not enabled. This parameter is valid only when the module is enabled. |
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.