Querying the AZs of P2C VPN Gateways
Function
This API is used to query the AZs of P2C VPN gateways.
Calling Method
For details, see Calling APIs.
URI
GET /v5/{project_id}/p2c-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.  | 
     
Request
Response
- Response parameters
    
Returned status code 200: successful operation
Table 3 Parameters in the response body Parameter
Type
Description
availability_zones
Array of strings
Specifies the list of AZs.
request_id
String
Specifies a request ID.
 - Example response
    
{ "availability_zones": [ "cn-south-1f", "cn-south-1e" ], "request_id": "c63d850876bcddbdfbd11776cce57914" } 
Status Codes
For details, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.