Cloud.Volume

Cloud.Volume
Cloud.Volume

Request schema for provisioning of a Storage

JSON Example
{
    "account": "string",
    "capacityGb": 0,
    "constraints": [
        {
            "tag": "string"
        }
    ],
    "count": 0,
    "encrypted": false,
    "maxDiskCapacityInGB": 0,
    "name": "string",
    "persistent": false,
    "providerId": "string",
    "region": "string",
    "resourceGroupName": "string",
    "resourceName": "string",
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "zone": "string"
}
string
account
Optional

Cloud Account indicates the name of the endpoint used to provision this machine.

integer
capacityGb
Required

Disk size in gigabytes.

array of object
constraints
Optional

To create the correct storage at provisioning time, blueprint constraints are matched against infrastructure capability tags. Constraints must include the key name. Options include value, negative [!], and hard or soft requirement.

integer
count
Optional

The number of resource instances to be created.

boolean
encrypted
Optional

Whether or not the disk is encrypted.

integer
maxDiskCapacityInGB
Optional

Maximum disk size allowed for create or resize disk operation

string
name
Optional

Disk name.

boolean
persistent
Optional

Indicates that the disk will survive machine or deployment deletion

string
providerId
Optional

A unique identifier of the resource in the context of the provider.

string
region
Optional

Region name where disk landed.

string
resourceGroupName
Optional

Name of an existing Azure resource group into which the disk should be created. Only applicable when creating an independent disk that is disconnected from any machine. When a disk is connected to a machine, it is created along with machine and therefore machine's resource group is preferred over disk's resource group.

string
resourceName
Optional

The actual name of the disk determined after the allocation.

array of object
tags
Optional

Tags

string
zone
Optional

Zone name where disk landed