Get Resource By Id
Returns the resource with the supplied ID.
Resource ID
The expanded details of the requested comma separated objects. Ex. project, deployment, currentRequest
OK
{
"billable": false,
"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"
},
"deployment": {
"description": "string",
"iconId": "string",
"id": "string",
"leaseExpireAt": "string",
"name": "string",
"ownedBy": "string",
"owner": {
"email": "string",
"firstname": "string",
"id": "string",
"lastname": "string",
"type": "string"
},
"ownerType": "string"
},
"deploymentId": "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",
"orgId": "string",
"origin": "string",
"project": {
"description": "string",
"id": "string",
"name": "string",
"version": "string"
},
"projectId": "string",
"properties": {
"properties": {}
},
"syncStatus": "string",
"type": "string"
}
Indicates whether the resource is billable or not. This is only visible ORG admins
Creation time
Represents deployment requests.
Deployment to which resource belongs
Resource deployment id
A description of the resource
Expense associated with the deployment.
Unique identifier of the resource
inprogressRequests
Name of the resource
Resource org id
Origin of the resource
Optional affected resources details to which the request applies to
Resource project id
properties
The current sync status
Type of the resource
Unauthorized
"Resource Object"
Indicates whether the resource is billable or not. This is only visible ORG admins
Creation time
Represents deployment requests.
Deployment to which resource belongs
Resource deployment id
A description of the resource
Expense associated with the deployment.
Unique identifier of the resource
inprogressRequests
Name of the resource
Resource org id
Origin of the resource
Optional affected resources details to which the request applies to
Resource project id
properties
The current sync status
Type of the resource
Forbidden
"Resource Object"
Indicates whether the resource is billable or not. This is only visible ORG admins
Creation time
Represents deployment requests.
Deployment to which resource belongs
Resource deployment id
A description of the resource
Expense associated with the deployment.
Unique identifier of the resource
inprogressRequests
Name of the resource
Resource org id
Origin of the resource
Optional affected resources details to which the request applies to
Resource project id
properties
The current sync status
Type of the resource
curl -H 'Authorization: <value>' https://{api_host}/deployment/api/resources/{resourceId}