2314 строки
71 KiB
JSON
2314 строки
71 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2022-04-01-preview/Microsoft.DesktopVirtualization.json#",
|
|
"title": "Microsoft.DesktopVirtualization",
|
|
"description": "Microsoft DesktopVirtualization Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"applicationGroups": {
|
|
"description": "Microsoft.DesktopVirtualization/applicationGroups",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"kind": {
|
|
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[-\\w\\._,\\(\\)]+$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"managedBy": {
|
|
"description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the application group",
|
|
"maxLength": 64,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"plan": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for ApplicationGroup",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ApplicationGroupProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/applicationGroups_applications_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sku": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/applicationGroups"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"applicationGroups_applications": {
|
|
"description": "Microsoft.DesktopVirtualization/applicationGroups/applications",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the application within the specified application group",
|
|
"maxLength": 24,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for Application",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ApplicationProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/applicationGroups/applications"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"hostPools": {
|
|
"description": "Microsoft.DesktopVirtualization/hostPools",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"kind": {
|
|
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[-\\w\\._,\\(\\)]+$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"managedBy": {
|
|
"description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the host pool within the specified resource group",
|
|
"maxLength": 64,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"plan": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for HostPool",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/HostPoolProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/hostPools_msixPackages_childResource"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/hostPools_privateEndpointConnections_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sku": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/hostPools"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"hostPools_msixPackages": {
|
|
"description": "Microsoft.DesktopVirtualization/hostPools/msixPackages",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The version specific package full name of the MSIX package within specified hostpool",
|
|
"maxLength": 100,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for MSIX Package",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MsixPackageProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/hostPools/msixPackages"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"hostPools_privateEndpointConnections": {
|
|
"description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection associated with the Azure resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"scalingPlans": {
|
|
"description": "Microsoft.DesktopVirtualization/scalingPlans",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"kind": {
|
|
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[-\\w\\._,\\(\\)]+$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"managedBy": {
|
|
"description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the scaling plan.",
|
|
"maxLength": 64,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"plan": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for scaling plan.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ScalingPlanProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/scalingPlans_pooledSchedules_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sku": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/scalingPlans"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"scalingPlans_pooledSchedules": {
|
|
"description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the ScalingPlanSchedule",
|
|
"maxLength": 64,
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for ScalingPlanPooledSchedule",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ScalingPlanPooledScheduleProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"workspaces": {
|
|
"description": "Microsoft.DesktopVirtualization/workspaces",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"kind": {
|
|
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[-\\w\\._,\\(\\)]+$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"managedBy": {
|
|
"description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the workspace",
|
|
"maxLength": 64,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"plan": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for Workspace",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/WorkspaceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/workspaces_privateEndpointConnections_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sku": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/workspaces"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"workspaces_privateEndpointConnections": {
|
|
"description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection associated with the Azure resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"AgentUpdateProperties": {
|
|
"description": "The session host configuration for updating agent, monitoring agent, and stack component.",
|
|
"properties": {
|
|
"maintenanceWindowTimeZone": {
|
|
"description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true.",
|
|
"type": "string"
|
|
},
|
|
"maintenanceWindows": {
|
|
"description": "List of maintenance windows. Maintenance windows are 2 hours long.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/MaintenanceWindowProperties"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"description": "The type of maintenance for session host components.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Default",
|
|
"Scheduled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"useSessionHostLocalTime": {
|
|
"description": "Whether to use localTime of the virtual machine.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ApplicationGroupProperties": {
|
|
"description": "Schema for ApplicationGroup properties.",
|
|
"properties": {
|
|
"applicationGroupType": {
|
|
"description": "Resource Type of ApplicationGroup.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"RemoteApp",
|
|
"Desktop"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"description": {
|
|
"description": "Description of ApplicationGroup.",
|
|
"type": "string"
|
|
},
|
|
"friendlyName": {
|
|
"description": "Friendly name of ApplicationGroup.",
|
|
"type": "string"
|
|
},
|
|
"hostPoolArmPath": {
|
|
"description": "HostPool arm path of ApplicationGroup.",
|
|
"type": "string"
|
|
},
|
|
"migrationRequest": {
|
|
"description": "The registration info of HostPool.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MigrationRequestProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"hostPoolArmPath",
|
|
"applicationGroupType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ApplicationProperties": {
|
|
"description": "Schema for Application properties.",
|
|
"properties": {
|
|
"applicationType": {
|
|
"description": "Resource Type of Application.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"InBuilt",
|
|
"MsixApplication"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"commandLineArguments": {
|
|
"description": "Command Line Arguments for Application.",
|
|
"type": "string"
|
|
},
|
|
"commandLineSetting": {
|
|
"description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"DoNotAllow",
|
|
"Allow",
|
|
"Require"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"description": {
|
|
"description": "Description of Application.",
|
|
"type": "string"
|
|
},
|
|
"filePath": {
|
|
"description": "Specifies a path for the executable file for the application.",
|
|
"type": "string"
|
|
},
|
|
"friendlyName": {
|
|
"description": "Friendly name of Application.",
|
|
"type": "string"
|
|
},
|
|
"iconIndex": {
|
|
"description": "Index of the icon.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"iconPath": {
|
|
"description": "Path to icon.",
|
|
"type": "string"
|
|
},
|
|
"msixPackageApplicationId": {
|
|
"description": "Specifies the package application Id for MSIX applications",
|
|
"type": "string"
|
|
},
|
|
"msixPackageFamilyName": {
|
|
"description": "Specifies the package family name for MSIX applications",
|
|
"type": "string"
|
|
},
|
|
"showInPortal": {
|
|
"description": "Specifies whether to show the RemoteApp program in the RD Web Access server.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"commandLineSetting"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HostPoolProperties": {
|
|
"description": "Properties of HostPool.",
|
|
"properties": {
|
|
"agentUpdate": {
|
|
"description": "The session host configuration for updating agent, monitoring agent, and stack component.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AgentUpdateProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"customRdpProperty": {
|
|
"description": "Custom rdp property of HostPool.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Description of HostPool.",
|
|
"type": "string"
|
|
},
|
|
"friendlyName": {
|
|
"description": "Friendly name of HostPool.",
|
|
"type": "string"
|
|
},
|
|
"hostPoolType": {
|
|
"description": "HostPool type for desktop.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Personal",
|
|
"Pooled",
|
|
"BYODesktop"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"loadBalancerType": {
|
|
"description": "The type of the load balancer.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst",
|
|
"Persistent"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"maxSessionLimit": {
|
|
"description": "The max session limit of HostPool.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"migrationRequest": {
|
|
"description": "The registration info of HostPool.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MigrationRequestProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"personalDesktopAssignmentType": {
|
|
"description": "PersonalDesktopAssignment type for HostPool.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Automatic",
|
|
"Direct"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"preferredAppGroupType": {
|
|
"description": "The type of preferred application group type, default to Desktop Application Group",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"None",
|
|
"Desktop",
|
|
"RailApplications"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"publicNetworkAccess": {
|
|
"description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Enabled",
|
|
"Disabled",
|
|
"EnabledForSessionHostsOnly",
|
|
"EnabledForClientsOnly"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"registrationInfo": {
|
|
"description": "The registration info of HostPool.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/RegistrationInfo"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"ring": {
|
|
"description": "The ring number of HostPool.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"ssoClientId": {
|
|
"description": "ClientId for the registered Relying Party used to issue WVD SSO certificates.",
|
|
"type": "string"
|
|
},
|
|
"ssoClientSecretKeyVaultPath": {
|
|
"description": "Path to Azure KeyVault storing the secret used for communication to ADFS.",
|
|
"type": "string"
|
|
},
|
|
"ssoSecretType": {
|
|
"description": "The type of single sign on Secret Type.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"SharedKey",
|
|
"Certificate",
|
|
"SharedKeyInKeyVault",
|
|
"CertificateInKeyVault"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"ssoadfsAuthority": {
|
|
"description": "URL to customer ADFS server for signing WVD SSO certificates.",
|
|
"type": "string"
|
|
},
|
|
"startVMOnConnect": {
|
|
"description": "The flag to turn on/off StartVMOnConnect feature.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"validationEnvironment": {
|
|
"description": "Is validation environment.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"vmTemplate": {
|
|
"description": "VM template for sessionhosts configuration within hostpool.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"hostPoolType",
|
|
"loadBalancerType",
|
|
"preferredAppGroupType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MaintenanceWindowProperties": {
|
|
"description": "Maintenance window starting hour and day of week.",
|
|
"properties": {
|
|
"dayOfWeek": {
|
|
"description": "Day of the week.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Monday",
|
|
"Tuesday",
|
|
"Wednesday",
|
|
"Thursday",
|
|
"Friday",
|
|
"Saturday",
|
|
"Sunday"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"hour": {
|
|
"description": "The update start hour of the day. (0 - 23)",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MigrationRequestProperties": {
|
|
"description": "Properties for arm migration.",
|
|
"properties": {
|
|
"migrationPath": {
|
|
"description": "The path to the legacy object to migrate.",
|
|
"type": "string"
|
|
},
|
|
"operation": {
|
|
"description": "The type of operation for migration.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Start",
|
|
"Revoke",
|
|
"Complete",
|
|
"Hide",
|
|
"Unhide"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MsixPackageApplications": {
|
|
"description": "Schema for MSIX Package Application properties.",
|
|
"properties": {
|
|
"appId": {
|
|
"description": "Package Application Id, found in appxmanifest.xml.",
|
|
"type": "string"
|
|
},
|
|
"appUserModelID": {
|
|
"description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Description of Package Application.",
|
|
"type": "string"
|
|
},
|
|
"friendlyName": {
|
|
"description": "User friendly name.",
|
|
"type": "string"
|
|
},
|
|
"iconImageName": {
|
|
"description": "User friendly name.",
|
|
"type": "string"
|
|
},
|
|
"rawIcon": {
|
|
"description": "the icon a 64 bit string as a byte array."
|
|
},
|
|
"rawPng": {
|
|
"description": "the icon a 64 bit string as a byte array."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MsixPackageDependencies": {
|
|
"description": "Schema for MSIX Package Dependencies properties.",
|
|
"properties": {
|
|
"dependencyName": {
|
|
"description": "Name of package dependency.",
|
|
"type": "string"
|
|
},
|
|
"minVersion": {
|
|
"description": "Dependency version required.",
|
|
"type": "string"
|
|
},
|
|
"publisher": {
|
|
"description": "Name of dependency publisher.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MsixPackageProperties": {
|
|
"description": "Schema for MSIX Package properties.",
|
|
"properties": {
|
|
"displayName": {
|
|
"description": "User friendly Name to be displayed in the portal. ",
|
|
"type": "string"
|
|
},
|
|
"imagePath": {
|
|
"description": "VHD/CIM image path on Network Share.",
|
|
"type": "string"
|
|
},
|
|
"isActive": {
|
|
"description": "Make this version of the package the active one across the hostpool. ",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"isRegularRegistration": {
|
|
"description": "Specifies how to register Package in feed.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"lastUpdated": {
|
|
"description": "Date Package was last updated, found in the appxmanifest.xml. ",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"packageApplications": {
|
|
"description": "List of package applications. ",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/MsixPackageApplications"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"packageDependencies": {
|
|
"description": "List of package dependencies. ",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/MsixPackageDependencies"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"packageFamilyName": {
|
|
"description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ",
|
|
"type": "string"
|
|
},
|
|
"packageName": {
|
|
"description": "Package Name from appxmanifest.xml. ",
|
|
"type": "string"
|
|
},
|
|
"packageRelativePath": {
|
|
"description": "Relative Path to the package inside the image. ",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"description": "Package Version found in the appxmanifest.xml. ",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpoint": {
|
|
"description": "The Private Endpoint resource.",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpointConnectionProperties": {
|
|
"description": "Properties of the PrivateEndpointConnectProperties.",
|
|
"properties": {
|
|
"privateEndpoint": {
|
|
"description": "The resource of private end point.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpoint"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"privateLinkServiceConnectionState": {
|
|
"description": "A collection of information about the state of the connection between service consumer and provider.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"provisioningState": {
|
|
"description": "The provisioning state of the private endpoint connection resource.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Succeeded",
|
|
"Creating",
|
|
"Deleting",
|
|
"Failed"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"privateLinkServiceConnectionState"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PrivateLinkServiceConnectionState": {
|
|
"description": "A collection of information about the state of the connection between service consumer and provider.",
|
|
"properties": {
|
|
"actionsRequired": {
|
|
"description": "A message indicating if changes on the service provider require any updates on the consumer.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "The reason for approval/rejection of the connection.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Pending",
|
|
"Approved",
|
|
"Rejected"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegistrationInfo": {
|
|
"description": "Represents a RegistrationInfo definition.",
|
|
"properties": {
|
|
"expirationTime": {
|
|
"description": "Expiration time of registration token.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"registrationTokenOperation": {
|
|
"description": "The type of resetting the token.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Delete",
|
|
"None",
|
|
"Update"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"token": {
|
|
"description": "The registration token base64 encoded string.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceModelWithAllowedPropertySetIdentity": {
|
|
"properties": {
|
|
"type": {
|
|
"description": "The identity type.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"SystemAssigned"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceModelWithAllowedPropertySetPlan": {
|
|
"properties": {
|
|
"name": {
|
|
"description": "A user defined name of the 3rd Party Artifact that is being procured.",
|
|
"type": "string"
|
|
},
|
|
"product": {
|
|
"description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. ",
|
|
"type": "string"
|
|
},
|
|
"promotionCode": {
|
|
"description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.",
|
|
"type": "string"
|
|
},
|
|
"publisher": {
|
|
"description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"description": "The version of the desired product/artifact.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"publisher",
|
|
"product"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ResourceModelWithAllowedPropertySetSku": {
|
|
"properties": {
|
|
"capacity": {
|
|
"description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"family": {
|
|
"description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the SKU. Ex - P3. It is typically a letter+number code",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ",
|
|
"type": "string"
|
|
},
|
|
"tier": {
|
|
"description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Free",
|
|
"Basic",
|
|
"Standard",
|
|
"Premium"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ScalingHostPoolReference": {
|
|
"description": "Scaling plan reference to hostpool.",
|
|
"properties": {
|
|
"hostPoolArmPath": {
|
|
"description": "Arm path of referenced hostpool.",
|
|
"type": "string"
|
|
},
|
|
"scalingPlanEnabled": {
|
|
"description": "Is the scaling plan enabled for this hostpool.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ScalingPlanPooledScheduleProperties": {
|
|
"description": "A ScalingPlanPooledSchedule.",
|
|
"properties": {
|
|
"daysOfWeek": {
|
|
"description": "Set of days of the week on which this schedule is active.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"enum": [
|
|
"Monday",
|
|
"Tuesday",
|
|
"Wednesday",
|
|
"Thursday",
|
|
"Friday",
|
|
"Saturday",
|
|
"Sunday"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"offPeakLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for off-peak period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"offPeakStartTime": {
|
|
"description": "Starting time for off-peak period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"peakLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for peak period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"peakStartTime": {
|
|
"description": "Starting time for peak period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownCapacityThresholdPct": {
|
|
"description": "Capacity threshold for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownForceLogoffUsers": {
|
|
"description": "Should users be logged off forcefully from hosts.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownMinimumHostsPct": {
|
|
"description": "Minimum host percentage for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownNotificationMessage": {
|
|
"description": "Notification message for users during ramp down period.",
|
|
"type": "string"
|
|
},
|
|
"rampDownStartTime": {
|
|
"description": "Starting time for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownStopHostsWhen": {
|
|
"description": "Specifies when to stop hosts during ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"ZeroSessions",
|
|
"ZeroActiveSessions"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownWaitTimeMinutes": {
|
|
"description": "Number of minutes to wait to stop hosts during ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpCapacityThresholdPct": {
|
|
"description": "Capacity threshold for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpMinimumHostsPct": {
|
|
"description": "Minimum host percentage for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpStartTime": {
|
|
"description": "Starting time for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ScalingPlanProperties": {
|
|
"description": "Scaling plan properties.",
|
|
"properties": {
|
|
"description": {
|
|
"description": "Description of scaling plan.",
|
|
"type": "string"
|
|
},
|
|
"exclusionTag": {
|
|
"description": "Exclusion tag for scaling plan.",
|
|
"type": "string"
|
|
},
|
|
"friendlyName": {
|
|
"description": "User friendly name of scaling plan.",
|
|
"type": "string"
|
|
},
|
|
"hostPoolReferences": {
|
|
"description": "List of ScalingHostPoolReference definitions.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/ScalingHostPoolReference"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"hostPoolType": {
|
|
"description": "HostPool type for desktop.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Pooled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"schedules": {
|
|
"description": "List of ScalingPlanPooledSchedule definitions.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/ScalingSchedule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"timeZone": {
|
|
"description": "Timezone of the scaling plan.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"timeZone"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ScalingSchedule": {
|
|
"description": "A ScalingPlanPooledSchedule.",
|
|
"properties": {
|
|
"daysOfWeek": {
|
|
"description": "Set of days of the week on which this schedule is active.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"enum": [
|
|
"Sunday",
|
|
"Monday",
|
|
"Tuesday",
|
|
"Wednesday",
|
|
"Thursday",
|
|
"Friday",
|
|
"Saturday"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"name": {
|
|
"description": "Name of the ScalingPlanPooledSchedule.",
|
|
"type": "string"
|
|
},
|
|
"offPeakLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for off-peak period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"offPeakStartTime": {
|
|
"description": "Starting time for off-peak period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"peakLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for peak period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"peakStartTime": {
|
|
"description": "Starting time for peak period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownCapacityThresholdPct": {
|
|
"description": "Capacity threshold for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownForceLogoffUsers": {
|
|
"description": "Should users be logged off forcefully from hosts.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownMinimumHostsPct": {
|
|
"description": "Minimum host percentage for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownNotificationMessage": {
|
|
"description": "Notification message for users during ramp down period.",
|
|
"type": "string"
|
|
},
|
|
"rampDownStartTime": {
|
|
"description": "Starting time for ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownStopHostsWhen": {
|
|
"description": "Specifies when to stop hosts during ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"ZeroSessions",
|
|
"ZeroActiveSessions"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampDownWaitTimeMinutes": {
|
|
"description": "Number of minutes to wait to stop hosts during ramp down period.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpCapacityThresholdPct": {
|
|
"description": "Capacity threshold for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 1,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpLoadBalancingAlgorithm": {
|
|
"description": "Load balancing algorithm for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BreadthFirst",
|
|
"DepthFirst"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpMinimumHostsPct": {
|
|
"description": "Minimum host percentage for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 100,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"rampUpStartTime": {
|
|
"description": "Starting time for ramp up period.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Time"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Time": {
|
|
"description": "The time for a scaling action to occur.",
|
|
"properties": {
|
|
"hour": {
|
|
"description": "The hour.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 23,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"minute": {
|
|
"description": "The minute.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 59,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"hour",
|
|
"minute"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"WorkspaceProperties": {
|
|
"description": "Schema for Workspace properties.",
|
|
"properties": {
|
|
"applicationGroupReferences": {
|
|
"description": "List of applicationGroup resource Ids.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"description": {
|
|
"description": "Description of Workspace.",
|
|
"type": "string"
|
|
},
|
|
"friendlyName": {
|
|
"description": "Friendly name of Workspace.",
|
|
"type": "string"
|
|
},
|
|
"publicNetworkAccess": {
|
|
"description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Enabled",
|
|
"Disabled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"applicationGroups_applications_childResource": {
|
|
"description": "Microsoft.DesktopVirtualization/applicationGroups/applications",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the application within the specified application group",
|
|
"maxLength": 24,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for Application",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ApplicationProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"applications"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"hostPools_msixPackages_childResource": {
|
|
"description": "Microsoft.DesktopVirtualization/hostPools/msixPackages",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The version specific package full name of the MSIX package within specified hostpool",
|
|
"maxLength": 100,
|
|
"minLength": 3,
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for MSIX Package",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/MsixPackageProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"msixPackages"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"hostPools_privateEndpointConnections_childResource": {
|
|
"description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection associated with the Azure resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"scalingPlans_pooledSchedules_childResource": {
|
|
"description": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the ScalingPlanSchedule",
|
|
"maxLength": 64,
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Detailed properties for ScalingPlanPooledSchedule",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ScalingPlanPooledScheduleProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"pooledSchedules"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"workspaces_privateEndpointConnections_childResource": {
|
|
"description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2022-04-01-preview"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection associated with the Azure resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |