This API is used to query the AZs of VPN gateways.
For details, see Calling APIs.
GET /v5/{project_id}/vpn-gateways/availability-zones
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
project_id |
String |
Yes |
Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID. |
Returned status code 200: successful operation
Parameter |
Type |
Description |
|---|---|---|
availability_zones |
AvailabilityZones object |
Specifies the list of AZs. |
request_id |
String |
Specifies a request ID. |
Parameter |
Type |
Description |
|---|---|---|
basic |
VpnGatewayAvailabilityZones object |
Indicates that the specification of VPN gateways is Basic. |
professional1 |
VpnGatewayAvailabilityZones object |
Indicates that the specification of VPN gateways is Professional1. |
Professional1-NonFixedIP |
VpnGatewayAvailabilityZones object |
Indicates that the specification of VPN gateways is Professional1-NonFixedIP. |
professional2 |
VpnGatewayAvailabilityZones object |
Indicates that the specification of VPN gateways is Professional2. |
Professional2-NonFixedIP |
VpnGatewayAvailabilityZones object |
Indicates that the specification of VPN gateways is Professional2-NonFixedIP. |
The supported specification options are subject to the value range of the Specification parameter on the page for creating a VPN gateway on the VPN console.
{
"availability_zones": {
"basic": {
"vpc": ["eu-de-01"],
"er": []
},
"professional1": {
"vpc": ["eu-de-01", "eu-de-02"],
"er": ["eu-de-01"]
"er": ["az1"]
},
"professional2": {
"vpc": ["eu-de-01", "eu-de-02"],
"er": ["eu-de-01"]
"er": ["az1"]
},
"Professional1-NonFixedIP": {
"vpc": [],
"er": []
},
"Professional2-NonFixedIP": {
"vpc": [],
"er": []
},
"gm": {
"vpc": [],
"er": []
}
},
"request_id": "b60309ab-812c-4269-9de4-fb9a65e6db16"
}
For details, see Status Codes.