AttachDetachDataDisksRequest

Specifies the input for attaching and detaching data disks.

Cloud ComputingComputeIaaSInfrastructureVirtual Machines

Properties

Name Type Description
dataDisksToAttach array The list of managed data disks to be attached.
dataDisksToDetach array The list of managed data disks to be detached.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-virtual-machines-attachdetachdatadisksrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AttachDetachDataDisksRequest",
  "title": "AttachDetachDataDisksRequest",
  "type": "object",
  "description": "Specifies the input for attaching and detaching data disks.",
  "properties": {
    "dataDisksToAttach": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DataDisk"
      },
      "description": "The list of managed data disks to be attached."
    },
    "dataDisksToDetach": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "diskId": {
            "type": "string",
            "description": "ID of the managed data disk."
          },
          "detachOption": {
            "type": "string",
            "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment.",
            "enum": [
              "ForceDetach"
            ]
          }
        }
      },
      "description": "The list of managed data disks to be detached."
    }
  }
}