Get Availability Zones Count
GET/dashboard/:cluster_type/availability-zones/:cluster_id
Get Availability Zones Count
Request
Path Parameters
cluster_id Cluster Idrequired
cluster_type anyrequired
Type of the cluster (EKS, ASG)
Query Parameters
instance_type string[]
Optional list of Instance Types to filter
Header Parameters
X-Nops-Api-Key stringrequired
API key for authentication
Responses
- 200
- 422
Successful response with availability zone counts.
- application/json
- Schema
- Example
Schema
any
{
"us-west-2c": 15,
"us-west-2b": 11,
"us-west-2a": 11,
"us-west-2d": 19
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...