DesktopPoolVirtualMachinePatternNamingSettingsCreateSpec
Applicable To: Automated desktop pool.
Naming pattern settings for Automated desktop pool.
{
"max_number_of_machines": 100,
"min_number_of_machines": 10,
"naming_pattern": "vm-{n}-sales",
"number_of_spare_machines": 10,
"provisioning_time": "UP_FRONT"
}
Maximum number of machines in the desktop pool.
Default value is 1.
This is applicable if provisioning_time is set to ON_DEMAND with default value of 0.
Virtual machines will be named according to the specified naming pattern.
By default, view manager appends a unique number to the specified pattern to provide a unique name for each virtual machine. To place this unique number elsewhere in the pattern, use '{n}'. (For example: vm-{n}-sales.) The unique number can also be made a fixed length. (For example: vm-{n:fixed=3}-sales will name VMs from vm-001-sales to vm-999-sales).
Machine names are constrained to a maximum size of 15 characters including the unique number. Therefore, care must be taken when choosing a pattern. If the maximum desktop size is 9 machines, the pattern must be at most 14 characters. For 99 machines, 13 characters, for 999 machines, 12 characters. For 9999 machines, 11 characters. If using a fixed size token, use a maximum of 14 characters for "n=1", 13 characters for "n=2", 12 characters for "n=3", and 11 characters for "n=4".
If {n} is specified with no size, a size of 2 is automatically used and if no {} is specified, {n=2} is automatically appended to the end of the pattern.
Number of spare powered on machines.
Default value is 1.
Determines when the machines are provisioned.
Default value is UP_FRONT
- ON_DEMAND: Provision machines on demand.
- UP_FRONT: Provision all machines up-front.