Queries the list of zones available for a VPC firewall.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeVpcFirewallZone |
none |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MemberUid |
string |
No |
The UID of the Cloud Firewall member accounts. |
135809047715**** |
| RegionNo |
string |
No |
The region ID. |
cn-beijing |
| Lang |
string |
No |
The language type. Valid values:
|
zh |
| Environment |
string |
No |
The environment. Valid values:
|
TransitRouter |
| CenId |
string |
No |
The ID of the Cloud Enterprise Network (CEN) instance. |
cen-4xbjup276au29r**** |
| TransitRouterId |
string |
No |
The transit router instance ID. |
tr-m5etmb2q7e0mxcur**** |
| SourceIp |
string |
No |
The source IP address of the request. |
222.212.86.7XXX |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
337A4DBA-8A01-5E9C-99CA-84293E13**** |
| ZoneList |
array<object> |
The list of zones. |
|
|
array<object> |
The list of zones. |
||
|
object |
The zone. |
||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-c |
| LocalName |
string |
The zone name. |
Hangzhou Zone C |
| FirewallServiceMode |
string |
The deployment mode of the virtual private cloud (VPC) firewall service. Valid values:
|
PrimaryStandby |
Examples
Success response
JSON format
{
"RequestId": "337A4DBA-8A01-5E9C-99CA-84293E13****",
"ZoneList": [
[
{
"ZoneId": "cn-hangzhou-c",
"LocalName": "Hangzhou Zone C"
}
]
],
"FirewallServiceMode": "PrimaryStandby"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorRegionNoError | Region is error, please reselect | The specified region is invalid. Enter another value. |
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | The member is invalid. |
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.