Querying the Regions Where APM Is Enabled
Function
This API is used to query the regions where APM is enabled.
URI
GET /v1/apm2/openapi/region/get-opened-region
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
region_list |
Array of Region objects |
Region list |
Example Requests
There is no input parameter. Send a request to obtain the regions where APM is enabled.
/v1/apm2/openapi/region/get-opened-region
Example Responses
Status code: 200
OK: The request is successful.
{ "region_list" : [ { "region_id" : "xx-xxxx-xx", "region_name" : "xxxx", "region" : "xx-xxxx-xx", "project_id" : "c6******7b", "status" : "NORMAL_STATUS" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
OK: The request is successful. |
401 |
Unauthorized: No permissions. |
403 |
Forbidden: Access forbidden. |
404 |
Not Found: The requested resource is not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot