Elastigroup Azure Stateful

Delete Stateful Node

Delete an existing stateful node from the account.

delete/azure/compute/statefulNode/{nodeId}

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/azure/compute/statefulNode/{nodeId}
  • Auth
    HTTP bearer

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
#/paths/~1azure~1compute~1statefulNode~1%7BnodeId%7D/get/parameters/1 (unresolved $ref)

Request body

Example request

{
  "deallocationConfig": {
    "shouldTerminateVm": true,
    "shouldDeregisterFromLb": true,
    "networkDeallocationConfig": {
      "shouldDeallocate": true,
      "ttlInHours": 1
    },
    "diskDeallocationConfig": {
      "shouldDeallocate": true,
      "ttlInHours": 1
    },
    "snapshotDeallocationConfig": {
      "shouldDeallocate": true,
      "ttlInHours": 1
    },
    "publicIpDeallocationConfig": {
      "shouldDeallocate": true,
      "ttlInHours": 1
    }
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.