Deployments

Contents

Deployment

Show deployment

GET /v2/plugins/tosca/deployments/:id

It shows information about a specific deployment.

Inputs

None

Returns

Field Type Description
cat_id String Identifier of the cat.
resource_type String An identifier for the type of resource, specifically "deployment".

Back to top

Destroy deployment

DELETE /v2/plugins/tosca/deployments/:id

It destroys a deployment.

Inputs

None

Returns

Field Type Description
cat_id String Identifier of the cat.
resource_type String An identifier for the type of resource, specifically "deployment".

Back to top

Deployment Tasks

Show deployment task

GET /v2/plugins/tosca/cats/:cat_id/deployment_tasks/:id

It shows information about a specific deployment task.

Inputs

None

Returns

Field Type Description
id String Identifier of the deployment task.
type String The type of deployment. Can be either ‘import' or ‘export'.
label_name String The label name of the deployment.
label_id String The label id of the deployment.
state String The state of the deployment task.
error_message String It indicates the error that happened when the deployment task failed.
outputs String Outputs of the deployment once if finished successfully.
user_id String Identifier of the user that creates the deployment
archive_id String Identifier of the cat
deployment_id String Identifier of the deployment of the cat
resource_type String An identifier for the type of resource, specifically "deployment".

Back to top

Create deployment task

GET /v2/plugins/tosca/cats/:cat_id/deployment_tasks/:id

It shows information about a specific deployment task.

Inputs

None

Returns

Field Type Description
id String Identifier of the deployment task.
type String The type of deployment. Can be either ‘import' or ‘export'.
label_name String The label name of the deployment.
label_id String The label id of the deployment.
state String The state of the deployment task.
error_message String It indicates the error that happened when the deployment task failed.
outputs String Outputs of the deployment once if finished successfully.
user_id String Identifier of the user that creates the deployment
archive_id String Identifier of the cat
deployment_id String Identifier of the deployment of the cat
resource_type String An identifier for the type of resource, specifically "deployment".

Back to top

Destroy deployment task

GET /v2/plugins/tosca/cats/:cat_id/deployment_tasks/:id

It shows information about a specific deployment task.

Inputs

None

Returns

None

Back to top