Elastigroup Azure Spot VMs
Virtual Machine Protection
Protect virtual machines in Elastigroup cluster.
post/azure/compute/group/{groupId}/vm/{vmName}/protection
Request
- Base URLhttps://api.spotinst.io
- URLhttps://api.spotinst.io/azure/compute/group/{groupId}/vm/{vmName}/protection
- AuthHTTP bearer
Path parameters
vmNamestring required
The virtual machine name to protect.
Query parameters
ttlInMinutesinteger
Specify a TTL (in minutes) for this protection, meaning, for how long the protection will be valid for. (If null, infinite protection)
Parameters
#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
#/paths/~1aws~1ec2~1group~1%7BgroupId%7D/put/parameters/0 (unresolved $ref)
Response
Set protection
Example response
{
"response": {
"status": {
"code": 200,
"message": "OK"
}
}
}Changes
No recorded changes to this operation across all 12 revisions of this API.