From 1cd9dd6a58c25bdd23450ebbb59cf5be97cec97c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 12 Jul 2023 15:44:34 +0000 Subject: [PATCH] CodeGen from PR 24747 in Azure/azure-rest-api-specs Merge abdd7843df560df77ecf44fece6c77cc397770f8 into eabc87b2e8e5ab5d5365cb2db064d7fd25a65f1a --- .../Microsoft.DesktopVirtualization.json | 580 ---- .../Microsoft.DesktopVirtualization.json | 585 ---- .../Microsoft.DesktopVirtualization.json | 585 ---- .../Microsoft.DesktopVirtualization.json | 853 ------ .../Microsoft.DesktopVirtualization.json | 882 ------ .../Microsoft.DesktopVirtualization.json | 893 ------ .../Microsoft.DesktopVirtualization.json | 1242 -------- .../Microsoft.DesktopVirtualization.json | 1582 ----------- .../Microsoft.DesktopVirtualization.json | 1582 ----------- .../Microsoft.DesktopVirtualization.json | 1571 ----------- .../Microsoft.DesktopVirtualization.json | 1853 ------------ .../Microsoft.DesktopVirtualization.json | 1571 ----------- .../Microsoft.DesktopVirtualization.json | 2057 -------------- .../Microsoft.DesktopVirtualization.json | 2157 -------------- .../Microsoft.DesktopVirtualization.json | 2500 ----------------- .../Microsoft.DesktopVirtualization.json | 2166 -------------- .../Microsoft.DesktopVirtualization.json | 2450 ---------------- schemas/common/autogeneratedResources.json | 318 --- 18 files changed, 25427 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 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 4c61e6e7f9..0000000000 --- a/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,580 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-01-23-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-23-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-23-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-23-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the host pool within the specified resource group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-23-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the workspace" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-23-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Shared" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "resetToken": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Update registration token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 38068031c1..0000000000 --- a/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,585 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-09-24-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-09-24-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-09-24-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-09-24-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the host pool within the specified resource group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-09-24-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the workspace" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-09-24-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Shared" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 0df60bb859..0000000000 --- a/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,585 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-12-10-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the host pool within the specified resource group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the workspace" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 660bd9bfae..0000000000 --- a/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,853 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-09-21-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-21-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-21-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-21-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the host pool within the specified resource group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-21-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-21-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the workspace" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-21-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-21-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 7ce2aa38ed..0000000000 --- a/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,882 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-10-19-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-19-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-19-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-19-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the host pool within the specified resource group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-19-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-19-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the workspace" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-19-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-10-19-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 a0253f81c2..0000000000 --- a/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,893 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-11-02-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-02-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-02-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-02-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-02-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-02-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-02-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoContext": { - "type": "string", - "description": "Path to keyvault containing ssoContext secret." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-02-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 ff0c757419..0000000000 --- a/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1242 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-11-10-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the host pool within the specified resource group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the workspace" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-11-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for scaling plan." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 e4b9ba9f61..0000000000 --- a/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1582 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-14-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of scaling plan." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 0ca69d0c82..0000000000 --- a/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1582 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-02-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of scaling plan." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 38f6d6218e..0000000000 --- a/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1571 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-09-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-09-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 9b95847d68..0000000000 --- a/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1853 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - }, - "workspaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "description": "Schema for Workspace properties." - }, - "workspaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - } -} \ 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 e8964c0f30..0000000000 --- a/schemas/2021-07-12/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,1571 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-12" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 520d853964..0000000000 --- a/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2057 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - }, - "workspaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "Scaling plan schedule." - }, - "SystemData": { - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that created the resource." - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that last modified the resource." - } - }, - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "Time": { - "type": "object", - "properties": { - "hour": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 23 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The hour." - }, - "minute": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 59 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minute." - } - }, - "required": [ - "hour", - "minute" - ], - "description": "The time for a scaling action to occur." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "description": "Schema for Workspace properties." - }, - "workspaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-03-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - } -} \ 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 d75fb16c4f..0000000000 --- a/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2157 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-02-10-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - }, - "workspaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - }, - "definitions": { - "AgentUpdateProperties": { - "type": "object", - "properties": { - "maintenanceWindows": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "maintenanceWindowTimeZone": { - "type": "string", - "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Scheduled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The preferred mechanism for updating the agent components. This is either Scheduled or Default." - }, - "useSessionHostLocalTime": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "description": "The preferred settings for updating the agent components (RDAgent, Geneva Monitoring agent, and side-by-side stack) on session hosts." - }, - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "agentUpdate": { - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The preferred settings for updating the agent components (RDAgent, Geneva Monitoring agent, and side-by-side stack) on session hosts." - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "MaintenanceWindowProperties": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The day of the week (Monday-Sunday)." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "description": "Maintenance window starting hour and day of week." - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "Scaling plan schedule." - }, - "SystemData": { - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that created the resource." - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that last modified the resource." - } - }, - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "Time": { - "type": "object", - "properties": { - "hour": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 23 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The hour." - }, - "minute": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 59 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minute." - } - }, - "required": [ - "hour", - "minute" - ], - "description": "The time for a scaling action to occur." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "description": "Schema for Workspace properties." - }, - "workspaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-02-10-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - } -} \ 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 f27ac2bc95..0000000000 --- a/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2500 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "scalingPlans_pooledSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the ScalingPlanSchedule" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A ScalingPlanPooledSchedule." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - }, - "workspaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - }, - "definitions": { - "AgentUpdateProperties": { - "type": "object", - "properties": { - "maintenanceWindows": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of maintenance windows. Maintenance windows are 2 hours long." - }, - "maintenanceWindowTimeZone": { - "type": "string", - "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Scheduled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of maintenance for session host components." - }, - "useSessionHostLocalTime": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether to use localTime of the virtual machine." - } - }, - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "agentUpdate": { - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "MaintenanceWindowProperties": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The update start hour of the day. (0 - 23)" - } - }, - "description": "Maintenance window starting hour and day of week." - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanPooledScheduleProperties": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "A ScalingPlanPooledSchedule." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingPlanPooledSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "required": [ - "timeZone" - ], - "description": "Scaling plan properties." - }, - "scalingPlans_pooledSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the ScalingPlanSchedule" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A ScalingPlanPooledSchedule." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "pooledSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the ScalingPlanPooledSchedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "A ScalingPlanPooledSchedule." - }, - "SystemData": { - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that created the resource." - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that last modified the resource." - } - }, - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "Time": { - "type": "object", - "properties": { - "hour": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 23 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The hour." - }, - "minute": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 59 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minute." - } - }, - "required": [ - "hour", - "minute" - ], - "description": "The time for a scaling action to occur." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "description": "Schema for Workspace properties." - }, - "workspaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - } -} \ 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 4a41cfab6f..0000000000 --- a/schemas/2022-09-09/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2166 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-09-09/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "scalingPlans_pooledSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the ScalingPlanSchedule" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A ScalingPlanPooledSchedule." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - } - }, - "definitions": { - "AgentUpdateProperties": { - "type": "object", - "properties": { - "maintenanceWindows": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of maintenance windows. Maintenance windows are 2 hours long." - }, - "maintenanceWindowTimeZone": { - "type": "string", - "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Scheduled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of maintenance for session host components." - }, - "useSessionHostLocalTime": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether to use localTime of the virtual machine." - } - }, - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "agentUpdate": { - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "MaintenanceWindowProperties": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The update start hour of the day. (0 - 23)" - } - }, - "description": "Maintenance window starting hour and day of week." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanPooledScheduleProperties": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "A ScalingPlanPooledSchedule." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingPlanPooledSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "required": [ - "timeZone" - ], - "description": "Scaling plan properties." - }, - "scalingPlans_pooledSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-09-09" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the ScalingPlanSchedule" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A ScalingPlanPooledSchedule." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "pooledSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the ScalingPlanPooledSchedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "A ScalingPlanPooledSchedule." - }, - "SystemData": { - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that created the resource." - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that last modified the resource." - } - }, - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "Time": { - "type": "object", - "properties": { - "hour": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 23 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The hour." - }, - "minute": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 59 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minute." - } - }, - "required": [ - "hour", - "minute" - ], - "description": "The time for a scaling action to occur." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - } - }, - "description": "Schema for Workspace properties." - } - } -} \ 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 2a19a5fa89..0000000000 --- a/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2450 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-10-14-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/scalingPlans_pooledSchedules_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "scalingPlans_pooledSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the ScalingPlanSchedule" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A ScalingPlanPooledSchedule." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "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." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - }, - "workspaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - }, - "definitions": { - "AgentUpdateProperties": { - "type": "object", - "properties": { - "maintenanceWindows": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MaintenanceWindowProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of maintenance windows. Maintenance windows are 2 hours long." - }, - "maintenanceWindowTimeZone": { - "type": "string", - "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Scheduled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of maintenance for session host components." - }, - "useSessionHostLocalTime": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether to use localTime of the virtual machine." - } - }, - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "agentUpdate": { - "oneOf": [ - { - "$ref": "#/definitions/AgentUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled", - "EnabledForSessionHostsOnly", - "EnabledForClientsOnly" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "MaintenanceWindowProperties": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The update start hour of the day. (0 - 23)" - } - }, - "description": "Maintenance window starting hour and day of week." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "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. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanPooledScheduleProperties": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "A ScalingPlanPooledSchedule." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pooled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingPlanPooledSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "required": [ - "timeZone" - ], - "description": "Scaling plan properties." - }, - "scalingPlans_pooledSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, - "description": "The name of the ScalingPlanSchedule" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanPooledScheduleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A ScalingPlanPooledSchedule." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "pooledSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules" - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the ScalingPlanPooledSchedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "oneOf": [ - { - "$ref": "#/definitions/Time" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time for a scaling action to occur." - } - }, - "description": "A ScalingPlanPooledSchedule." - }, - "SystemData": { - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that created the resource." - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity that last modified the resource." - } - }, - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "Time": { - "type": "object", - "properties": { - "hour": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 23 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The hour." - }, - "minute": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 59 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minute." - } - }, - "required": [ - "hour", - "minute" - ], - "description": "The time for a scaling action to occur." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "description": "Schema for Workspace properties." - }, - "workspaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-14-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 4565997b59..80ea7a1c95 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -10000,324 +10000,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.DeploymentManager.json#/resourceDefinitions/steps" }, - { - "$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/2022-08-01-preview/Microsoft.DevCenter.json#/resourceDefinitions/devcenters" },