linode · Schema

VolumeRequest

Properties

Name Type Description
label string The label for the new volume.
size integer The size of the volume in GB.
region string The region to create the volume in.
linode_id integer A Linode instance to attach the volume to.
tags array Tags for the new volume.
View JSON Schema on GitHub

JSON Schema

linode-volumerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VolumeRequest",
  "title": "VolumeRequest",
  "type": "object",
  "required": [
    "label",
    "size",
    "region"
  ],
  "properties": {
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32,
      "description": "The label for the new volume."
    },
    "size": {
      "type": "integer",
      "minimum": 10,
      "maximum": 10240,
      "description": "The size of the volume in GB."
    },
    "region": {
      "type": "string",
      "description": "The region to create the volume in."
    },
    "linode_id": {
      "type": "integer",
      "description": "A Linode instance to attach the volume to."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tags for the new volume."
    }
  }
}