DatastoreSpaceRequirementSpecV2
Datastore space requirement to be computed.
{
"base_snapshot_id": "snapshot-22",
"base_vm_id": "vm-34",
"id": "d0325b13-2bf1-4fa4-b027-e780004f2d1e",
"persistent_disk_size_mb": 2048,
"pool_size": 0,
"source": "INSTANT_CLONE",
"type": "FARM",
"use_separate_replica_and_os_disk": false,
"use_vsan": false,
"user_assignment": "string",
"vcenter_id": "ed3f92f3-0eef-4bf1-a405-de69f138d382",
"vm_template_id": "vm-344"
}
Parent VM snapshot ID. Must be set if source is INSTANT_CLONE.
Parent VM ID. Must be set if source is INSTANT_CLONE.
Id of inventory resource for which space requirement is to be found. Can be desktop pool or farm id.
Indicates the size of the persistent disk in MB.
Desired size of the desktop pool or farm.
Source or provisioning type of machines.
- FULL_CLONE: Virtual Machines created from a vCenter Server template.
- INSTANT_CLONE: Virtual Machines created by instant clone engine.
Type of inventory resource for which space requirement is to be found.
- DESKTOP_POOL: Desktop pool inventory resource.
- FARM: Farm inventory resource.
Indicates whether separate datastores are to be used for OS and replica disks. Will be ignored if source is FULL_CLONE or vSAN is to be configured. Default value is false.
Indicates whether vSAN is to be configured for the desktop pool or farm. Default value is false. vSAN should be configured if set to true.
User assignment of the desktop pool. Will be ignored if type is FARM. Default value is FLOATING.
- DEDICATED: Dedicated user assignment.
- FLOATING: Floating user assignment.
ID of virtual center where parent VM or master image is present.
VM template ID. Must be set if source is FULL_CLONE.