Clone for an environment of a project.
Clone for an environment.
Clone for an environment of a project.
Path Parameters
project string required
environment string required
application/json
Request Body required
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
connectors object[]
connector object required
id string
name string
project object
id string
name string
description string
draft boolean
Default value: false
labels object
property name* string
name string required
resources object[]
attributes object
property name* byte
changeComment string
computedAttributes object
property name* byte
description string
endpoints object[]
name string required
url string required
labels object
property name* string
name string required
resourceDefinitionMatchingRule object
id string
name string
template object
id string
name string
project object
id string
name string
version string
type string
type string required
variables object[]
description string
name string required
sensitive boolean
value string required
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 409
- 415
- 422
- 429
- 500
- 503
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
connectors object[]
connector object
applicableEnvironmentType string
category string
configData object
property name* object
value byte
visible boolean required
configVersion string
createTime date-time
description string
enableFinOps boolean
finOpsCustomPricing object
cpu string required
gpu string required
ram string required
spotCPU string required
spotGPU string required
spotRAM string required
storage string required
id string
labels object
property name* string
name string
project object
createTime date-time
description string
id string
labels object
property name* string
name string
updateTime date-time
status object
conditions object[]
lastUpdateTime date-time
message string
reason string required
status string
type string
error boolean
inactive boolean
summaryStatus string
summaryStatusMessage string
transitioning boolean
type string
updateTime date-time
createTime date-time
id string
createTime date-time
description string
id string
labels object
property name* string
name string
project object
createTime date-time
description string
id string
labels object
property name* string
name string
updateTime date-time
type string
updateTime date-time
{
"connectors": [
{
"connector": {
"applicableEnvironmentType": "string",
"category": "string",
"configData": {},
"configVersion": "string",
"createTime": "2024-03-13T02:09:57.590Z",
"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.590Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-13T02:09:57.590Z"
},
"status": {
"conditions": [
{
"lastUpdateTime": "2024-03-13T02:09:57.590Z",
"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.590Z"
},
"createTime": "2024-03-13T02:09:57.590Z",
"id": "string"
}
],
"createTime": "2024-03-13T02:09:57.590Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"project": {
"createTime": "2024-03-13T02:09:57.590Z",
"description": "string",
"id": "string",
"labels": {},
"name": "string",
"updateTime": "2024-03-13T02:09:57.590Z"
},
"type": "string",
"updateTime": "2024-03-13T02:09:57.590Z"
}
Bad Request
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 400
statusText string
Default value: Bad Request
{
"message": "string",
"status": 400,
"statusText": "Bad Request"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 401
statusText string
Default value: Unauthorized
{
"message": "string",
"status": 401,
"statusText": "Unauthorized"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 403
statusText string
Default value: Forbidden
{
"message": "string",
"status": 403,
"statusText": "Forbidden"
}
Not Found
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 404
statusText string
Default value: Not Found
{
"message": "string",
"status": 404,
"statusText": "Not Found"
}
Request Timeout
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 408
statusText string
Default value: Request Timeout
{
"message": "string",
"status": 408,
"statusText": "Request Timeout"
}
Conflict
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 409
statusText string
Default value: Conflict
{
"message": "string",
"status": 409,
"statusText": "Conflict"
}
Unsupported Media Type
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 415
statusText string
Default value: Unsupported Media Type
{
"message": "string",
"status": 415,
"statusText": "Unsupported Media Type"
}
Unprocessable Entity
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 422
statusText string
Default value: Unprocessable Entity
{
"message": "string",
"status": 422,
"statusText": "Unprocessable Entity"
}
Too Many Requests
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 429
statusText string
Default value: Too Many Requests
{
"message": "string",
"status": 429,
"statusText": "Too Many Requests"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 500
statusText string
Default value: Internal Server Error
{
"message": "string",
"status": 500,
"statusText": "Internal Server Error"
}
Service Unavailable
application/json
Schema
Example (from schema)
Schema
message string
status integer
Default value: 503
statusText string
Default value: Service Unavailable
{
"message": "string",
"status": 503,
"statusText": "Service Unavailable"
}
Loading...