BlockDeviceSpecification

BlockDeviceSpecification
BlockDeviceSpecification
JSON Example
{
    "name": "string",
    "projectId": "e058",
    "deploymentId": "123e4567-e89b-12d3-a456-426655440000",
    "customProperties": {
        "customProperties": "string"
    },
    "description": "string",
    "capacityInGB": 78,
    "encrypted": true,
    "persistent": true,
    "sourceReference": "ami-0d4cfd66",
    "diskContentBase64": "dGVzdA",
    "constraints": [
        {
            "mandatory": false,
            "expression": "ha:strong"
        }
    ],
    "tags": [
        {
            "key": "location",
            "value": "SOF"
        }
    ]
}
string
name
Required

A human-friendly name used as an identifier in APIs that support this option.

string
projectId
Required

The id of the project the current user belongs to.

string
deploymentId
Optional

The id of the deployment that is associated with this resource

object
customProperties
Optional

Additional custom properties that may be used to extend this resource.

string
description
Optional

A human-friendly description.

integer As int32 As int32
capacityInGB
Required

Capacity of the block device in GB.

boolean
encrypted
Optional

Indicates whether the block device should be encrypted or not.

boolean
persistent
Optional

Indicates whether the block device survives a delete action.

string
sourceReference
Optional

Reference to URI using which the block device has to be created.

string
diskContentBase64
Optional

Content of a disk, base64 encoded.

constraints
Optional

Constraints that are used to drive placement policies for the block device that is produced from this specification. Constraint expressions are matched against tags on existing placement targets.

array of Tag
tags
Optional

A set of tag keys and optional values that should be set on any resource that is produced from this specification.