Get Deployment By Id 1

Get Deployment By Id 1

Returns the deployment with the supplied ID.

Request
URI
GET
https://{api_host}/deployment/api/deployments/{deploymentId}
COPY
Path Parameters
string
deploymentId
Required

Deployment ID

Query Parameters
boolean
expandResources
Optional Deprecated

The 'resources' field of the deployment will be retrieved.

boolean
expandLastRequest
Optional Deprecated

Expands deployment last request.

boolean
expandProject
Optional Deprecated

The 'project' field of the deployment will be retrieved.

string of array
expand
Optional

The expanded details of the requested comma separated objects. 'resources' option returns resources with all properties. Ex. blueprint, project

boolean
deleted
Optional

Retrieves the deployment, includes soft-deleted deployments that have not yet been completely deleted.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Deployment of type(s) application/json
{
    "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"
}
object
blueprint
Optional

Optional affected resources details to which the request applies to

string
blueprintId
Optional

Deployment blueprint id

string
blueprintVersion
Optional

Deployment blueprint version

object
catalog
Optional

Optional affected resources details to which the request applies to

string
catalogItemId
Optional

Deployment catalog item id

string
catalogItemVersion
Optional

Deployment catalog version

string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created by

object
creator
Optional

Expanded policy last updater details

boolean
deleted
Optional

Indicates whether the deployment is deleted or not.

string
description
Optional

Description of the deployment

object
expense
Optional

Expense associated with the deployment.

string
iconId
Optional

Deployment icon id

string As uuid As uuid
id
Optional

Id of the deployment

object
inprogressRequests
Optional

inprogressRequests

object
inputs
Optional

inputs

object
lastRequest
Optional

Represents deployment requests.

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated by

object
lastUpdater
Optional

Expanded policy last updater details

string As date-time As date-time
leaseExpireAt
Optional

Lease expiration time

integer As int32 As int32
leaseGracePeriodDays
Optional

Deployment lease grace period before deletion in days

string
name
Required

Name of the deployment

string
orgId
Optional

orgId

object
outputs
Optional

outputs

string
ownedBy
Optional

Owned by

object
owner
Optional

Expanded policy last updater details

string
ownerType
Optional

Owner type

Possible values are : USER, AD_GROUP,
object
project
Optional

Optional affected resources details to which the request applies to

string
projectId
Optional

Deployment project id

array of object
resources
Optional

Expanded resources for the deployment. Content of this property will not be maintained backward compatible

string
status
Optional

Represents the status of deployment with respect to its life cycle operations - create/update/delete.

Possible values are : CREATE_SUCCESSFUL, CREATE_INPROGRESS, CREATE_FAILED, UPDATE_SUCCESSFUL, UPDATE_INPROGRESS, UPDATE_FAILED, DELETE_SUCCESSFUL, DELETE_INPROGRESS, DELETE_FAILED,

401

Unauthorized

Returns Deployment of type(s) application/json
"Deployment Object"
object
blueprint
Optional

Optional affected resources details to which the request applies to

string
blueprintId
Optional

Deployment blueprint id

string
blueprintVersion
Optional

Deployment blueprint version

object
catalog
Optional

Optional affected resources details to which the request applies to

string
catalogItemId
Optional

Deployment catalog item id

string
catalogItemVersion
Optional

Deployment catalog version

string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created by

object
creator
Optional

Expanded policy last updater details

boolean
deleted
Optional

Indicates whether the deployment is deleted or not.

string
description
Optional

Description of the deployment

object
expense
Optional

Expense associated with the deployment.

string
iconId
Optional

Deployment icon id

string As uuid As uuid
id
Optional

Id of the deployment

object
inprogressRequests
Optional

inprogressRequests

object
inputs
Optional

inputs

object
lastRequest
Optional

Represents deployment requests.

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated by

object
lastUpdater
Optional

Expanded policy last updater details

string As date-time As date-time
leaseExpireAt
Optional

Lease expiration time

integer As int32 As int32
leaseGracePeriodDays
Optional

Deployment lease grace period before deletion in days

string
name
Required

Name of the deployment

string
orgId
Optional

orgId

object
outputs
Optional

outputs

string
ownedBy
Optional

Owned by

object
owner
Optional

Expanded policy last updater details

string
ownerType
Optional

Owner type

Possible values are : USER, AD_GROUP,
object
project
Optional

Optional affected resources details to which the request applies to

string
projectId
Optional

Deployment project id

array of object
resources
Optional

Expanded resources for the deployment. Content of this property will not be maintained backward compatible

string
status
Optional

Represents the status of deployment with respect to its life cycle operations - create/update/delete.

Possible values are : CREATE_SUCCESSFUL, CREATE_INPROGRESS, CREATE_FAILED, UPDATE_SUCCESSFUL, UPDATE_INPROGRESS, UPDATE_FAILED, DELETE_SUCCESSFUL, DELETE_INPROGRESS, DELETE_FAILED,

404

Not Found

Returns Deployment of type(s) application/json
"Deployment Object"
object
blueprint
Optional

Optional affected resources details to which the request applies to

string
blueprintId
Optional

Deployment blueprint id

string
blueprintVersion
Optional

Deployment blueprint version

object
catalog
Optional

Optional affected resources details to which the request applies to

string
catalogItemId
Optional

Deployment catalog item id

string
catalogItemVersion
Optional

Deployment catalog version

string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created by

object
creator
Optional

Expanded policy last updater details

boolean
deleted
Optional

Indicates whether the deployment is deleted or not.

string
description
Optional

Description of the deployment

object
expense
Optional

Expense associated with the deployment.

string
iconId
Optional

Deployment icon id

string As uuid As uuid
id
Optional

Id of the deployment

object
inprogressRequests
Optional

inprogressRequests

object
inputs
Optional

inputs

object
lastRequest
Optional

Represents deployment requests.

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated by

object
lastUpdater
Optional

Expanded policy last updater details

string As date-time As date-time
leaseExpireAt
Optional

Lease expiration time

integer As int32 As int32
leaseGracePeriodDays
Optional

Deployment lease grace period before deletion in days

string
name
Required

Name of the deployment

string
orgId
Optional

orgId

object
outputs
Optional

outputs

string
ownedBy
Optional

Owned by

object
owner
Optional

Expanded policy last updater details

string
ownerType
Optional

Owner type

Possible values are : USER, AD_GROUP,
object
project
Optional

Optional affected resources details to which the request applies to

string
projectId
Optional

Deployment project id

array of object
resources
Optional

Expanded resources for the deployment. Content of this property will not be maintained backward compatible

string
status
Optional

Represents the status of deployment with respect to its life cycle operations - create/update/delete.

Possible values are : CREATE_SUCCESSFUL, CREATE_INPROGRESS, CREATE_FAILED, UPDATE_SUCCESSFUL, UPDATE_INPROGRESS, UPDATE_FAILED, DELETE_SUCCESSFUL, DELETE_INPROGRESS, DELETE_FAILED,

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/deployment/api/deployments/{deploymentId}