Create Virtual Machine Disk
POST/v1/terraform/virtual_machine_disk
Create a virtual machine disk
Request
- application/json
Body
required
name Name (string)required
Possible values: non-empty and <= 64 characters
The name of the machine size used by the provider
disk_size Disk Size (integer)required
The capacity of the Disk in GiB
disk_type Disk Type (string)required
Possible values: non-empty and <= 64 characters
The type of disk, Standard or Premium
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
name Name (string)required
Possible values: non-empty and <= 64 characters
The name of the machine size used by the provider
disk_size Disk Size (integer)required
The capacity of the Disk in GiB
disk_type Disk Type (string)required
Possible values: non-empty and <= 64 characters
The type of disk, Standard or Premium
virtual_machine_disk_id uuidrequired
{
"name": "string",
"disk_size": 0,
"disk_type": "string",
"virtual_machine_disk_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...