diff --git a/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json new file mode 100644 index 0000000000..e4784ef484 --- /dev/null +++ b/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json @@ -0,0 +1,2212 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-05-13-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-05-13-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-05-13-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-05-13-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-05-13-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-05-13-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-05-13-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-05-13-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-05-13-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-05-13-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." + }, + "CredentialsProperties": { + "type": "object", + "properties": { + "domainAdmin": { + "oneOf": [ + { + "$ref": "#/definitions/KeyvaultCredentialProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credentials kept in the keyvault." + }, + "localAdmin": { + "oneOf": [ + { + "$ref": "#/definitions/KeyvaultCredentialProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credentials kept in the keyvault." + } + }, + "description": "Credentials needed to create the virtual machine." + }, + "DomainInfoProperties": { + "type": "object", + "properties": { + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/CredentialsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credentials needed to create the virtual machine." + }, + "joinType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ActiveDirectory", + "AzureActiveDirectory" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of domain join done by the virtual machine." + }, + "mdmProviderGuid": { + "type": "string", + "description": "The MDM Provider GUID used during MDM enrollment for Azure AD joined virtual machines." + }, + "name": { + "type": "string", + "description": "The domain a virtual machine connected to a hostpool will join." + } + }, + "description": "Domain configurations of session hosts." + }, + "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." + }, + "sessionHostComponentUpdateConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SessionHostComponentUpdateConfigurationProperties" + }, + { + "$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." + }, + "sessionHostConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SessionHostConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Session host configurations 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-05-13-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-05-13-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" + }, + "ImageInfoProperties": { + "type": "object", + "properties": { + "customId": { + "type": "string", + "description": "The resource id of the custom image or shared image. Image type must be CustomImage." + }, + "marketPlaceInfo": { + "oneOf": [ + { + "$ref": "#/definitions/MarketPlaceInfoProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Image configurations of HostPool." + }, + "storageBlobUri": { + "type": "string", + "description": "The uri to the storage blob which contains the VHD. Image type must be StorageBlob." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Gallery", + "StorageBlob", + "CustomImage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of image session hosts use in the hostpool." + } + }, + "description": "Image configurations of session host in a HostPool." + }, + "KeyvaultCredentialProperties": { + "type": "object", + "properties": { + "passwordKeyVaultResourceId": { + "type": "string", + "description": "The keyvault resource id to the keyvault secrets." + }, + "passwordSecretName": { + "type": "string", + "description": "The keyvault secret name the password is stored in." + }, + "userName": { + "type": "string", + "description": "The user name to the account." + } + }, + "description": "Credentials kept in the keyvault." + }, + "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." + }, + "MarketPlaceInfoProperties": { + "type": "object", + "properties": { + "exactVersion": { + "type": "string", + "description": "The exact version of the image." + }, + "offer": { + "type": "string", + "description": "The offer of the image." + }, + "publisher": { + "type": "string", + "description": "The publisher of the image." + }, + "sku": { + "type": "string", + "description": "The sku of the image." + } + }, + "description": "Image configurations of HostPool." + }, + "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." + }, + "SecondaryWindowProperties": { + "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." + }, + "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": "Secondary maintenance windows is a list of days at one specific hour. Maintenance windows are 2 hours long. We try to exercise this only when the primary window update fails." + }, + "SessionHostComponentUpdateConfigurationProperties": { + "type": "object", + "properties": { + "maintenanceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "TenantAdminControlled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of maintenance for session host components." + }, + "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." + }, + "primaryWindow": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceWindowProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maintenance window starting hour and day of week." + }, + "secondaryWindow": { + "oneOf": [ + { + "$ref": "#/definitions/SecondaryWindowProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Secondary maintenance windows is a list of days at one specific hour. Maintenance windows are 2 hours long. We try to exercise this only when the primary window update fails." + }, + "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." + }, + "SessionHostConfigurationProperties": { + "type": "object", + "properties": { + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk type used by virtual machine in hostpool session host." + }, + "domainInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DomainInfoProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Domain configurations of session hosts." + }, + "imageInfo": { + "oneOf": [ + { + "$ref": "#/definitions/ImageInfoProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Image configurations of session host in a HostPool." + }, + "vmCustomConfigurationUri": { + "type": "string", + "description": "The uri to the storage blob containing scripts to be run on the virtual machine after provisioning." + }, + "vMSizeId": { + "type": "string", + "description": "The id of the size of a virtual machine connected to a hostpool." + } + }, + "description": "Session host configurations of HostPool." + }, + "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-05-13-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 1377877669..4a6b428f5a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3664,6 +3664,30 @@ { "$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-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-02-03/Microsoft.Devices.json#/resourceDefinitions/IotHubs" },