Get Deployment By Id 1
Returns the deployment with the supplied ID.
Deployment ID
The 'resources' field of the deployment will be retrieved.
Expands deployment last request.
The 'project' field of the deployment will be retrieved.
The expanded details of the requested comma separated objects. 'resources' option returns resources with all properties. Ex. blueprint, project
Retrieves the deployment, includes soft-deleted deployments that have not yet been completely deleted.
OK
{
"blueprint": {
"description": "string",
"id": "string",
"name": "string",
"version": "string"
},
"blueprintId": "string",
"blueprintVersion": "string",
"catalog": {
"description": "string",
"id": "string",
"name": "string",
"version": "string"
},
"catalogItemId": "string",
"catalogItemVersion": "string",
"createdAt": "string",
"createdBy": "string",
"creator": {
"email": "string",
"firstname": "string",
"id": "string",
"lastname": "string",
"type": "string"
},
"deleted": false,
"description": "string",
"expense": {
"additionalExpense": "number",
"code": "string",
"computeExpense": "number",
"lastUpdatedTime": "string",
"message": "string",
"networkExpense": "number",
"storageExpense": "number",
"totalExpense": "number",
"unit": "string"
},
"iconId": "string",
"id": "string",
"inprogressRequests": {},
"inputs": {},
"lastRequest": {
"actionId": "string",
"approvedAt": "string",
"blueprintId": "string",
"cancelable": false,
"catalogItemId": "string",
"completedAt": "string",
"completedTasks": 0,
"createdAt": "string",
"deploymentId": "string",
"details": "string",
"dismissed": false,
"estimatedCompletionTime": "string",
"id": "string",
"initializedAt": "string",
"inputs": {
"inputs": {}
},
"name": "string",
"outputs": {
"outputs": {}
},
"requestedBy": "string",
"resourceIds": [
"string"
],
"resources": [
{
"description": "string",
"id": "string",
"name": "string",
"version": "string"
}
],
"status": "string",
"totalTasks": 0,
"updatedAt": "string"
},
"lastUpdatedAt": "string",
"lastUpdatedBy": "string",
"lastUpdater": {
"email": "string",
"firstname": "string",
"id": "string",
"lastname": "string",
"type": "string"
},
"leaseExpireAt": "string",
"leaseGracePeriodDays": 0,
"name": "string",
"orgId": "string",
"outputs": {},
"ownedBy": "string",
"owner": {
"email": "string",
"firstname": "string",
"id": "string",
"lastname": "string",
"type": "string"
},
"ownerType": "string",
"project": {
"description": "string",
"id": "string",
"name": "string",
"version": "string"
},
"projectId": "string",
"resources": [
{
"createdAt": "string",
"currentRequest": {
"actionId": "string",
"approvedAt": "string",
"blueprintId": "string",
"cancelable": false,
"catalogItemId": "string",
"completedAt": "string",
"completedTasks": 0,
"createdAt": "string",
"deploymentId": "string",
"details": "string",
"dismissed": false,
"estimatedCompletionTime": "string",
"id": "string",
"initializedAt": "string",
"inputs": {
"inputs": {}
},
"name": "string",
"outputs": {
"outputs": {}
},
"requestedBy": "string",
"resourceIds": [
"string"
],
"resources": [
{
"description": "string",
"id": "string",
"name": "string",
"version": "string"
}
],
"status": "string",
"totalTasks": 0,
"updatedAt": "string"
},
"dependsOn": [
"string"
],
"description": "string",
"expense": {
"additionalExpense": "number",
"code": "string",
"computeExpense": "number",
"lastUpdatedTime": "string",
"message": "string",
"networkExpense": "number",
"storageExpense": "number",
"totalExpense": "number",
"unit": "string"
},
"id": "string",
"inprogressRequests": {},
"name": "string",
"origin": "string",
"properties": {
"properties": {}
},
"state": "string",
"syncStatus": "string",
"type": "string"
}
],
"status": "string"
}
Optional affected resources details to which the request applies to
Deployment blueprint id
Deployment blueprint version
Optional affected resources details to which the request applies to
Deployment catalog item id
Deployment catalog version
Creation time
Created by
Expanded policy last updater details
Indicates whether the deployment is deleted or not.
Description of the deployment
Expense associated with the deployment.
Deployment icon id
Id of the deployment
inprogressRequests
inputs
Represents deployment requests.
Update time
Updated by
Expanded policy last updater details
Lease expiration time
Deployment lease grace period before deletion in days
Name of the deployment
orgId
outputs
Owned by
Expanded policy last updater details
Owner type
Optional affected resources details to which the request applies to
Deployment project id
Expanded resources for the deployment. Content of this property will not be maintained backward compatible
Represents the status of deployment with respect to its life cycle operations - create/update/delete.
Unauthorized
"Deployment Object"
Optional affected resources details to which the request applies to
Deployment blueprint id
Deployment blueprint version
Optional affected resources details to which the request applies to
Deployment catalog item id
Deployment catalog version
Creation time
Created by
Expanded policy last updater details
Indicates whether the deployment is deleted or not.
Description of the deployment
Expense associated with the deployment.
Deployment icon id
Id of the deployment
inprogressRequests
inputs
Represents deployment requests.
Update time
Updated by
Expanded policy last updater details
Lease expiration time
Deployment lease grace period before deletion in days
Name of the deployment
orgId
outputs
Owned by
Expanded policy last updater details
Owner type
Optional affected resources details to which the request applies to
Deployment project id
Expanded resources for the deployment. Content of this property will not be maintained backward compatible
Represents the status of deployment with respect to its life cycle operations - create/update/delete.
Not Found
"Deployment Object"
Optional affected resources details to which the request applies to
Deployment blueprint id
Deployment blueprint version
Optional affected resources details to which the request applies to
Deployment catalog item id
Deployment catalog version
Creation time
Created by
Expanded policy last updater details
Indicates whether the deployment is deleted or not.
Description of the deployment
Expense associated with the deployment.
Deployment icon id
Id of the deployment
inprogressRequests
inputs
Represents deployment requests.
Update time
Updated by
Expanded policy last updater details
Lease expiration time
Deployment lease grace period before deletion in days
Name of the deployment
orgId
outputs
Owned by
Expanded policy last updater details
Owner type
Optional affected resources details to which the request applies to
Deployment project id
Expanded resources for the deployment. Content of this property will not be maintained backward compatible
Represents the status of deployment with respect to its life cycle operations - create/update/delete.
curl -H 'Authorization: <value>' https://{api_host}/deployment/api/deployments/{deploymentId}