Compute Space Requirements
All the listed privileges are required -
Privileges | Description |
---|---|
VC_CONFIG_VIEW | Caller should have permission to this privilege, to perform this operation. |
POOL_VIEW | Caller should have permission to this privilege, on the associated desktop or farm. |
{
"base_snapshot_id": "snapshot-22",
"base_vm_id": "vm-34",
"id": "d0325b13-2bf1-4fa4-b027-e780004f2d1e",
"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.
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.
OK
[
{
"disk_type": "string",
"max_size_disk_gb": 15,
"mid_size_disk_gb": 10,
"min_size_disk_gb": 5
}
]
Bad Request
User is not authenticated
Access to the resource is forbidden
Not Found