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

Get list of all the rolls of a specific Elastigroup and their status

URL Parameters

Parameter Type Description
GROUP_ID * String

The Elasticgroup id you want to rolls status for

Example: sig-12345
ACCOUNT_ID String

Your Spotinst accountid associated with your token

Example: act-123abc
Request - Update group

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

Headers
{
  Content-Type: application/json
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "d1232cde-57ce-4abe-b276-ff2924ff67e0",
    "url": "/compute/azure/group/sig-12345/roll?limit=5",
    "method": "GET",
    "timestamp": "2017-02-02T00:28:00.690Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:azure:compute:group:roll",
    "items": [
      {
        "id": "sbgd-06e59445",
        "status": "roll_stopped",
        "progress": {
          "unit": "percent",
          "value": 0
        },
        "createdAt": "2017-01-05T15:07:22.000+0000",
        "updatedAt": "2017-01-05T15:20:44.000+0000"
      },
      {
        "id": "sbgd-54bd2a73",
        "status": "ROLL_FINISHED",
        "progress": {
          "unit": "percent",
          "value": 100
        },
        "createdAt": "2017-01-09T13:50:39.000+0000",
        "updatedAt": "2017-01-09T14:22:21.000+0000"
      }
    ],
    "count": 5
  }
}