GEThttps://api.spotinst.io/azure/compute/group/{GROUP_ID}/deployment/{DEPLOYMENT_ID}?accountId={ACCOUNT_ID}

Get the status of a specific deployment.

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elastigroup ID you want to roll.

Example: sig-12345
ACCOUNT_ID String

Your Spot accountId associated with your token.

Example: act-123abc
DEPLOYMENT_ID * String

The deployment ID you want to query.

Example: sbgd-9876
Request - Update group

Headers
Copied!
Downloaded!
{  
   "Content-Type": "application/json",
   "Authorization": "Bearer ${token}" 
}
Response - 200

Headers
Copied!
Downloaded!
{
  Content-Type: application/json
}
Body
Copied!
Downloaded!
{
    "request": {
        "id": "a774a712-3e2b-4dcc-a565-f03a4dcd9858",
        "url": "/azure/compute/group/sig-a7aa60cd/deployment/sbgd-04c4658b?accountId=act-49372faf",
        "method": "GET",
        "timestamp": "2020-06-22T08:48:19.600Z"
    },
    "response": {
        "status": {
            "code": 200,
            "message": "OK"
        },
        "kind": "spotinst:azure:compute:group:deployment",
        "items": [
            {
                "id": "sbgd-04c4658b",
                "status": "deploymentInProgress",
                "progress": {
                    "unit": "percent",
                    "value": 50.0
                },
                "updatedAt": "2020-06-18T11:40:57.000Z",
                "createdAt": "2020-06-18T05:33:18.000Z"
            }
        ],
        "count": 1
    }
}