Get region
GET/infra/:cloud
Gets the region information of the given public cloud.
Request
Path Parameters
cloud stringrequired
The cloud provider.
Example: aws
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code int32
The response code.
data
object[]
The wrapped responding data.
area string
The location of the region.
cloud
object
The cloud provider information.
id string
The ID of the cloud provider.
isAvailable boolean
Whether the cloud provider is a public cloud provider.
isPublic boolean
Whether the cloud provider is a public cloud provider.
link string
The URL of the cloud provider.
name string
The name of the cloud provider.
id string
The ID of the region.
name string
The name of the region.
public boolean
regionInfo
object
The region information.
info object
The region information.
msg string
The response message.
{
"code": 0,
"data": [
{
"area": "Singapore",
"cloud": {
"id": "string",
"isAvailable": true,
"isPublic": true,
"link": "string",
"name": "string"
},
"id": "string",
"name": "string",
"public": true,
"regionInfo": {
"info": {}
}
}
],
"msg": "string"
}
Loading...