Find AzureRegions
GET/api/v1/projects/:projectId/azure/regions
This operation allows to find AzureRegisons by project.
Request
Path Parameters
projectId uuidrequired
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
project Id
Query Parameters
azureCspCredentialId uuidrequired
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
azure credential Id
Responses
- 200
- 400
- 401
- 403
- 404
- 500
ok
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
namestring
region name
displayNamestring
region display name
[
{
"name": "string",
"displayName": "string"
}
]
bad request
- application/json
- Schema
- Example (auto)
Schema
codeint32
bad request code
messagestring
bad request message
descriptionstring
bad request description
violations object[]
{
"code": 0,
"message": "string",
"description": "string",
"violations": [
{
"field": "string",
"message": "string"
}
]
}
unauthorized access
- application/json
- Schema
- Example (auto)
Schema
codeint32
error code
messagestring
error message
descriptionstring
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (auto)
Schema
codeint32
error code
messagestring
error message
descriptionstring
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (auto)
Schema
codeint32
error code
messagestring
error message
descriptionstring
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (auto)
Schema
codeint32
error code
messagestring
error message
descriptionstring
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Authorization: http
name: SecuritySchemetype: httpdescription: Authenticationscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- php
- java
- CURL
curl -L '/api/v1/projects/:projectId/azure/regions' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'