[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

TemplateBatchPatchRequestTOV1

Properties

patch Optional

Patch model for updating template.


query Optional

JSON Example

{
	"patch": {
		"agentCustomization": {
			"demSettingId": "string",
			"disconnectSessionTimeoutMins": 0,
			"dtemplateName": "string",
			"emptySessionLogoffType": "DISCONNECT",
			"emptySessionTimeoutMins": 0,
			"esUrl": "string",
			"proxyInfo": {
				"bypass": "10.12.100.10;10.120.100.10;100.12.*.100",
				"server": "http://<<ipaddress or cname>>:<<port>>"
			},
			"runOnceCommand": "string",
			"sessionLoadBalancingSettings": {
				"LBCHANGETHRESHOLD": 1,
				"LBCPUTHRESHOLD": 50,
				"LBDISKQUEUELENTHRESHOLD": 50,
				"LBDISKREADLATENCYTHRESHOLD": 50,
				"LBDISKWRITELATENCYTHRESHOLD": 50,
				"LBINCLUDESESSIONCOUNT": true,
				"LBMEMTHRESHOLD": 50,
				"LBUSECUSTOMSCRIPT": false,
				"loadIndexThresholdPercent": 0,
				"modelVersion": 0
			},
			"sessionsPerVm": 1,
			"skipDomainJoin": false
		},
		"applicationProperties": {
			"key": "string"
		},
		"computerAccountOU": "CN=Computers",
		"description": "My floating desktop template",
		"diskEncryption": {
			"enabled": false,
			"modelVersion": 0
		},
		"diskSizeInGB": 0,
		"imageReference": {
			"markerId": "string",
			"modelVersion": 0,
			"streamId": "string",
			"versionId": "string"
		},
		"infrastructure": {
			"key": {
				"data": {},
				"id": "string",
				"infrastructureLinks": {},
				"kind": "string"
			}
		},
		"maxQuiescingServers": 10,
		"name": "My floating desktop template",
		"networks": [
			{
				"data": {},
				"id": "string",
				"infrastructureLinks": {},
				"kind": "string"
			}
		],
		"powerPolicy": {
			"enabled": false,
			"min": 2,
			"minUnit": "PERCENTAGE",
			"modelVersion": 0,
			"occupancyPresetMode": "BALANCED",
			"powerOffProtectTimeMins": 30,
			"powerSchedules": [
				{
					"allDay": false,
					"endTime": "17:00",
					"min": 5,
					"modelVersion": 0,
					"name": "VmwareWeekdaySchedule",
					"occursOn": 31,
					"startTime": "08:00",
					"timeZone": "Asia/Tokyo"
				}
			]
		},
		"protocols": [
			"BLAST"
		],
		"resourceTags": {
			"key": "string"
		},
		"sessionsPerVm": 0,
		"sparePolicy": {
			"increment": 200,
			"limit": 10,
			"max": 4,
			"min": 2,
			"modelVersion": 0
		},
		"templateConnectivityStatus": "OFFLINE",
		"vmLicenseType": "NONE"
	},
	"query": {
		"ids": [
			"string"
		],
		"orgId": "string",
		"search": "string"
	}
}
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Parameter To

Batch Patch

Feedback

Was this page helpful?