Elastigroup Azure Stateful

Detach Data Disk From Stateful Node

Detach a data disk from a stateful node.

put/azure/compute/statefulNode/{nodeId}/dataDisk/detach

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/azure/compute/statefulNode/{nodeId}/dataDisk/detach
  • 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

dataDiskNamestring required

The name of the created data disk.

dataDiskResourceGroupNamestring required

The resource group name in which the data disk exists.

shouldDeallocateboolean required

Indicates whether to delete the data disk in addition to detach.

ttlInHoursinteger

Hours to keep the disk alive before deletion.

Example request

{
  "dataDiskName": "MyDisk",
  "dataDiskResourceGroupName": "dataDiskResourceGroup",
  "shouldDeallocate": true,
  "ttlInHours": 1
}

Changes

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