From 62d55b0ee7ab2d796507206ea5218f2ec559d076 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 7 May 2024 08:41:36 +0000 Subject: [PATCH] CodeGen from PR 28637 in Azure/azure-rest-api-specs Merge 38f66c5be7d4e413c3bf1690fc1b7ef5feb9990a into d6780442fd6f5db2421f5e31f493fca11ba2d4dc --- .../Microsoft.DesktopVirtualization.json | 577 --- .../Microsoft.DesktopVirtualization.json | 582 --- .../Microsoft.DesktopVirtualization.json | 582 --- .../Microsoft.DesktopVirtualization.json | 832 ---- .../Microsoft.DesktopVirtualization.json | 861 ---- .../Microsoft.DesktopVirtualization.json | 872 ---- .../Microsoft.DesktopVirtualization.json | 1220 ------ .../Microsoft.DesktopVirtualization.json | 1564 ------- .../Microsoft.DesktopVirtualization.json | 1564 ------- .../Microsoft.DesktopVirtualization.json | 1553 ------- .../Microsoft.DesktopVirtualization.json | 1835 -------- .../Microsoft.DesktopVirtualization.json | 1553 ------- .../Microsoft.DesktopVirtualization.json | 1893 --------- .../Microsoft.DesktopVirtualization.json | 1993 --------- .../Microsoft.DesktopVirtualization.json | 2314 ---------- .../Microsoft.DesktopVirtualization.json | 1980 --------- .../Microsoft.DesktopVirtualization.json | 2247 ---------- .../Microsoft.DesktopVirtualization.json | 2716 ------------ .../Microsoft.DesktopVirtualization.json | 2716 ------------ .../Microsoft.DesktopVirtualization.json | 2998 ------------- .../Microsoft.DesktopVirtualization.json | 3682 ---------------- .../Microsoft.DesktopVirtualization.json | 3746 ---------------- .../Microsoft.DesktopVirtualization.json | 3759 ----------------- schemas/common/autogeneratedResources.json | 528 --- 24 files changed, 44167 deletions(-) delete mode 100644 schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2021-07-12/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2022-09-09/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2023-09-05/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json delete mode 100644 schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json diff --git a/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json b/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index fd2a52810e..0000000000 --- a/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,577 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-23-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-23-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-23-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-23-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Shared" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoContext": { - "description": "Path to keyvault containing ssoContext secret.", - "type": "string" - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "resetToken": { - "description": "Update registration token.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2019-01-23-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json b/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 96b74662a9..0000000000 --- a/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,582 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-24-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-24-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-24-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-24-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Shared" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoContext": { - "description": "Path to keyvault containing ssoContext secret.", - "type": "string" - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2019-09-24-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json b/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 36522ae0a0..0000000000 --- a/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,582 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2019-12-10-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2019-12-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2019-12-10-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2019-12-10-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoContext": { - "description": "Path to keyvault containing ssoContext secret.", - "type": "string" - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2019-12-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json b/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index f26d8bf757..0000000000 --- a/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,832 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-21-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-21-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-21-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-21-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-21-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoContext": { - "description": "Path to keyvault containing ssoContext secret.", - "type": "string" - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-21-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-09-21-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json b/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 31aabafbf3..0000000000 --- a/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,861 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-19-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-19-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-19-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-19-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-19-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoContext": { - "description": "Path to keyvault containing ssoContext secret.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-19-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-10-19-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json b/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 988be7aa33..0000000000 --- a/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,872 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-02-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-02-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-02-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-02-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-02-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoContext": { - "description": "Path to keyvault containing ssoContext secret.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-02-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-02-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json b/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 3271932350..0000000000 --- a/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1220 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for scaling plan.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "format": "date-time", - "type": "string" - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "format": "date-time", - "type": "string" - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "format": "date-time", - "type": "string" - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2020-11-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 73cb022423..0000000000 --- a/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1564 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of scaling plan.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "format": "date-time", - "type": "string" - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "format": "date-time", - "type": "string" - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "format": "date-time", - "type": "string" - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-01-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 4033c78970..0000000000 --- a/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1564 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of scaling plan.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "format": "date-time", - "type": "string" - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "format": "date-time", - "type": "string" - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "format": "date-time", - "type": "string" - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-02-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 91f40d285b..0000000000 --- a/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1553 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "format": "date-time", - "type": "string" - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "format": "date-time", - "type": "string" - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "format": "date-time", - "type": "string" - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-03-09-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 6443abca0b..0000000000 --- a/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1835 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "The provisioning state of the private endpoint connection resource.", - "oneOf": [ - { - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "format": "date-time", - "type": "string" - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "format": "date-time", - "type": "string" - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "format": "date-time", - "type": "string" - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-07-12/Microsoft.DesktopVirtualization.json b/schemas/2021-07-12/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 51e6bdec30..0000000000 --- a/schemas/2021-07-12/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1553 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "format": "date-time", - "type": "string" - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "format": "date-time", - "type": "string" - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "format": "date-time", - "type": "string" - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-07-12" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 312a9d6c6c..0000000000 --- a/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1893 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "The provisioning state of the private endpoint connection resource.", - "oneOf": [ - { - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-09-03-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json b/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 110b3a6b99..0000000000 --- a/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1993 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AgentUpdateProperties": { - "description": "The preferred settings for updating the agent components (RDAgent, Geneva Monitoring agent, and side-by-side stack) on session hosts.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "The time zone for updating the agent components. Valid time zones can be found here: https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. A time zone must be specified if useSessionHostLocalTime is false.", - "type": "string" - }, - "maintenanceWindows": { - "description": "The maintenance windows (day and time) for updating the agent components. At least 1 window must be specified. Optionally, a 2nd window can be specified.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The preferred mechanism for updating the agent components. This is either Scheduled or Default.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Boolean indicating whether to update the agent components in the local time zone of each session host in the host pool. By default, this is false.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The preferred settings for updating the agent components (RDAgent, Geneva Monitoring agent, and side-by-side stack) on session hosts.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "The day of the week (Monday-Sunday).", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The starting hour of the maintenance window (0-23). Note that maintenance windows are 2 hours long. This means that updates can be applied anytime from the specified start hour to 2 hours after.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "The provisioning state of the private endpoint connection resource.", - "oneOf": [ - { - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "type": "object" - }, - "ScalingSchedule": { - "description": "Scaling plan schedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the scaling schedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-02-10-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json b/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 3ee2308b0f..0000000000 --- a/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2314 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "migrationRequest": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MigrationRequestProperties": { - "description": "Properties for arm migration.", - "properties": { - "migrationPath": { - "description": "The path to the legacy object to migrate.", - "type": "string" - }, - "operation": { - "description": "The type of operation for migration.", - "oneOf": [ - { - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "description": "The provisioning state of the private endpoint connection resource.", - "oneOf": [ - { - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-04-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-09-09/Microsoft.DesktopVirtualization.json b/schemas/2022-09-09/Microsoft.DesktopVirtualization.json deleted file mode 100644 index a962517c09..0000000000 --- a/schemas/2022-09-09/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1980 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-09-09" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json b/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 4a83bd21f0..0000000000 --- a/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2247 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-10-14-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json b/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 93dbae4048..0000000000 --- a/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2716 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - }, - { - "$ref": "#/definitions/scalingPlans_personalSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "showInFeed": { - "description": "Boolean representing whether the applicationGroup is show in the feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPersonalScheduleProperties": { - "description": "A ScalingPlanPersonalSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnLogoff": { - "description": "Action to be taken after a logoff during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnLogoff": { - "description": "Action to be taken after a logoff during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpAutoStartHosts": { - "description": "The desired startup behavior during the ramp up period for personal vms in the hostpool.", - "oneOf": [ - { - "enum": [ - "None", - "WithAssignedUser", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-07-07-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-09-05/Microsoft.DesktopVirtualization.json b/schemas/2023-09-05/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 4bff370394..0000000000 --- a/schemas/2023-09-05/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2716 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - }, - { - "$ref": "#/definitions/scalingPlans_personalSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "showInFeed": { - "description": "Boolean representing whether the applicationGroup is show in the feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPersonalScheduleProperties": { - "description": "A ScalingPlanPersonalSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnLogoff": { - "description": "Action to be taken after a logoff during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnLogoff": { - "description": "Action to be taken after a logoff during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpAutoStartHosts": { - "description": "The desired startup behavior during the ramp up period for personal vms in the hostpool.", - "oneOf": [ - { - "enum": [ - "None", - "WithAssignedUser", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-09-05" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json b/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index c06e93132b..0000000000 --- a/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2998 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "appAttachPackages": { - "description": "Microsoft.DesktopVirtualization/appAttachPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the App Attach package arm object", - "oneOf": [ - { - "maxLength": 100, - "minLength": 3, - "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/appAttachPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - }, - { - "$ref": "#/definitions/scalingPlans_personalSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "AppAttachPackageInfoProperties": { - "description": "Schema for Import Package Information properties.", - "properties": { - "certificateExpiry": { - "description": "Date certificate expires, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "certificateName": { - "description": "Certificate name found in the appxmanifest.xml. ", - "type": "string" - }, - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isPackageTimestamped": { - "description": "Is package timestamped so it can ignore the certificate expiry date", - "oneOf": [ - { - "enum": [ - "Timestamped", - "NotTimestamped" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageAlias": { - "description": "Alias of App Attach Package. Assigned at import time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageFullName": { - "description": "Package Full Name from appxmanifest.xml. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "AppAttachPackageProperties": { - "description": "Schema for App Attach Package properties.", - "properties": { - "failHealthCheckOnStagingFailure": { - "description": "Parameter indicating how the health check should behave if this package fails staging", - "oneOf": [ - { - "enum": [ - "Unhealthy", - "NeedsAssistance", - "DoNotFail" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolReferences": { - "description": "List of Hostpool resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "image": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "keyVaultURL": { - "description": "URL of keyvault location to store certificate", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "showInFeed": { - "description": "Boolean representing whether the applicationGroup is show in the feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPersonalScheduleProperties": { - "description": "A ScalingPlanPersonalSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnLogoff": { - "description": "Action to be taken after a logoff during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnLogoff": { - "description": "Action to be taken after a logoff during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpAutoStartHosts": { - "description": "The desired startup behavior during the ramp up period for personal vms in the hostpool.", - "oneOf": [ - { - "enum": [ - "None", - "WithAssignedUser", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-10-04-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json b/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index c3b82a14a0..0000000000 --- a/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,3682 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "appAttachPackages": { - "description": "Microsoft.DesktopVirtualization/appAttachPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the App Attach package arm object", - "oneOf": [ - { - "maxLength": 100, - "minLength": 3, - "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/appAttachPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_sessionHostManagements_childResource" - }, - { - "$ref": "#/definitions/hostPools_sessionHostConfigurations_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostConfigurations": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostConfiguration", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostManagements": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostManagement", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostManagementProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - }, - { - "$ref": "#/definitions/scalingPlans_personalSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ActiveDirectoryInfoProperties": { - "description": "Active directory info. Only one should be populated based on the join type.", - "properties": { - "domainCredentials": { - "description": "Credentials needed to create the virtual machine.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "domainName": { - "description": "The domain a virtual machine connected to a hostpool will join.", - "type": "string" - }, - "ouPath": { - "description": "The ou path.", - "type": "string" - } - }, - "required": [ - "domainCredentials", - "ouPath" - ], - "type": "object" - }, - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "AppAttachPackageInfoProperties": { - "description": "Schema for Import Package Information properties.", - "properties": { - "certificateExpiry": { - "description": "Date certificate expires, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "certificateName": { - "description": "Certificate name found in the appxmanifest.xml. ", - "type": "string" - }, - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isPackageTimestamped": { - "description": "Is package timestamped so it can ignore the certificate expiry date", - "oneOf": [ - { - "enum": [ - "Timestamped", - "NotTimestamped" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageAlias": { - "description": "Alias of App Attach Package. Assigned at import time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageFullName": { - "description": "Package Full Name from appxmanifest.xml. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "AppAttachPackageProperties": { - "description": "Schema for App Attach Package properties.", - "properties": { - "failHealthCheckOnStagingFailure": { - "description": "Parameter indicating how the health check should behave if this package fails staging", - "oneOf": [ - { - "enum": [ - "Unhealthy", - "NeedsAssistance", - "DoNotFail" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolReferences": { - "description": "List of Hostpool resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "image": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "keyVaultURL": { - "description": "URL of keyvault location to store certificate", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "showInFeed": { - "description": "Boolean representing whether the applicationGroup is show in the feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "AzureActiveDirectoryInfoProperties": { - "description": "Azure Active directory info. Only one should be populated based on the join type.", - "properties": { - "mdmProviderGuid": { - "description": "The mdm guid.", - "type": "string" - } - }, - "required": [ - "mdmProviderGuid" - ], - "type": "object" - }, - "BootDiagnosticsInfoProperties": { - "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor.", - "properties": { - "enabled": { - "description": "Whether boot diagnostics should be enabled on the Virtual Machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "storageUri": { - "description": "Uri of the storage account to use for placing the console output and screenshot.

If storageUri is not specified while enabling boot diagnostics, managed storage will be used.", - "type": "string" - } - }, - "type": "object" - }, - "CustomInfoProperties": { - "description": "Custom image information.", - "properties": { - "resourceId": { - "description": "The resource id of the custom image.", - "type": "string" - } - }, - "required": [ - "resourceId" - ], - "type": "object" - }, - "DiskInfoProperties": { - "description": "Disk information.", - "properties": { - "type": { - "description": "The disk type used by virtual machine in hostpool session host.", - "oneOf": [ - { - "enum": [ - "Standard_LRS", - "Premium_LRS", - "StandardSSD_LRS" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "DomainInfoProperties": { - "description": "Domain configurations of session hosts.", - "properties": { - "activeDirectoryInfo": { - "description": "Active directory info. Only one should be populated based on the join type.", - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "azureActiveDirectoryInfo": { - "description": "Azure active directory info. Only one should be populated based on the join type.", - "oneOf": [ - { - "$ref": "#/definitions/AzureActiveDirectoryInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "joinType": { - "description": "The type of domain join done by the virtual machine.", - "oneOf": [ - { - "enum": [ - "ActiveDirectory", - "AzureActiveDirectory" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "joinType" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managementType": { - "description": "The type of management for this hostpool, Automated or Standard. The default value is Automated.", - "oneOf": [ - { - "enum": [ - "Automated", - "Standard" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "HostPoolUpdateConfigurationProperties": { - "description": "The configurations of a hostpool update.", - "properties": { - "deleteOriginalVm": { - "description": "Whether not to save original disk. False by default.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "logOffDelayMinutes": { - "description": "Grace period before logging off users in minutes.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "logOffMessage": { - "description": "Log off message sent to user for logoff. Default value is an empty string.", - "maxLength": 260, - "type": "string" - }, - "maxVmsRemoved": { - "description": "The maximum number of virtual machines to be removed during hostpool update.", - "oneOf": [ - { - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "maxVmsRemoved", - "logOffDelayMinutes" - ], - "type": "object" - }, - "ImageInfoProperties": { - "description": "Image configurations of session host in a HostPool.", - "properties": { - "customInfo": { - "description": "The values to uniquely identify a custom image. Only one should be populated based on the image type.", - "oneOf": [ - { - "$ref": "#/definitions/CustomInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "marketplaceInfo": { - "description": "The values to uniquely identify a marketplace image. Only one should be populated based on the image type.", - "oneOf": [ - { - "$ref": "#/definitions/MarketplaceInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of image session hosts use in the hostpool.", - "oneOf": [ - { - "enum": [ - "Marketplace", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "KeyVaultCredentialsProperties": { - "description": "Credentials kept in the keyvault.", - "properties": { - "passwordKeyVaultSecretUri": { - "description": "The uri to access the secret that the password is stored in.", - "type": "string" - }, - "usernameKeyVaultSecretUri": { - "description": "The uri to access the secret that the username is stored in.", - "type": "string" - } - }, - "required": [ - "usernameKeyVaultSecretUri", - "passwordKeyVaultSecretUri" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MarketplaceInfoProperties": { - "description": "Marketplace image information.", - "properties": { - "exactVersion": { - "description": "The exact version of the image.", - "type": "string" - }, - "offer": { - "description": "The offer of the image.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the image.", - "type": "string" - }, - "sku": { - "description": "The sku of the image.", - "type": "string" - } - }, - "required": [ - "offer", - "publisher", - "sku", - "exactVersion" - ], - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "NetworkInfoProperties": { - "description": "Network information.", - "properties": { - "securityGroupId": { - "description": "The resource ID of the security group. Any allowable/open ports should be specified in the NSG.", - "type": "string" - }, - "subnetId": { - "description": "The resource ID of the subnet.", - "type": "string" - } - }, - "required": [ - "subnetId" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPersonalScheduleProperties": { - "description": "A ScalingPlanPersonalSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnLogoff": { - "description": "Action to be taken after a logoff during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnLogoff": { - "description": "Action to be taken after a logoff during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpAutoStartHosts": { - "description": "The desired startup behavior during the ramp up period for personal vms in the hostpool.", - "oneOf": [ - { - "enum": [ - "None", - "WithAssignedUser", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "SecurityInfoProperties": { - "description": "Security information.", - "properties": { - "secureBootEnabled": { - "description": "Whether to use secureBoot on the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The security type used by virtual machine in hostpool session host. Default is Standard.", - "oneOf": [ - { - "enum": [ - "Standard", - "TrustedLaunch", - "ConfidentialVM" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vTpmEnabled": { - "description": "Whether to use vTPM on the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "SessionHostConfigurationProperties": { - "description": "Session host configurations of HostPool.", - "properties": { - "availabilityZones": { - "description": "Value for availability zones to be used by the session host. Should be from [1,2,3].", - "oneOf": [ - { - "items": { - "type": "integer" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "bootDiagnosticsInfo": { - "description": "Boot Diagnostics information.", - "oneOf": [ - { - "$ref": "#/definitions/BootDiagnosticsInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customConfigurationScriptUrl": { - "description": "The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.", - "type": "string" - }, - "diskInfo": { - "description": "Disk information.", - "oneOf": [ - { - "$ref": "#/definitions/DiskInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "domainInfo": { - "description": "Domain configurations of session hosts.", - "oneOf": [ - { - "$ref": "#/definitions/DomainInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "friendlyName": { - "description": "Friendly name to describe this version of the SessionHostConfiguration.", - "maxLength": 260, - "type": "string" - }, - "imageInfo": { - "description": "Image configurations of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/ImageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "networkInfo": { - "description": "Network information.", - "oneOf": [ - { - "$ref": "#/definitions/NetworkInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "securityInfo": { - "description": "Security information.", - "oneOf": [ - { - "$ref": "#/definitions/SecurityInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmAdminCredentials": { - "description": "Local Admin credentials for session hosts.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmLocation": { - "description": "The Location for the session host to be created in. It will default to the location of the hostpool if not provided.", - "type": "string" - }, - "vmNamePrefix": { - "description": "The prefix that should be associated with session host names", - "maxLength": 11, - "type": "string" - }, - "vmResourceGroup": { - "description": "The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided.", - "type": "string" - }, - "vmSizeId": { - "description": "The id of the size of a virtual machine connected to a hostpool.", - "type": "string" - }, - "vmTags": { - "description": "Hashtable that lists key/value pair tags to apply to the VMs", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "vmNamePrefix", - "networkInfo", - "vmSizeId", - "diskInfo", - "imageInfo", - "domainInfo", - "vmAdminCredentials" - ], - "type": "object" - }, - "SessionHostManagementProperties": { - "description": "Session host Managements of HostPool.", - "properties": { - "scheduledDateTimeZone": { - "description": "Time zone for sessionHostManagement operations as defined in https://docs.microsoft.com/dotnet/api/system.timezoneinfo.findsystemtimezonebyid. Must be set if useLocalTime is true.", - "type": "string" - }, - "update": { - "description": "Parameters for a hostpool update.", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolUpdateConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduledDateTimeZone", - "update" - ], - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostConfigurations_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostConfiguration", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "sessionHostConfigurations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostManagements_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostManagement", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostManagementProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "sessionHostManagements" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-11-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json b/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 959a369bd3..0000000000 --- a/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,3746 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "appAttachPackages": { - "description": "Microsoft.DesktopVirtualization/appAttachPackages", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the App Attach package arm object", - "oneOf": [ - { - "maxLength": 100, - "minLength": 3, - "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/appAttachPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_sessionHostManagements_childResource" - }, - { - "$ref": "#/definitions/hostPools_sessionHostConfigurations_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostConfigurations": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostConfiguration", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostManagements": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostManagement", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostManagementProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - }, - { - "$ref": "#/definitions/scalingPlans_personalSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ActiveDirectoryInfoProperties": { - "description": "Active directory info. Only one should be populated based on the join type.", - "properties": { - "domainCredentials": { - "description": "Credentials needed to create the virtual machine.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "domainName": { - "description": "The domain a virtual machine connected to a hostpool will join.", - "type": "string" - }, - "ouPath": { - "description": "The ou path.", - "type": "string" - } - }, - "required": [ - "domainCredentials", - "ouPath" - ], - "type": "object" - }, - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "AppAttachPackageInfoProperties": { - "description": "Schema for Import Package Information properties.", - "properties": { - "certificateExpiry": { - "description": "Date certificate expires, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "certificateName": { - "description": "Certificate name found in the appxmanifest.xml. ", - "type": "string" - }, - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isPackageTimestamped": { - "description": "Is package timestamped so it can ignore the certificate expiry date", - "oneOf": [ - { - "enum": [ - "Timestamped", - "NotTimestamped" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageAlias": { - "description": "Alias of App Attach Package. Assigned at import time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageFullName": { - "description": "Package Full Name from appxmanifest.xml. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "AppAttachPackageProperties": { - "description": "Schema for App Attach Package properties.", - "properties": { - "failHealthCheckOnStagingFailure": { - "description": "Parameter indicating how the health check should behave if this package fails staging", - "oneOf": [ - { - "enum": [ - "Unhealthy", - "NeedsAssistance", - "DoNotFail" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolReferences": { - "description": "List of Hostpool resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "image": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "keyVaultURL": { - "description": "URL of keyvault location to store certificate", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "showInFeed": { - "description": "Boolean representing whether the applicationGroup is show in the feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "AzureActiveDirectoryInfoProperties": { - "description": "Azure Active directory info. Only one should be populated based on the join type.", - "properties": { - "mdmProviderGuid": { - "description": "The mdm guid.", - "type": "string" - } - }, - "required": [ - "mdmProviderGuid" - ], - "type": "object" - }, - "BootDiagnosticsInfoProperties": { - "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor.", - "properties": { - "enabled": { - "description": "Whether boot diagnostics should be enabled on the Virtual Machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "storageUri": { - "description": "Uri of the storage account to use for placing the console output and screenshot.

If storageUri is not specified while enabling boot diagnostics, managed storage will be used.", - "type": "string" - } - }, - "type": "object" - }, - "CustomInfoProperties": { - "description": "Custom image information.", - "properties": { - "resourceId": { - "description": "The resource id of the custom image.", - "type": "string" - } - }, - "required": [ - "resourceId" - ], - "type": "object" - }, - "DiskInfoProperties": { - "description": "Disk information.", - "properties": { - "type": { - "description": "The disk type used by virtual machine in hostpool session host.", - "oneOf": [ - { - "enum": [ - "Standard_LRS", - "Premium_LRS", - "StandardSSD_LRS" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "DomainInfoProperties": { - "description": "Domain configurations of session hosts.", - "properties": { - "activeDirectoryInfo": { - "description": "Active directory info. Only one should be populated based on the join type.", - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "azureActiveDirectoryInfo": { - "description": "Azure active directory info. Only one should be populated based on the join type.", - "oneOf": [ - { - "$ref": "#/definitions/AzureActiveDirectoryInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "joinType": { - "description": "The type of domain join done by the virtual machine.", - "oneOf": [ - { - "enum": [ - "ActiveDirectory", - "AzureActiveDirectory" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "joinType" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "directUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managedPrivateUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managementType": { - "description": "The type of management for this hostpool, Automated or Standard. The default value is Automated.", - "oneOf": [ - { - "enum": [ - "Automated", - "Standard" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "relayUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "HostPoolUpdateConfigurationProperties": { - "description": "The configurations of a hostpool update.", - "properties": { - "deleteOriginalVm": { - "description": "Whether not to save original disk. False by default.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "logOffDelayMinutes": { - "description": "Grace period before logging off users in minutes.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "logOffMessage": { - "description": "Log off message sent to user for logoff. Default value is an empty string.", - "maxLength": 260, - "type": "string" - }, - "maxVmsRemoved": { - "description": "The maximum number of virtual machines to be removed during hostpool update.", - "oneOf": [ - { - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "maxVmsRemoved", - "logOffDelayMinutes" - ], - "type": "object" - }, - "ImageInfoProperties": { - "description": "Image configurations of session host in a HostPool.", - "properties": { - "customInfo": { - "description": "The values to uniquely identify a custom image. Only one should be populated based on the image type.", - "oneOf": [ - { - "$ref": "#/definitions/CustomInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "marketplaceInfo": { - "description": "The values to uniquely identify a marketplace image. Only one should be populated based on the image type.", - "oneOf": [ - { - "$ref": "#/definitions/MarketplaceInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of image session hosts use in the hostpool.", - "oneOf": [ - { - "enum": [ - "Marketplace", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "KeyVaultCredentialsProperties": { - "description": "Credentials kept in the keyvault.", - "properties": { - "passwordKeyVaultSecretUri": { - "description": "The uri to access the secret that the password is stored in.", - "type": "string" - }, - "usernameKeyVaultSecretUri": { - "description": "The uri to access the secret that the username is stored in.", - "type": "string" - } - }, - "required": [ - "usernameKeyVaultSecretUri", - "passwordKeyVaultSecretUri" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MarketplaceInfoProperties": { - "description": "Marketplace image information.", - "properties": { - "exactVersion": { - "description": "The exact version of the image.", - "type": "string" - }, - "offer": { - "description": "The offer of the image.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the image.", - "type": "string" - }, - "sku": { - "description": "The sku of the image.", - "type": "string" - } - }, - "required": [ - "offer", - "publisher", - "sku", - "exactVersion" - ], - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of package dependency.", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "NetworkInfoProperties": { - "description": "Network information.", - "properties": { - "securityGroupId": { - "description": "The resource ID of the security group. Any allowable/open ports should be specified in the NSG.", - "type": "string" - }, - "subnetId": { - "description": "The resource ID of the subnet.", - "type": "string" - } - }, - "required": [ - "subnetId" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPersonalScheduleProperties": { - "description": "A ScalingPlanPersonalSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnLogoff": { - "description": "Action to be taken after a logoff during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnLogoff": { - "description": "Action to be taken after a logoff during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpAutoStartHosts": { - "description": "The desired startup behavior during the ramp up period for personal vms in the hostpool.", - "oneOf": [ - { - "enum": [ - "None", - "WithAssignedUser", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "SecurityInfoProperties": { - "description": "Security information.", - "properties": { - "secureBootEnabled": { - "description": "Whether to use secureBoot on the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The security type used by virtual machine in hostpool session host. Default is Standard.", - "oneOf": [ - { - "enum": [ - "Standard", - "TrustedLaunch", - "ConfidentialVM" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vTpmEnabled": { - "description": "Whether to use vTPM on the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "SessionHostConfigurationProperties": { - "description": "Session host configurations of HostPool.", - "properties": { - "availabilityZones": { - "description": "Value for availability zones to be used by the session host. Should be from [1,2,3].", - "oneOf": [ - { - "items": { - "type": "integer" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "bootDiagnosticsInfo": { - "description": "Boot Diagnostics information.", - "oneOf": [ - { - "$ref": "#/definitions/BootDiagnosticsInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customConfigurationScriptUrl": { - "description": "The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.", - "type": "string" - }, - "diskInfo": { - "description": "Disk information.", - "oneOf": [ - { - "$ref": "#/definitions/DiskInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "domainInfo": { - "description": "Domain configurations of session hosts.", - "oneOf": [ - { - "$ref": "#/definitions/DomainInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "friendlyName": { - "description": "Friendly name to describe this version of the SessionHostConfiguration.", - "maxLength": 260, - "type": "string" - }, - "imageInfo": { - "description": "Image configurations of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/ImageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "networkInfo": { - "description": "Network information.", - "oneOf": [ - { - "$ref": "#/definitions/NetworkInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "securityInfo": { - "description": "Security information.", - "oneOf": [ - { - "$ref": "#/definitions/SecurityInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmAdminCredentials": { - "description": "Local Admin credentials for session hosts.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmLocation": { - "description": "The Location for the session host to be created in. It will default to the location of the hostpool if not provided.", - "type": "string" - }, - "vmNamePrefix": { - "description": "The prefix that should be associated with session host names", - "maxLength": 11, - "type": "string" - }, - "vmResourceGroup": { - "description": "The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided.", - "type": "string" - }, - "vmSizeId": { - "description": "The id of the size of a virtual machine connected to a hostpool.", - "type": "string" - }, - "vmTags": { - "description": "Hashtable that lists key/value pair tags to apply to the VMs", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "vmNamePrefix", - "networkInfo", - "vmSizeId", - "diskInfo", - "imageInfo", - "domainInfo", - "vmAdminCredentials" - ], - "type": "object" - }, - "SessionHostManagementProperties": { - "description": "Session host Managements of HostPool.", - "properties": { - "scheduledDateTimeZone": { - "description": "Time zone for sessionHostManagement operations as defined in https://docs.microsoft.com/dotnet/api/system.timezoneinfo.findsystemtimezonebyid. Must be set if useLocalTime is true.", - "type": "string" - }, - "update": { - "description": "Parameters for a hostpool update.", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolUpdateConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduledDateTimeZone", - "update" - ], - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostConfigurations_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostConfiguration", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "sessionHostConfigurations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostManagements_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostManagement", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostManagementProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "sessionHostManagements" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-01-16-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json b/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 140f04fbcd..0000000000 --- a/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,3759 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "appAttachPackages": { - "description": "Microsoft.DesktopVirtualization/appAttachPackages", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the App Attach package arm object", - "oneOf": [ - { - "maxLength": 100, - "minLength": 3, - "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/appAttachPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups": { - "description": "Microsoft.DesktopVirtualization/applicationGroups", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the application group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for ApplicationGroup", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "applicationGroups_applications": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools": { - "description": "Microsoft.DesktopVirtualization/hostPools", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the host pool within the specified resource group", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for HostPool", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_sessionHostManagements_childResource" - }, - { - "$ref": "#/definitions/hostPools_sessionHostConfigurations_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostConfigurations": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostConfiguration", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostManagements": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostManagement", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostManagementProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans": { - "description": "Microsoft.DesktopVirtualization/scalingPlans", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the scaling plan.", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for scaling plan.", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - }, - { - "$ref": "#/definitions/scalingPlans_personalSchedules_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces": { - "description": "Microsoft.DesktopVirtualization/workspaces", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "oneOf": [ - { - "pattern": "^[-\\w\\._,\\(\\)]+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "managedBy": { - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.", - "type": "string" - }, - "name": { - "description": "The name of the workspace", - "maxLength": 64, - "minLength": 3, - "type": "string" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for Workspace", - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ActiveDirectoryInfoProperties": { - "description": "Active directory info. Only one should be populated based on the join type.", - "properties": { - "domainCredentials": { - "description": "Credentials needed to create the virtual machine.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "domainName": { - "description": "The domain a virtual machine connected to a hostpool will join.", - "type": "string" - }, - "ouPath": { - "description": "The ou path.", - "type": "string" - } - }, - "required": [ - "domainCredentials", - "ouPath" - ], - "type": "object" - }, - "AgentUpdateProperties": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "properties": { - "maintenanceWindowTimeZone": { - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.", - "type": "string" - }, - "maintenanceWindows": { - "description": "List of maintenance windows. Maintenance windows are 2 hours long.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of maintenance for session host components.", - "oneOf": [ - { - "enum": [ - "Default", - "Scheduled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "useSessionHostLocalTime": { - "description": "Whether to use localTime of the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "AppAttachPackageInfoProperties": { - "description": "Schema for Import Package Information properties.", - "properties": { - "certificateExpiry": { - "description": "Date certificate expires, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "certificateName": { - "description": "Certificate name found in the appxmanifest.xml. ", - "type": "string" - }, - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM/APP-V image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isPackageTimestamped": { - "description": "Is package timestamped so it can ignore the certificate expiry date", - "oneOf": [ - { - "enum": [ - "Timestamped", - "NotTimestamped" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date the package source was last updated, for Msix packages this is found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageAlias": { - "description": "Alias of App Attach Package. Assigned at import time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Identifier not including the package version, for Msix packages it is the family name from the appxmanifest.xml. ", - "type": "string" - }, - "packageFullName": { - "description": "Identifier including the package version, for Msix packages it is the full name from the appxmanifest.xml. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "AppAttachPackageProperties": { - "description": "Schema for App Attach Package properties.", - "properties": { - "customData": { - "description": "Field that can be populated with custom data and filtered on in list GET calls", - "type": "string" - }, - "failHealthCheckOnStagingFailure": { - "description": "Parameter indicating how the health check should behave if this package fails staging", - "oneOf": [ - { - "enum": [ - "Unhealthy", - "NeedsAssistance", - "DoNotFail" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolReferences": { - "description": "List of Hostpool resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "image": { - "description": "Detailed properties for App Attach Package", - "oneOf": [ - { - "$ref": "#/definitions/AppAttachPackageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "keyVaultURL": { - "description": "URL of keyvault location to store certificate", - "type": "string" - }, - "packageLookbackUrl": { - "description": "Lookback url to third party control plane, is null for native app attach packages", - "type": "string" - }, - "packageOwnerName": { - "description": "Specific name of package owner, is \"AppAttach\" for native app attach packages", - "type": "string" - } - }, - "type": "object" - }, - "ApplicationGroupProperties": { - "description": "Schema for ApplicationGroup properties.", - "properties": { - "applicationGroupType": { - "description": "Resource Type of ApplicationGroup.", - "oneOf": [ - { - "enum": [ - "RemoteApp", - "Desktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of ApplicationGroup.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of ApplicationGroup.", - "type": "string" - }, - "hostPoolArmPath": { - "description": "HostPool arm path of ApplicationGroup.", - "type": "string" - }, - "showInFeed": { - "description": "Boolean representing whether the applicationGroup is show in the feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hostPoolArmPath", - "applicationGroupType" - ], - "type": "object" - }, - "ApplicationProperties": { - "description": "Schema for Application properties.", - "properties": { - "applicationType": { - "description": "Resource Type of Application.", - "oneOf": [ - { - "enum": [ - "InBuilt", - "MsixApplication" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "commandLineArguments": { - "description": "Command Line Arguments for Application.", - "type": "string" - }, - "commandLineSetting": { - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.", - "oneOf": [ - { - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Application.", - "type": "string" - }, - "filePath": { - "description": "Specifies a path for the executable file for the application.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Application.", - "type": "string" - }, - "iconIndex": { - "description": "Index of the icon.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "iconPath": { - "description": "Path to icon.", - "type": "string" - }, - "msixPackageApplicationId": { - "description": "Specifies the package application Id for MSIX applications", - "type": "string" - }, - "msixPackageFamilyName": { - "description": "Specifies the package family name for MSIX applications", - "type": "string" - }, - "showInPortal": { - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "commandLineSetting" - ], - "type": "object" - }, - "AzureActiveDirectoryInfoProperties": { - "description": "Azure Active directory info. Only one should be populated based on the join type.", - "properties": { - "mdmProviderGuid": { - "description": "The mdm guid.", - "type": "string" - } - }, - "required": [ - "mdmProviderGuid" - ], - "type": "object" - }, - "BootDiagnosticsInfoProperties": { - "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor.", - "properties": { - "enabled": { - "description": "Whether boot diagnostics should be enabled on the Virtual Machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "storageUri": { - "description": "Uri of the storage account to use for placing the console output and screenshot.

If storageUri is not specified while enabling boot diagnostics, managed storage will be used.", - "type": "string" - } - }, - "type": "object" - }, - "CustomInfoProperties": { - "description": "Custom image information.", - "properties": { - "resourceId": { - "description": "The resource id of the custom image.", - "type": "string" - } - }, - "required": [ - "resourceId" - ], - "type": "object" - }, - "DiskInfoProperties": { - "description": "Disk information.", - "properties": { - "type": { - "description": "The disk type used by virtual machine in hostpool session host.", - "oneOf": [ - { - "enum": [ - "Standard_LRS", - "Premium_LRS", - "StandardSSD_LRS" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "DomainInfoProperties": { - "description": "Domain configurations of session hosts.", - "properties": { - "activeDirectoryInfo": { - "description": "Active directory info. Only one should be populated based on the join type.", - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "azureActiveDirectoryInfo": { - "description": "Azure active directory info. Only one should be populated based on the join type.", - "oneOf": [ - { - "$ref": "#/definitions/AzureActiveDirectoryInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "joinType": { - "description": "The type of domain join done by the virtual machine.", - "oneOf": [ - { - "enum": [ - "ActiveDirectory", - "AzureActiveDirectory" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "joinType" - ], - "type": "object" - }, - "HostPoolProperties": { - "description": "Properties of HostPool.", - "properties": { - "agentUpdate": { - "description": "The session host configuration for updating agent, monitoring agent, and stack component.", - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customRdpProperty": { - "description": "Custom rdp property of HostPool.", - "type": "string" - }, - "description": { - "description": "Description of HostPool.", - "type": "string" - }, - "directUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "friendlyName": { - "description": "Friendly name of HostPool.", - "type": "string" - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "loadBalancerType": { - "description": "The type of the load balancer.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent", - "MultiplePersistent" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managedPrivateUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "managementType": { - "description": "The type of management for this hostpool, Automated or Standard. The default value is Automated.", - "oneOf": [ - { - "enum": [ - "Automated", - "Standard" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maxSessionLimit": { - "description": "The max session limit of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "personalDesktopAssignmentType": { - "description": "PersonalDesktopAssignment type for HostPool.", - "oneOf": [ - { - "enum": [ - "Automatic", - "Direct" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "preferredAppGroupType": { - "description": "The type of preferred application group type, default to Desktop Application Group", - "oneOf": [ - { - "enum": [ - "None", - "Desktop", - "RailApplications" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "registrationInfo": { - "description": "The registration info of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "relayUDP": { - "description": "Default: AVD-wide settings are used to determine connection availability, Enabled: UDP will attempt this connection type when making connections. This means that this connection is possible, but is not guaranteed, as there are other factors that may prevent this connection type, Disabled: UDP will not attempt this connection type when making connections", - "oneOf": [ - { - "enum": [ - "Default", - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ring": { - "description": "The ring number of HostPool.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoClientId": { - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.", - "type": "string" - }, - "ssoClientSecretKeyVaultPath": { - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS.", - "type": "string" - }, - "ssoSecretType": { - "description": "The type of single sign on Secret Type.", - "oneOf": [ - { - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ssoadfsAuthority": { - "description": "URL to customer ADFS server for signing WVD SSO certificates.", - "type": "string" - }, - "startVMOnConnect": { - "description": "The flag to turn on/off StartVMOnConnect feature.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "validationEnvironment": { - "description": "Is validation environment.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmTemplate": { - "description": "VM template for sessionhosts configuration within hostpool.", - "type": "string" - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "type": "object" - }, - "HostPoolUpdateConfigurationProperties": { - "description": "The configurations of a hostpool update.", - "properties": { - "deleteOriginalVm": { - "description": "Whether not to save original disk. False by default.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "logOffDelayMinutes": { - "description": "Grace period before logging off users in minutes.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "logOffMessage": { - "description": "Log off message sent to user for logoff. Default value is an empty string.", - "maxLength": 260, - "type": "string" - }, - "maxVmsRemoved": { - "description": "The maximum number of virtual machines to be removed during hostpool update.", - "oneOf": [ - { - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "maxVmsRemoved", - "logOffDelayMinutes" - ], - "type": "object" - }, - "ImageInfoProperties": { - "description": "Image configurations of session host in a HostPool.", - "properties": { - "customInfo": { - "description": "The values to uniquely identify a custom image. Only one should be populated based on the image type.", - "oneOf": [ - { - "$ref": "#/definitions/CustomInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "marketplaceInfo": { - "description": "The values to uniquely identify a marketplace image. Only one should be populated based on the image type.", - "oneOf": [ - { - "$ref": "#/definitions/MarketplaceInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The type of image session hosts use in the hostpool.", - "oneOf": [ - { - "enum": [ - "Marketplace", - "Custom" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "KeyVaultCredentialsProperties": { - "description": "Credentials kept in the keyvault.", - "properties": { - "passwordKeyVaultSecretUri": { - "description": "The uri to access the secret that the password is stored in.", - "type": "string" - }, - "usernameKeyVaultSecretUri": { - "description": "The uri to access the secret that the username is stored in.", - "type": "string" - } - }, - "required": [ - "usernameKeyVaultSecretUri", - "passwordKeyVaultSecretUri" - ], - "type": "object" - }, - "MaintenanceWindowProperties": { - "description": "Maintenance window starting hour and day of week.", - "properties": { - "dayOfWeek": { - "description": "Day of the week.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hour": { - "description": "The update start hour of the day. (0 - 23)", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "MarketplaceInfoProperties": { - "description": "Marketplace image information.", - "properties": { - "exactVersion": { - "description": "The exact version of the image.", - "type": "string" - }, - "offer": { - "description": "The offer of the image.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the image.", - "type": "string" - }, - "sku": { - "description": "The sku of the image.", - "type": "string" - } - }, - "required": [ - "offer", - "publisher", - "sku", - "exactVersion" - ], - "type": "object" - }, - "MsixPackageApplications": { - "description": "Schema for MSIX Package Application properties.", - "properties": { - "appId": { - "description": "Package Application Id, found in appxmanifest.xml.", - "type": "string" - }, - "appUserModelID": { - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.", - "type": "string" - }, - "description": { - "description": "Description of Package Application.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name.", - "type": "string" - }, - "iconImageName": { - "description": "User friendly name.", - "type": "string" - }, - "rawIcon": { - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "description": "the icon a 64 bit string as a byte array." - } - }, - "type": "object" - }, - "MsixPackageDependencies": { - "description": "Schema for MSIX Package Dependencies properties.", - "properties": { - "dependencyName": { - "description": "Name of the package dependency. For Msix packages, this is the other packages this package depends upon, for APP-V packages this is the locations of the user and deployment config files", - "type": "string" - }, - "minVersion": { - "description": "Dependency version required.", - "type": "string" - }, - "publisher": { - "description": "Name of dependency publisher.", - "type": "string" - } - }, - "type": "object" - }, - "MsixPackageProperties": { - "description": "Schema for MSIX Package properties.", - "properties": { - "displayName": { - "description": "User friendly Name to be displayed in the portal. ", - "type": "string" - }, - "imagePath": { - "description": "VHD/CIM image path on Network Share.", - "type": "string" - }, - "isActive": { - "description": "Make this version of the package the active one across the hostpool. ", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRegularRegistration": { - "description": "Specifies how to register Package in feed.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "lastUpdated": { - "description": "Date Package was last updated, found in the appxmanifest.xml. ", - "format": "date-time", - "type": "string" - }, - "packageApplications": { - "description": "List of package applications. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageApplications" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageDependencies": { - "description": "List of package dependencies. ", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "packageFamilyName": { - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ", - "type": "string" - }, - "packageName": { - "description": "Package Name from appxmanifest.xml. ", - "type": "string" - }, - "packageRelativePath": { - "description": "Relative Path to the package inside the image. ", - "type": "string" - }, - "version": { - "description": "Package Version found in the appxmanifest.xml. ", - "type": "string" - } - }, - "type": "object" - }, - "NetworkInfoProperties": { - "description": "Network information.", - "properties": { - "securityGroupId": { - "description": "The resource ID of the security group. Any allowable/open ports should be specified in the NSG.", - "type": "string" - }, - "subnetId": { - "description": "The resource ID of the subnet.", - "type": "string" - } - }, - "required": [ - "subnetId" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RegistrationInfo": { - "description": "Represents a RegistrationInfo definition.", - "properties": { - "expirationTime": { - "description": "Expiration time of registration token.", - "format": "date-time", - "type": "string" - }, - "registrationTokenOperation": { - "description": "The type of resetting the token.", - "oneOf": [ - { - "enum": [ - "Delete", - "None", - "Update" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "token": { - "description": "The registration token base64 encoded string.", - "type": "string" - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "properties": { - "type": { - "description": "The identity type.", - "oneOf": [ - { - "enum": [ - "SystemAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ResourceModelWithAllowedPropertySetPlan": { - "properties": { - "name": { - "description": "A user defined name of the 3rd Party Artifact that is being procured.", - "type": "string" - }, - "product": { - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ", - "type": "string" - }, - "promotionCode": { - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", - "type": "string" - }, - "publisher": { - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", - "type": "string" - }, - "version": { - "description": "The version of the desired product/artifact.", - "type": "string" - } - }, - "required": [ - "name", - "publisher", - "product" - ], - "type": "object" - }, - "ResourceModelWithAllowedPropertySetSku": { - "properties": { - "capacity": { - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "oneOf": [ - { - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "ScalingHostPoolReference": { - "description": "Scaling plan reference to hostpool.", - "properties": { - "hostPoolArmPath": { - "description": "Arm path of referenced hostpool.", - "type": "string" - }, - "scalingPlanEnabled": { - "description": "Is the scaling plan enabled for this hostpool.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPersonalScheduleProperties": { - "description": "A ScalingPlanPersonalSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakActionOnLogoff": { - "description": "Action to be taken after a logoff during the off-peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakActionOnLogoff": { - "description": "Action to be taken after a logoff during the peak period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the peak phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp down period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnDisconnect": { - "description": "Action to be taken after a user disconnect during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpActionOnLogoff": { - "description": "Action to be taken after a logoff during the ramp up period.", - "oneOf": [ - { - "enum": [ - "None", - "Deallocate", - "Hibernate" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpAutoStartHosts": { - "description": "The desired startup behavior during the ramp up period for personal vms in the hostpool.", - "oneOf": [ - { - "enum": [ - "None", - "WithAssignedUser", - "All" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnDisconnect": { - "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinutesToWaitOnLogoff": { - "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.", - "oneOf": [ - { - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartVMOnConnect": { - "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually.", - "oneOf": [ - { - "enum": [ - "Enable", - "Disable" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanPooledScheduleProperties": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "ScalingPlanProperties": { - "description": "Scaling plan properties.", - "properties": { - "description": { - "description": "Description of scaling plan.", - "type": "string" - }, - "exclusionTag": { - "description": "Exclusion tag for scaling plan.", - "type": "string" - }, - "friendlyName": { - "description": "User friendly name of scaling plan.", - "type": "string" - }, - "hostPoolReferences": { - "description": "List of ScalingHostPoolReference definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "hostPoolType": { - "description": "HostPool type for desktop.", - "oneOf": [ - { - "enum": [ - "Pooled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "schedules": { - "description": "List of ScalingPlanPooledSchedule definitions.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScalingSchedule" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeZone": { - "description": "Timezone of the scaling plan.", - "type": "string" - } - }, - "required": [ - "timeZone" - ], - "type": "object" - }, - "ScalingSchedule": { - "description": "A ScalingPlanPooledSchedule.", - "properties": { - "daysOfWeek": { - "description": "Set of days of the week on which this schedule is active.", - "oneOf": [ - { - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "Name of the ScalingPlanPooledSchedule.", - "type": "string" - }, - "offPeakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for off-peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "offPeakStartTime": { - "description": "Starting time for off-peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for peak period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "peakStartTime": { - "description": "Starting time for peak period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownCapacityThresholdPct": { - "description": "Capacity threshold for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownForceLogoffUsers": { - "description": "Should users be logged off forcefully from hosts.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp down period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownMinimumHostsPct": { - "description": "Minimum host percentage for ramp down period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownNotificationMessage": { - "description": "Notification message for users during ramp down period.", - "type": "string" - }, - "rampDownStartTime": { - "description": "Starting time for ramp down period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownStopHostsWhen": { - "description": "Specifies when to stop hosts during ramp down period.", - "oneOf": [ - { - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampDownWaitTimeMinutes": { - "description": "Number of minutes to wait to stop hosts during ramp down period.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpCapacityThresholdPct": { - "description": "Capacity threshold for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 1, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpLoadBalancingAlgorithm": { - "description": "Load balancing algorithm for ramp up period.", - "oneOf": [ - { - "enum": [ - "BreadthFirst", - "DepthFirst" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpMinimumHostsPct": { - "description": "Minimum host percentage for ramp up period.", - "oneOf": [ - { - "maximum": 100, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "rampUpStartTime": { - "description": "Starting time for ramp up period.", - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "SecurityInfoProperties": { - "description": "Security information.", - "properties": { - "secureBootEnabled": { - "description": "Whether to use secureBoot on the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "description": "The security type used by virtual machine in hostpool session host. Default is Standard.", - "oneOf": [ - { - "enum": [ - "Standard", - "TrustedLaunch", - "ConfidentialVM" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vTpmEnabled": { - "description": "Whether to use vTPM on the virtual machine.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "SessionHostConfigurationProperties": { - "description": "Session host configurations of HostPool.", - "properties": { - "availabilityZones": { - "description": "Value for availability zones to be used by the session host. Should be from [1,2,3].", - "oneOf": [ - { - "items": { - "type": "integer" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "bootDiagnosticsInfo": { - "description": "Boot Diagnostics information.", - "oneOf": [ - { - "$ref": "#/definitions/BootDiagnosticsInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "customConfigurationScriptUrl": { - "description": "The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.", - "type": "string" - }, - "diskInfo": { - "description": "Disk information.", - "oneOf": [ - { - "$ref": "#/definitions/DiskInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "domainInfo": { - "description": "Domain configurations of session hosts.", - "oneOf": [ - { - "$ref": "#/definitions/DomainInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "friendlyName": { - "description": "Friendly name to describe this version of the SessionHostConfiguration.", - "maxLength": 260, - "type": "string" - }, - "imageInfo": { - "description": "Image configurations of HostPool.", - "oneOf": [ - { - "$ref": "#/definitions/ImageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "networkInfo": { - "description": "Network information.", - "oneOf": [ - { - "$ref": "#/definitions/NetworkInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "securityInfo": { - "description": "Security information.", - "oneOf": [ - { - "$ref": "#/definitions/SecurityInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmAdminCredentials": { - "description": "Local Admin credentials for session hosts.", - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "vmLocation": { - "description": "The Location for the session host to be created in. It will default to the location of the hostpool if not provided.", - "type": "string" - }, - "vmNamePrefix": { - "description": "The prefix that should be associated with session host names", - "maxLength": 11, - "type": "string" - }, - "vmResourceGroup": { - "description": "The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided.", - "type": "string" - }, - "vmSizeId": { - "description": "The id of the size of a virtual machine connected to a hostpool.", - "type": "string" - }, - "vmTags": { - "description": "Hashtable that lists key/value pair tags to apply to the VMs", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "vmNamePrefix", - "networkInfo", - "vmSizeId", - "diskInfo", - "imageInfo", - "domainInfo", - "vmAdminCredentials" - ], - "type": "object" - }, - "SessionHostManagementProperties": { - "description": "Session host Managements of HostPool.", - "properties": { - "scheduledDateTimeZone": { - "description": "Time zone for sessionHostManagement operations as defined in https://docs.microsoft.com/dotnet/api/system.timezoneinfo.findsystemtimezonebyid. Must be set if useLocalTime is true.", - "type": "string" - }, - "update": { - "description": "Parameters for a hostpool update.", - "oneOf": [ - { - "$ref": "#/definitions/HostPoolUpdateConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduledDateTimeZone", - "update" - ], - "type": "object" - }, - "Time": { - "description": "The time for a scaling action to occur.", - "properties": { - "hour": { - "description": "The hour.", - "oneOf": [ - { - "maximum": 23, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minute": { - "description": "The minute.", - "oneOf": [ - { - "maximum": 59, - "minimum": 0, - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "hour", - "minute" - ], - "type": "object" - }, - "WorkspaceProperties": { - "description": "Schema for Workspace properties.", - "properties": { - "applicationGroupReferences": { - "description": "List of applicationGroup resource Ids.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "description": { - "description": "Description of Workspace.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of Workspace.", - "type": "string" - }, - "publicNetworkAccess": { - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "applicationGroups_applications_childResource": { - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the application within the specified application group", - "maxLength": 24, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for Application", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "applications" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_msixPackages_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The version specific package full name of the MSIX package within specified hostpool", - "maxLength": 100, - "minLength": 3, - "type": "string" - }, - "properties": { - "description": "Detailed properties for MSIX Package", - "oneOf": [ - { - "$ref": "#/definitions/MsixPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "msixPackages" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostConfigurations_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostConfiguration", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "sessionHostConfigurations" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "hostPools_sessionHostManagements_childResource": { - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Detailed properties for SessionHostManagement", - "oneOf": [ - { - "$ref": "#/definitions/SessionHostManagementProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "sessionHostManagements" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_personalSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPersonalSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "personalSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "scalingPlans_pooledSchedules_childResource": { - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the ScalingPlanSchedule", - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "properties": { - "description": "Detailed properties for ScalingPlanPooledSchedule", - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "pooledSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "workspaces_privateEndpointConnections_childResource": { - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2024-03-06-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ab4d6df4d4..d86cfee33b 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -12838,534 +12838,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-06-27-preview/Microsoft.DelegatedNetwork.json#/resourceDefinitions/orchestrators" }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_personalSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-07-07-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_personalSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-09-05/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/appAttachPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_personalSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-10-04-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/appAttachPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostManagements" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_personalSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-11-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/appAttachPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostManagements" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_personalSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-01-16-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/appAttachPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostManagements" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_personalSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans_pooledSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2024-03-06-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters" },