Dynamic Engine Environments

Manage and assign your Environments to Dynamic Engines.

Media type

application/json

Endpoints

Global security

These security schemes apply to the entire API

  • No authentication

DEEnvironment

While providing all capacity related to Environments (see description), Dynamic Engine Environment also brings Dynamic Engine processing for all tasks or plans defined within.

This processing capacity is provided through the assignment of your Environment to one (and one only) available Dynamic Engine. Doing so, you dont need to provide any Engine definition on the task level.

This processing capacity is exclusive, meaning all tasks or plans defined in your Environment will target this Dynamic Engine for execution.

The status as defined here on Dynamic Engine Environment reflects both this assignment state and the processing readiness state.

Object
Name Description Type Attributes and examples
id Unique identifier string Required
name Unique name string Required
description Description string Required
deId Identifier of the Dynamic Engine this Environment might be connected to string Optional
status

Status of your Dynamic Engine Environment. Possible statuses are the following :

Not Assigned : Environment can be used for any Orchestration/configuration action : add workspace, etc.

Set Up Required : Transitional state. Some DE link is configured but technical setup is still required in order for Processing to be available for your Environment. Please ask your Infra Admin.

Ready : Ressources for your Environment have been installed successfully. Processing is fully available.

Not Ready : Error state. DE link is configured but some error occured on Dynamic Engine. Please check with your Infra Admin.

string Required
logStrategy DynamicEngine Strategy on logs regarding this Environment’s executions string Required
metricsStrategy DynamicEngine Strategy on metrics regarding this Environment’s executions string Required
createdBy Username of user who created Dynamic Engine Environment string Optional
creationDate Creation Date of Dynamic Engine Environment datetime Optional
lastModifiedBy Username of user who last updated Dynamic Engine Environment string Optional
lastModifiedDate Date of the last modification made by user datetime Optional
creatorType Type of user who created Dynamic Engine Environment, either HUMAN or SERVICE_ACCOUNT string Optional
modifierType Type of user who last modified Dynamic Engine Environment, either HUMAN or SERVICE_ACCOUNT string Optional
linkId Dynamic Engine Assignment link unique id. Unmutable data allowing to setup and cleanup resources on the Dynamic Engine for your Environment. string Optional

ErrorResponse

Object
Name Description Type Attributes and examples
status status code integer Required
INT32
message string Required
details string Optional
code string Optional
uri string Optional
requestId string Optional

CreateDynamicEngineEnvironmentRequest

Object
Name Description Type Attributes and examples
name string Required
description string Optional
workspaceName string Required
owner string Optional
logStrategy default value is NONE string Optional
metricsStrategy default value is NONE string Optional

SearchDynamicEngineEnvironmentsRequest

Object
Name Description Type Attributes and examples
name like filter on name string Optional
deId Dynamic Engine identifier string Optional
limit integer Optional
INT32
offset integer Optional
INT32
sortOrder sort order of fetched dynamic engine environments string Optional
DESC
sortBy attribute dynamic engine environments are sorted by, sorted by creation time by default string Optional

UpdateDynamicEngineEnvironmentRequest

Object
Name Description Type Attributes and examples
name string Optional
description string Optional
logStrategy string Optional
metricsStrategy string Optional

DEEnvironmentPage

Object
Name Description Type Attributes and examples
data array of DEEnvironment Optional
Datatype details
Type Description Attributes and examples
array
DEEnvironment
limit integer Optional
offset integer Optional
totalLength integer Optional

Create new Dynamic Engine Environment

POST /orchestration/dynamic-engine-environments

A Dynamic Engine Environment is an Environment that can be assigned to one Dynamic Engine.

While keeping all existing capability available on Environments, it also brings Dynamic Engine targeted executions : once connected, all executions of any task or plan defined within this Environment will occur on the assigned Dynamic Engine. Please consult Connection sub-resource to learn more about Dynamic Engine connection facility.

Pre-requisites :

  • User should be entitled Environments Manage permission, provided through Environment Administrator Role or your custom one.
  • environment name must be unique (leading or trailing spaces are removed)

Request

Body
CreateDynamicEngineEnvironmentRequest

Response

201Status 201
Body
DEEnvironment
400Status 400
Incorrect request
Body
ErrorResponse
401Status 401
Body
ErrorResponse
403Status 403
Not authorized to create the environment
Body
ErrorResponse
409Status 409
Environment name should be unique
Body
ErrorResponse
500Status 500
Body
ErrorResponse

Retrieves a Dynamic Engine Environment

GET /orchestration/dynamic-engine-environments/{environmentId}

Pre-requisites :

  • User should be entitled Environments Manage permission, provided through Environment Administrator Role or your custom one.

Request

Path variables
Name Description Type Attributes and examples
environmentId string Required

Response

200Status 200
Body
DEEnvironment
400Status 400
Body
ErrorResponse
401Status 401
Body
ErrorResponse
403Status 403
Body
ErrorResponse
404Status 404
Body
ErrorResponse
500Status 500
Body
ErrorResponse

Update one Dynamic Engine Environment

PUT /orchestration/dynamic-engine-environments/{environmentId}

Allows to update name, description as well as particular Log and Metrics policy regarding this Dynamic Engine Environment. Doing so, you can override default policy set globally on the Dynamic Engine for logs and metrics storage location (Cloud vs Nil only for Beta)

Pre-requisites :

  • User should be entitled Environments Manage permission, provided through Environment Administrator Role or your custom one.
  • Environment name must be unique (leading or trailing spaces are removed)

Request

Path variables
Name Description Type Attributes and examples
environmentId string Required
Body
UpdateDynamicEngineEnvironmentRequest

Response

200Status 200
Body
DEEnvironment
400Status 400
Body
ErrorResponse
401Status 401
Body
ErrorResponse
403Status 403
Body
ErrorResponse
404Status 404
Body
ErrorResponse
500Status 500
Body
ErrorResponse

Removes a Dynamic Engine Environment

DELETE /orchestration/dynamic-engine-environments/{environmentId}

Allows to remove this Environment. Please be aware :

  • when assigned, a Dynamic Engine Environment wont be removed
  • when accepted the removal of an Environment cant be cancelled
  • all subsidiary elements within the Environment (tasks, plans, workspaces, etc.) will be removed along with the removal of the Environment itself

Pre-requisites :

  • User should be entitled Environments Manage permission, provided through Environment Administrator Role or your custom one.

Request

Path variables
Name Description Type Attributes and examples
environmentId string Required

Response

204Status 204
DP Environment successfully removed
400Status 400
Incorrect request
Body
ErrorResponse
401Status 401
Body
ErrorResponse
403Status 403
User doesn’t have sufficient permissions to complete a request
Body
ErrorResponse
409Status 409
DP Environment has an established connection to Data Plane, disconnection is required prior to removal
Body
ErrorResponse
500Status 500
Internal server error
Body
ErrorResponse

Unassign Environment from Dynamic Engine

DELETE /orchestration/dynamic-engine-environments/{environmentId}/connection

Pre-requisites :

  • Environment should actually be assigned
  • User should be entitled Engine Manage permission, provided through Infrastructure Administrator Role or your custom one.

Request

Path variables
Name Description Type Attributes and examples
environmentId string Required

Response

202Status 202
Unconnected accepted
204Status 204
Environment is already unconnected
400Status 400
Body
ErrorResponse
401Status 401
403Status 403
500Status 500

Create an assignment between this Environment and a Dynamic Engine

POST /orchestration/dynamic-engine-environments/{environmentId}/connection

Pre-requisites :

  • Environment should not already be assigned to any Dynamic Engine
  • Dynamic Engine should already be fully connected to TMC
  • User should be entitled Engine Manage permission, provided through Infrastructure Administrator Role or your custom one.

Request

Path variables
Name Description Type Attributes and examples
environmentId string Required
Query parameters
Name Description Type Attributes and examples
dynamicEngineId Identifier of the Dynamic Engine cluster to assign to string Required

Response

202Status 202
Environment connection to the data plane is processing
Headers
Name Description Type Attributes and examples
Location Connection link unique id string Required
204Status 204
Environment is already connected to this data plane
Headers
Name Description Type Attributes and examples
Location Connection link unique id string Required
400Status 400
Body
ErrorResponse
401Status 401
403Status 403
409Status 409
The environment is already connected to some different DataPlane
503Status 503
The data plane is not ready for connection
5XXStatus 5XX
Namespace allocation is not possible / timeout on comm with DP / etc

Search Dynamic Engine Environments

POST /orchestration/dynamic-engine-environments/search

Search capacity allowing to list Dynamic Engine Environments and filter by name, status and dynamic engine. Paginated.

Pre-requisites :

  • User should be entitled Environments Manage permission, provided through Environment Administrator Role or your custom one.

Request

Body
SearchDynamicEngineEnvironmentsRequest

Response

200Status 200
Body
DEEnvironmentPage
400Status 400
Body
ErrorResponse
401Status 401
Body
ErrorResponse
403Status 403
Body
ErrorResponse
500Status 500
Body
ErrorResponse
back to top