latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Elastigroup Azure Spot VMs

Virtual Machine Protection

Protect virtual machines in Elastigroup cluster.

post/azure/compute/group/{groupId}/vm/{vmName}/protection

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"
    }
  }
}