Create a variable of an environment that belongs to a project.
Create a variable.
Create a variable of an environment that belongs to a project.
Path Parameters
Request Body required
- 201
- 400
- 401
- 403
- 404
- 408
- 409
- 415
- 422
- 429
- 500
- 503
- default
Created
Schema
- Array [
- Array [
- ]
- ]
environment object
connectors object[]
connector object
configData object
property name* object
finOpsCustomPricing object
labels object
project object
labels object
status object
conditions object[]
labels object
project object
labels object
project object
labels object
{
"createTime": "2024-03-13T02:09:57.664Z",
"description": "string",
"environment": {
"connectors": [
{
"connector": {
"applicableEnvironmentType": "string",
"category": "string",
"configData": {},
"configVersion": "string",
"createTime": "2024-03-13T02:09:57.664Z",
"description": "string",
"enableFinOps": true,
"finOpsCustomPricing": {
"cpu": "string",
"gpu": "string",
"ram": "string",
"spotCPU": "string",
"spotGPU": "string",
"spotRAM": "string",
"storage": "string"
},
"id": "string",
"labels": {},
"name": "string",
"project": {
"createTime": "2024-03-13T02:09:57.664Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-13T02:09:57.664Z"
},
"status": {
"conditions": [
{
"lastUpdateTime": "2024-03-13T02:09:57.664Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"error": true,
"inactive": true,
"summaryStatus": "string",
"summaryStatusMessage": "string",
"transitioning": true
},
"type": "string",
"updateTime": "2024-03-13T02:09:57.664Z"
},
"createTime": "2024-03-13T02:09:57.664Z",
"id": "string"
}
],
"createTime": "2024-03-13T02:09:57.664Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"project": {
"createTime": "2024-03-13T02:09:57.664Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-13T02:09:57.664Z"
},
"type": "string",
"updateTime": "2024-03-13T02:09:57.664Z"
},
"id": "string",
"name": "string",
"project": {
"createTime": "2024-03-13T02:09:57.664Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-13T02:09:57.664Z"
},
"sensitive": true,
"updateTime": "2024-03-13T02:09:57.664Z",
"value": "string"
}
Bad Request
Schema
Default value: 400
Default value: Bad Request
{
"message": "string",
"status": 400,
"statusText": "Bad Request"
}
Unauthorized
Schema
Default value: 401
Default value: Unauthorized
{
"message": "string",
"status": 401,
"statusText": "Unauthorized"
}
Forbidden
Schema
Default value: 403
Default value: Forbidden
{
"message": "string",
"status": 403,
"statusText": "Forbidden"
}
Not Found
Schema
Default value: 404
Default value: Not Found
{
"message": "string",
"status": 404,
"statusText": "Not Found"
}
Request Timeout
Schema
Default value: 408
Default value: Request Timeout
{
"message": "string",
"status": 408,
"statusText": "Request Timeout"
}
Conflict
Schema
Default value: 409
Default value: Conflict
{
"message": "string",
"status": 409,
"statusText": "Conflict"
}
Unsupported Media Type
Schema
Default value: 415
Default value: Unsupported Media Type
{
"message": "string",
"status": 415,
"statusText": "Unsupported Media Type"
}
Unprocessable Entity
Schema
Default value: 422
Default value: Unprocessable Entity
{
"message": "string",
"status": 422,
"statusText": "Unprocessable Entity"
}
Too Many Requests
Schema
Default value: 429
Default value: Too Many Requests
{
"message": "string",
"status": 429,
"statusText": "Too Many Requests"
}
Internal Server Error
Schema
Default value: 500
Default value: Internal Server Error
{
"message": "string",
"status": 500,
"statusText": "Internal Server Error"
}
Service Unavailable
Schema
Default value: 503
Default value: Service Unavailable
{
"message": "string",
"status": 503,
"statusText": "Service Unavailable"
}