Get Resource By Id 1
Returns the resource with the specified ID that is correlated with the supplied deployment.
Deployment ID
Resource ID
The expanded details of the requested comma separated objects. Ex. currentRequest
OK
{
"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"
}
Creation time
Represents deployment requests.
A list of other resources this resource depends on
A description of the resource
Expense associated with the deployment.
Unique identifier of the resource
inprogressRequests
Name of the resource
Origin of the resource
properties
The current state of the resource
The current sync status
Type of the resource
Unauthorized
"DeploymentResource Object"
Creation time
Represents deployment requests.
A list of other resources this resource depends on
A description of the resource
Expense associated with the deployment.
Unique identifier of the resource
inprogressRequests
Name of the resource
Origin of the resource
properties
The current state of the resource
The current sync status
Type of the resource
Not Found
"DeploymentResource Object"
Creation time
Represents deployment requests.
A list of other resources this resource depends on
A description of the resource
Expense associated with the deployment.
Unique identifier of the resource
inprogressRequests
Name of the resource
Origin of the resource
properties
The current state of the resource
The current sync status
Type of the resource
curl -H 'Authorization: <value>' https://{api_host}/deployment/api/deployments/{deploymentId}/resources/{resourceId}