latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Elastigroup AWS
Deployment Status
Get status of a specific deployment
get/aws/ec2/group/{groupId}/roll/{rollId}/status
Path parameters
rollIdstring required
The deployment ID you want to query
Query parameters
accountIdstring
ID of the account associated with your token
Parameters
#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0 — unresolved $ref
Response
Deploy Status Response
Example response
{
"request": {
"id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
"url": "/aws/ec2/group/sig-d8489594/deployment/sbgd-3e158755/status?spotinstAccountId=act-d48178ad",
"method": "GET",
"timestamp": "2016-01-21T17:12:51.451Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"kind": "spotinst:aws:ec2:group:roll:status",
"items": [
{
"progress": {
"unit": "percent",
"value": 50
},
"numberOfBatches": 2,
"currentBatch": 1,
"gracePeriod": 600,
"strategyAction": "REPLACE_SERVER",
"healthCheck": "NONE",
"instances": [
{
"blue": [
{
"instanceId": "i-0b3f1234567890ae5",
"lifeCycle": "spot",
"batchNum": 1,
"status": "RUNNING"
}
],
"green": [
{
"instanceId": "i-0b3f1234567890dd5",
"lifeCycle": "spot",
"batchNum": 1,
"status": "RUNNING"
}
]
}
]
}
],
"count": 1
}
}