Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created May 19, 2022 13:53
Show Gist options
  • Save gowatana/2f24c8dd64dd33a8cb99dc3fd6ca940a to your computer and use it in GitHub Desktop.
Save gowatana/2f24c8dd64dd33a8cb99dc3fd6ca940a to your computer and use it in GitHub Desktop.
{
"Base": {
"accessGroup": "Root",
"description": null,
"name": "test-win2019-pool-02",
"displayName": "Test Win2019 Pool 02"
},
"DesktopSettings": {
"Enabled": true,
"Deleting": false,
"ConnectionServerRestrictions": null,
"LogoffSettings": {
"PowerPolicy": "ALWAYS_POWERED_ON",
"AutomaticLogoffPolicy": "NEVER",
"AutomaticLogoffMinutes": null,
"AllowUsersToResetMachines": false,
"AllowMultipleSessionsPerUser": false,
"DeleteOrRefreshMachineAfterLogoff": "DELETE",
"RefreshOsDiskAfterLogoff": "NEVER",
"RefreshPeriodDaysForReplicaOsDisk": null,
"RefreshThresholdPercentageForReplicaOsDisk": null,
"EmptySessionTimeoutPolicy": null,
"EmptySessionTimeoutMinutes": null,
"LogoffAfterTimeout": null,
"PreLaunchSessionTimeoutPolicy": null,
"PreLaunchSessionTimeoutMinutes": null,
"SessionTimeoutPolicy": null
},
"DisplayProtocolSettings": {
"SupportedDisplayProtocols": [
"BLAST",
"PCOIP",
"RDP"
],
"DefaultDisplayProtocol": "BLAST",
"AllowUsersToChooseProtocol": true,
"PcoipDisplaySettings": {
"Renderer3D": "MANAGE_BY_VSPHERE_CLIENT",
"EnableGRIDvGPUs": false,
"VGPUGridProfile": null,
"VRamSizeMB": null,
"VRamSizeKB": null,
"MaxNumberOfMonitors": null,
"MaxResolutionOfAnyOneMonitor": null
},
"EnableHTMLAccess": true,
"EnableCollaboration": false
},
"FlashSettings": {
"Quality": "NO_CONTROL",
"Throttling": "DISABLED"
},
"MirageConfigurationOverrides": {
"OverrideGlobalSetting": false,
"Enabled": null,
"Url": null
},
"CategoryFolderName": null,
"ClientRestrictions": false,
"ShortcutLocations": null,
"AllowMultipleSessionsPerUser": false,
"SupportedSessionType": "DESKTOP",
"CloudManaged": false,
"CloudAssigned": false,
"DisplayAssignedMachineName": false,
"DisplayMachineAlias": false
},
"Type": "AUTOMATED",
"AutomatedDesktopSpec": {
"virtualCenterProvisioningSettings": {
"EnableProvisioning": true,
"StopProvisioningOnError": true,
"MinReadyVMsOnVComposerMaintenance": 0,
"VirtualCenterProvisioningData": {
"datacenter": "/Datacenter-81",
"parentVm": "win2019-template-02",
"hostOrCluster": "/Datacenter-81/host/lab-cluster-81",
"resourcePool": "/Datacenter-81/host/lab-cluster-81/Resources",
"snapshot": "snapshot-for-ic-01",
"vmFolder": "/Datacenter-81/vm/vdi-pools",
"template": null
},
"VirtualCenterStorageSettings": {
"Datastores": {
"storageOvercommit": "UNBOUNDED",
"datastore": "/Datacenter-81/host/lab-cluster-81/Datastore-Local-VMFS-31"
},
"UseVSan": false,
"ViewComposerStorageSettings": {
"UseSeparateDatastoresReplicaAndOSDisks": false,
"ReplicaDiskDatastore": null,
"UseNativeSnapshots": false,
"SpaceReclamationSettings": {
"ReclaimVmDiskSpace": false,
"ReclamationThresholdGB": null
},
"PersistentDiskSettings": {
"RedirectWindowsProfile": false,
"UseSeparateDatastoresPersistentAndOSDisks": false,
"PersistentDiskDatastores": null,
"DiskSizeMB": null,
"DiskDriveLetter": null
},
"NonPersistentDiskSettings": {
"RedirectDisposableFiles": false,
"DiskSizeMB": null,
"DiskDriveLetter": null
}
},
"ViewStorageAcceleratorSettings": {
"UseViewStorageAccelerator": false,
"ViewComposerDiskTypes": "OS_DISKS",
"RegenerateViewStorageAcceleratorDays": 7,
"BlackoutTimes": null
}
},
"VirtualCenterNetworkingSettings": {
"Nics": null
},
"AddVirtualTPM": false
},
"userAssignment": {
"UserAssignment": "FLOATING",
"AutomaticAssignment": true,
"AllowMultipleAssignments": false
},
"customizationSettings": {
"CustomizationType": "CLONE_PREP",
"DomainAdministrator": null,
"InstantCloneEngineDomainAdministrator": {
"Id": "InstantCloneEngineDomainAdministrator/NTdjN2M2ZmQtY2I4Ny00M2M0LWFkZGUtNDI2MDQ5NTdlOTA0/NmRkZmNmN2EtNzJhZS00MzIwLTk4ODktOGFjNTY0Mjc5MWY3"
},
"AdContainer": "CN=Computers",
"ReusePreExistingAccounts": true,
"NoCustomizationSettings": null,
"SysprepCustomizationSettings": null,
"QuickprepCustomizationSettings": null,
"CloneprepCustomizationSettings": {
"InstantCloneEngineDomainAdministrator": "Administrator",
"PowerOffScriptName": null,
"PowerOffScriptParameters": null,
"PostSynchronizationScriptName": null,
"PostSynchronizationScriptParameters": null,
"PrimingComputerAccount": null
}
},
"virtualCenter": "lab-vc-81.euc.go-lab.jp",
"vmNamingSpec": {
"namingMethod": "PATTERN",
"patternNamingSettings": {
"NamingPattern": "test-ic-{n:fixed=2}",
"MaxNumberOfMachines": 1,
"NumberOfSpareMachines": 1,
"ProvisioningTime": "UP_FRONT",
"MinNumberOfMachines": null
},
"specificNamingSpec": null
},
"provisioningType": "INSTANT_CLONE_ENGINE",
"virtualCenterManagedCommonSettings": {
"TransparentPageSharingScope": "VM"
}
},
"ManualDesktopSpec": null,
"RdsDesktopSpec": null,
"GlobalEntitlementData": null
}
@gowatana
Copy link
Author

下記の投稿むけ。
Horizon を PowerCLI で操作してみる。(JSON でのデスクトップ プール作成編)
https://vm.gowatana.jp/entry/2022/05/19/233631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment