diff --git a/src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre-simplified.yaml
deleted file mode 100644
index 62a31682dae..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre-simplified.yaml
+++ /dev/null
@@ -1,674 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operations
- operations:
- - operationName: List
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - operationGroupName: Workspaces
- operations:
- - operationName: Get
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: workspaceName(string^string)
- - operationName: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: workspaceName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: workspace(Workspace^object)
- bodySchema: Workspace
- - operationName: Delete
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: workspaceName(string^string)
- - operationName: Update
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: workspaceName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: workspace(WorkspacePatch^object)
- bodySchema: WorkspacePatch
- - operationName: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - operationName: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - operationGroupName: ApplicationGroupAssignments
- operations:
- - operationName: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: workspaceName(string^string)
- - parameterName: $filter(string^string)
- - operationGroupName: ApplicationGroups
- operations:
- - operationName: Get
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - operationName: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: applicationGroup(ApplicationGroup^object)
- bodySchema: ApplicationGroup
- - operationName: Delete
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - operationName: Update
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: applicationGroup(ApplicationGroupPatch^object)
- bodySchema: ApplicationGroupPatch
- - operationName: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: $filter(string^string)
- - operationName: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: $filter(string^string)
- - operationGroupName: StartMenuItems
- operations:
- - operationName: List
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - operationGroupName: Applications
- operations:
- - operationName: Get
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName: applicationName(string^string)
- - operationName: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName: applicationName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: application(Application^object)
- bodySchema: Application
- - operationName: Delete
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName: applicationName(string^string)
- - operationName: Update
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName: applicationName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: application(ApplicationPatch^object)
- bodySchema: ApplicationPatch
- - operationName: List
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - operationGroupName: Desktops
- operations:
- - operationName: Get
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName: desktopName(string^string)
- - operationName: Update
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - parameterName: desktopName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: desktop(DesktopPatch^object)
- bodySchema: DesktopPatch
- - operationName: List
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: applicationGroupName(string^string)
- - operationGroupName: HostPools
- operations:
- - operationName: Get
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - operationName: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: hostPool(HostPool^object)
- bodySchema: HostPool
- - operationName: Delete
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: force(boolean^boolean)
- - operationName: Update
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: hostPool(HostPoolPatch^object)
- bodySchema: HostPoolPatch
- - operationName: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - operationName: List
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - operationGroupName: UserSessions
- operations:
- - operationName: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: $filter(string^string)
- - operationName: Get
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - parameterName: userSessionId(string^string)
- - operationName: Delete
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - parameterName: userSessionId(string^string)
- - parameterName: force(boolean^boolean)
- - operationName: List
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - operationName: Disconnect
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - parameterName: userSessionId(string^string)
- - operationName: SendMessage
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - parameterName: userSessionId(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: sendMessage(SendMessage^object)
- bodySchema: SendMessage
- - operationGroupName: SessionHosts
- operations:
- - operationName: Get
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - operationName: Delete
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - parameterName: force(boolean^boolean)
- - operationName: Update
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - parameterName[0]: content-type(application/json^constant)
- - parameterName[0]: sessionHost(SessionHostPatch^object)
- bodySchema: SessionHostPatch
- - operationName: List
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - operationGroupName: ActiveApplications
- operations:
- - operationName: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- - parameterName: subscriptionId(string^string)
- - parameterName: resourceGroupName(string^string)
- - parameterName: hostPoolName(string^string)
- - parameterName: sessionHostName(string^string)
- - parameterName: $filter(string^string)
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationList-value^array)
- - schemaName: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperation-name^string)
- - propertyName: display(ResourceProviderOperation-display^object)
- - schemaName: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperation-display-provider^string)
- - propertyName: resource(ResourceProviderOperation-display-resource^string)
- - propertyName: operation(ResourceProviderOperation-display-operation^string)
- - propertyName: description(ResourceProviderOperation-display-description^string)
- - schemaName: Resource
- properties:
- - propertyName: id(Resource-id^string)
- readOnly: true
- - propertyName: name(Resource-name^string)
- readOnly: true
- - propertyName: type(Resource-type^string)
- readOnly: true
- - schemaName: TrackedResource
- properties:
- - propertyName: tags(TrackedResource-tags^dictionary)
- - propertyName: location(TrackedResource-location^string)
- - schemaName: Workspace
- properties:
- - propertyName: properties(WorkspaceProperties^object)
- x-ms-client-flatten: true
- - schemaName: WorkspaceProperties
- properties:
- - propertyName: description(WorkspaceProperties-description^string)
- - propertyName: friendlyName(WorkspaceProperties-friendlyName^string)
- - propertyName: applicationGroupReferences(WorkspaceProperties-applicationGroupReferences^array)
- - schemaName: CloudError
- properties:
- - propertyName: code(CloudError-code^string)
- - propertyName: message(CloudError-message^string)
- - schemaName: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- - propertyName: properties(WorkspacePatchProperties^object)
- x-ms-client-flatten: true
- - schemaName: WorkspacePatchProperties
- properties:
- - propertyName: description(WorkspacePatchProperties-description^string)
- - propertyName: friendlyName(WorkspacePatchProperties-friendlyName^string)
- - propertyName: applicationGroupReferences(WorkspacePatchProperties-applicationGroupReferences^array)
- - schemaName: WorkspaceList
- properties:
- - propertyName: value(WorkspaceList-value^array)
- - propertyName: nextLink(WorkspaceList-nextLink^string)
- readOnly: true
- - schemaName: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupList-value^array)
- - propertyName: nextLink(ApplicationGroupList-nextLink^string)
- readOnly: true
- - schemaName: ApplicationGroup
- properties:
- - propertyName: properties(ApplicationGroupProperties^object)
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupProperties
- properties:
- - propertyName: description(ApplicationGroupProperties-description^string)
- - propertyName: friendlyName(ApplicationGroupProperties-friendlyName^string)
- - propertyName: hostPoolArmPath(ApplicationGroupProperties-hostPoolArmPath^string)
- - propertyName: workspaceArmPath(ApplicationGroupProperties-workspaceArmPath^string)
- readOnly: true
- - propertyName: applicationGroupType(ApplicationGroupType^choice)
- - schemaName: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- - propertyName: properties(ApplicationGroupPatchProperties^object)
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupPatchProperties
- properties:
- - propertyName: description(ApplicationGroupPatchProperties-description^string)
- - propertyName: friendlyName(ApplicationGroupPatchProperties-friendlyName^string)
- - schemaName: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemList-value^array)
- - propertyName: nextLink(StartMenuItemList-nextLink^string)
- readOnly: true
- - schemaName: StartMenuItem
- properties:
- - propertyName: properties(StartMenuItemProperties^object)
- x-ms-client-flatten: true
- - schemaName: StartMenuItemProperties
- properties:
- - propertyName: appAlias(StartMenuItemProperties-appAlias^string)
- - propertyName: friendlyName(StartMenuItemProperties-friendlyName^string)
- - propertyName: filePath(StartMenuItemProperties-filePath^string)
- - propertyName: commandLineArguments(StartMenuItemProperties-commandLineArguments^string)
- - propertyName: iconPath(StartMenuItemProperties-iconPath^string)
- - propertyName: iconIndex(integer^integer)
- - schemaName: Application
- properties:
- - propertyName: properties(ApplicationProperties^object)
- x-ms-client-flatten: true
- - schemaName: ApplicationProperties
- properties:
- - propertyName: description(ApplicationProperties-description^string)
- - propertyName: friendlyName(ApplicationProperties-friendlyName^string)
- - propertyName: filePath(ApplicationProperties-filePath^string)
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- - propertyName: commandLineArguments(ApplicationProperties-commandLineArguments^string)
- - propertyName: showInPortal(boolean^boolean)
- - propertyName: iconPath(ApplicationProperties-iconPath^string)
- - propertyName: iconIndex(integer^integer)
- - propertyName: iconHash(ApplicationProperties-iconHash^string)
- readOnly: true
- - propertyName: iconContent(ApplicationProperties-iconContent^byte-array)
- readOnly: true
- - schemaName: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- - propertyName: properties(ApplicationPatchProperties^object)
- x-ms-client-flatten: true
- - schemaName: ApplicationPatchProperties
- properties:
- - propertyName: description(ApplicationPatchProperties-description^string)
- - propertyName: friendlyName(ApplicationPatchProperties-friendlyName^string)
- - propertyName: filePath(ApplicationPatchProperties-filePath^string)
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- - propertyName: commandLineArguments(ApplicationPatchProperties-commandLineArguments^string)
- - propertyName: showInPortal(boolean^boolean)
- - propertyName: iconPath(ApplicationPatchProperties-iconPath^string)
- - propertyName: iconIndex(integer^integer)
- - schemaName: ApplicationList
- properties:
- - propertyName: value(ApplicationList-value^array)
- - propertyName: nextLink(ApplicationList-nextLink^string)
- readOnly: true
- - schemaName: Desktop
- properties:
- - propertyName: properties(DesktopProperties^object)
- x-ms-client-flatten: true
- - schemaName: DesktopProperties
- properties:
- - propertyName: description(DesktopProperties-description^string)
- - propertyName: friendlyName(DesktopProperties-friendlyName^string)
- - propertyName: iconHash(DesktopProperties-iconHash^string)
- readOnly: true
- - propertyName: iconContent(DesktopProperties-iconContent^byte-array)
- readOnly: true
- - schemaName: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- - propertyName: properties(DesktopPatchProperties^object)
- x-ms-client-flatten: true
- - schemaName: DesktopPatchProperties
- properties:
- - propertyName: description(DesktopPatchProperties-description^string)
- - propertyName: friendlyName(DesktopPatchProperties-friendlyName^string)
- - schemaName: DesktopList
- properties:
- - propertyName: value(DesktopList-value^array)
- - propertyName: nextLink(DesktopList-nextLink^string)
- readOnly: true
- - schemaName: HostPool
- properties:
- - propertyName: properties(HostPoolProperties^object)
- x-ms-client-flatten: true
- - schemaName: HostPoolProperties
- properties:
- - propertyName: friendlyName(HostPoolProperties-friendlyName^string)
- - propertyName: description(HostPoolProperties-description^string)
- - propertyName: hostPoolType(HostPoolType^choice)
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- - propertyName: customRdpProperty(HostPoolProperties-customRdpProperty^string)
- - propertyName: maxSessionLimit(integer^integer)
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- - propertyName: ring(integer^integer)
- - propertyName: validationEnvironment(boolean^boolean)
- - propertyName: registrationInfo(RegistrationInfo^object)
- - propertyName: vmTemplate(HostPoolProperties-vmTemplate^string)
- - propertyName: applicationGroupReferences(HostPoolProperties-applicationGroupReferences^array)
- readOnly: true
- - propertyName: ssoContext(HostPoolProperties-ssoContext^string)
- - schemaName: RegistrationInfo
- properties:
- - propertyName: expirationTime(RegistrationInfo-expirationTime^date-time)
- - propertyName: token(RegistrationInfo-token^string)
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- - schemaName: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- - propertyName: properties(HostPoolPatchProperties^object)
- x-ms-client-flatten: true
- - schemaName: HostPoolPatchProperties
- properties:
- - propertyName: friendlyName(HostPoolPatchProperties-friendlyName^string)
- - propertyName: description(HostPoolPatchProperties-description^string)
- - propertyName: customRdpProperty(HostPoolPatchProperties-customRdpProperty^string)
- - propertyName: maxSessionLimit(integer^integer)
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- - propertyName: ring(integer^integer)
- - propertyName: validationEnvironment(boolean^boolean)
- - propertyName: registrationInfo(RegistrationInfoPatch^object)
- - propertyName: ssoContext(HostPoolPatchProperties-ssoContext^string)
- - schemaName: RegistrationInfoPatch
- properties:
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- - schemaName: HostPoolList
- properties:
- - propertyName: value(HostPoolList-value^array)
- - propertyName: nextLink(HostPoolList-nextLink^string)
- readOnly: true
- - schemaName: UserSessionList
- properties:
- - propertyName: value(UserSessionList-value^array)
- - propertyName: nextLink(UserSessionList-nextLink^string)
- readOnly: true
- - schemaName: UserSession
- properties:
- - propertyName: properties(UserSessionProperties^object)
- x-ms-client-flatten: true
- - schemaName: UserSessionProperties
- properties:
- - propertyName: userPrincipalName(UserSessionProperties-userPrincipalName^string)
- - propertyName: applicationType(ApplicationType^choice)
- - propertyName: sessionState(SessionState^choice)
- - propertyName: activeDirectoryUserName(UserSessionProperties-activeDirectoryUserName^string)
- - propertyName: createTime(UserSessionProperties-createTime^date-time)
- - schemaName: SessionHost
- properties:
- - propertyName: properties(SessionHostProperties^object)
- x-ms-client-flatten: true
- - schemaName: SessionHostProperties
- properties:
- - propertyName: lastHeartBeat(SessionHostProperties-lastHeartBeat^date-time)
- - propertyName: sessions(integer^integer)
- - propertyName: agentVersion(SessionHostProperties-agentVersion^string)
- - propertyName: allowNewSession(boolean^boolean)
- - propertyName: assignedUser(SessionHostProperties-assignedUser^string)
- - propertyName: status(Status^choice)
- - propertyName: statusTimestamp(SessionHostProperties-statusTimestamp^date-time)
- readOnly: true
- - propertyName: osVersion(SessionHostProperties-osVersion^string)
- - propertyName: sxSStackVersion(SessionHostProperties-sxSStackVersion^string)
- - propertyName: updateState(UpdateState^choice)
- - propertyName: lastUpdateTime(SessionHostProperties-lastUpdateTime^date-time)
- readOnly: true
- - propertyName: updateErrorMessage(SessionHostProperties-updateErrorMessage^string)
- - schemaName: SessionHostPatch
- properties:
- - propertyName: properties(SessionHostPatchProperties^object)
- x-ms-client-flatten: true
- - schemaName: SessionHostPatchProperties
- properties:
- - propertyName: allowNewSession(boolean^boolean)
- - propertyName: assignedUser(SessionHostPatchProperties-assignedUser^string)
- - schemaName: SessionHostList
- properties:
- - propertyName: value(SessionHostList-value^array)
- - propertyName: nextLink(SessionHostList-nextLink^string)
- readOnly: true
- - schemaName: SendMessage
- properties:
- - propertyName: messageTitle(SendMessage-messageTitle^string)
- - propertyName: messageBody(SendMessage-messageBody^string)
- choices:
- all:
- - choiceName: ApplicationGroupType
- choiceValues:
- - choiceValue: RemoteApp
- - choiceValue: Desktop
- - choiceName: CommandLineSetting
- choiceValues:
- - choiceValue: DoNotAllow
- - choiceValue: Allow
- - choiceValue: Require
- - choiceName: HostPoolType
- choiceValues:
- - choiceValue: Personal
- - choiceValue: Pooled
- - choiceName: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: Automatic
- - choiceValue: Direct
- - choiceName: LoadBalancerType
- choiceValues:
- - choiceValue: BreadthFirst
- - choiceValue: DepthFirst
- - choiceValue: Persistent
- - choiceName: RegistrationTokenOperation
- choiceValues:
- - choiceValue: Delete
- - choiceValue: None
- - choiceValue: Update
- - choiceName: ApplicationType
- choiceValues:
- - choiceValue: RemoteApp
- - choiceValue: Desktop
- - choiceName: SessionState
- choiceValues:
- - choiceValue: Unknown
- - choiceValue: Active
- - choiceValue: Disconnected
- - choiceValue: Pending
- - choiceValue: LogOff
- - choiceValue: UserProfileDiskMounted
- - choiceName: Status
- choiceValues:
- - choiceValue: Available
- - choiceValue: Unavailable
- - choiceValue: Shutdown
- - choiceValue: Disconnected
- - choiceValue: Upgrading
- - choiceValue: UpgradeFailed
- - choiceName: UpdateState
- choiceValues:
- - choiceValue: Initial
- - choiceValue: Pending
- - choiceValue: Started
- - choiceValue: Succeeded
- - choiceValue: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre.yaml b/src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre.yaml
deleted file mode 100644
index a6c94be96e7..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre.yaml
+++ /dev/null
@@ -1,8235 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 10
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_222
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-description
- description: Description of this operation.
- protocol: {}
- - &ref_144
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_150
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_151
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResource-location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-code
- description: Error code
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_167
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-appAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-friendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-filePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-commandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-iconPath
- description: Path to the icon.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_111
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_112
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_119
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_124
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-userPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-activeDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_125
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_235
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-agentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-osVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-sxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-updateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_129
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_236
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageTitle
- description: Title of message.
- protocol: {}
- - &ref_131
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: DoNotAllow
- description: ''
- - value: Allow
- language:
- default:
- name: Allow
- description: ''
- - value: Require
- language:
- default:
- name: Require
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: Personal
- description: ''
- - value: Pooled
- language:
- default:
- name: Pooled
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: Automatic
- description: ''
- - value: Direct
- language:
- default:
- name: Direct
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: BreadthFirst
- description: ''
- - value: DepthFirst
- language:
- default:
- name: DepthFirst
- description: ''
- - value: Persistent
- language:
- default:
- name: Persistent
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: Delete
- description: ''
- - value: None
- language:
- default:
- name: None
- description: ''
- - value: Update
- language:
- default:
- name: Update
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: Unknown
- description: ''
- - value: Active
- language:
- default:
- name: Active
- description: ''
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- - value: LogOff
- language:
- default:
- name: LogOff
- description: ''
- - value: UserProfileDiskMounted
- language:
- default:
- name: UserProfileDiskMounted
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: Available
- description: ''
- - value: Unavailable
- language:
- default:
- name: Unavailable
- description: ''
- - value: Shutdown
- language:
- default:
- name: Shutdown
- description: ''
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- - value: Upgrading
- language:
- default:
- name: Upgrading
- description: ''
- - value: UpgradeFailed
- language:
- default:
- name: UpgradeFailed
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: Initial
- description: ''
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- - value: Started
- language:
- default:
- name: Started
- description: ''
- - value: Succeeded
- language:
- default:
- name: Succeeded
- description: ''
- - value: Failed
- language:
- default:
- name: Failed
- description: ''
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- protocol: {}
- constants:
- - &ref_145
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: ApiVersion-2019-12-10-preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_155
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application/json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResource-tags
- description: Resource tags.
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconContent
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconContent
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-expirationTime
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-createTime
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastHeartBeat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-statusTimestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastUpdateTime
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_148
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_132
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation-display
- description: Display metadata associated with the operation.
- namespace: ''
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationList-value
- description: List of operations supported by this resource provider.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_94
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_11
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- protocol: {}
- - schema: *ref_12
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - schema: &ref_133
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferences
- description: List of applicationGroup resource Ids.
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: WorkspaceProperties
- description: Schema for Workspace properties.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_103
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_14
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- protocol: {}
- - schema: *ref_15
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - schema: *ref_16
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - schema: *ref_17
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - schema: *ref_18
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroupProperties
- description: Schema for ApplicationGroup properties.
- namespace: ''
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for ApplicationGroup
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_120
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_19
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - schema: *ref_20
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- protocol: {}
- - schema: *ref_21
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: hostPoolType
- description: HostPool type for desktop.
- protocol: {}
- - schema: *ref_22
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- protocol: {}
- - schema: *ref_23
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - schema: *ref_24
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- protocol: {}
- - schema: *ref_25
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- protocol: {}
- - schema: *ref_26
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- protocol: {}
- - schema: *ref_27
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- protocol: {}
- - schema: &ref_121
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expirationTime
- description: Expiration time of registration token.
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- protocol: {}
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- protocol: {}
- - schema: *ref_31
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - schema: &ref_140
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolProperties-applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- - schema: *ref_33
- required: false
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPoolProperties
- description: Properties of HostPool.
- namespace: ''
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for HostPool
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- protocol: {}
- - schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- protocol: {}
- - schema: &ref_104
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_40
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- protocol: {}
- - schema: *ref_41
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatchProperties
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: ApplicationGroup properties that can be patched.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_106
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_42
- serializedName: appAlias
- language:
- default:
- name: appAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - schema: *ref_43
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - schema: *ref_44
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - schema: *ref_45
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - schema: *ref_46
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to the icon.
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItemProperties
- description: Schema for StartMenuItem properties.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for StartMenuItem
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_107
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_48
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- protocol: {}
- - schema: *ref_49
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- protocol: {}
- - schema: *ref_50
- required: false
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - schema: *ref_51
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- protocol: {}
- - schema: *ref_52
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - schema: *ref_53
- required: false
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - schema: *ref_54
- required: false
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- protocol: {}
- - schema: *ref_47
- required: false
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- protocol: {}
- - schema: *ref_55
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- protocol: {}
- - schema: *ref_56
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationProperties
- description: Schema for Application properties.
- namespace: ''
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for Application
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_115
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_57
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- protocol: {}
- - schema: *ref_58
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - schema: *ref_59
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- protocol: {}
- - schema: *ref_60
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: DesktopProperties
- description: Schema for Desktop properties.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- protocol: {}
- - schema: &ref_122
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_61
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - schema: *ref_62
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- protocol: {}
- - schema: *ref_63
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - schema: *ref_24
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- protocol: {}
- - schema: *ref_22
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- protocol: {}
- - schema: *ref_25
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- protocol: {}
- - schema: *ref_26
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- protocol: {}
- - schema: *ref_27
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- protocol: {}
- - schema: &ref_123
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- protocol: {}
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- protocol: {}
- - schema: *ref_64
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatchProperties
- description: Properties of HostPool.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: HostPool properties that can be patched.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_126
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_65
- serializedName: userPrincipalName
- language:
- default:
- name: userPrincipalName
- description: The user principal name.
- protocol: {}
- - schema: *ref_66
- serializedName: applicationType
- language:
- default:
- name: applicationType
- description: Application type of application.
- protocol: {}
- - schema: *ref_67
- serializedName: sessionState
- language:
- default:
- name: sessionState
- description: State of user session.
- protocol: {}
- - schema: *ref_68
- serializedName: activeDirectoryUserName
- language:
- default:
- name: activeDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - schema: *ref_69
- serializedName: createTime
- language:
- default:
- name: createTime
- description: The timestamp of the user session create.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSessionProperties
- description: Schema for UserSession properties.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for UserSession
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_127
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_70
- serializedName: lastHeartBeat
- language:
- default:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- protocol: {}
- - schema: *ref_71
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- protocol: {}
- - schema: *ref_72
- serializedName: agentVersion
- language:
- default:
- name: agentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- protocol: {}
- - schema: *ref_74
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - schema: *ref_75
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- protocol: {}
- - schema: *ref_76
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: statusTimestamp
- description: The timestamp of the status.
- protocol: {}
- - schema: *ref_77
- serializedName: osVersion
- language:
- default:
- name: osVersion
- description: The version of the OS on the session host.
- protocol: {}
- - schema: *ref_78
- serializedName: sxSStackVersion
- language:
- default:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - schema: *ref_79
- serializedName: updateState
- language:
- default:
- name: updateState
- description: Update state of a SessionHost.
- protocol: {}
- - schema: *ref_80
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: lastUpdateTime
- description: The timestamp of the last update.
- protocol: {}
- - schema: *ref_81
- serializedName: updateErrorMessage
- language:
- default:
- name: updateErrorMessage
- description: The error message.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHostProperties
- description: Schema for SessionHost properties.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_128
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- protocol: {}
- - schema: *ref_82
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatchProperties
- description: SessionHost properties that can be patched.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- protocol: {}
- - *ref_9
- - *ref_34
- - *ref_94
- - &ref_154
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_95
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- protocol: {}
- - schema: *ref_96
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- protocol: {}
- - &ref_161
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- protocol: {}
- - schema: &ref_100
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_97
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- protocol: {}
- - schema: *ref_98
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - schema: &ref_134
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_99
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatchProperties
- description: Workspace properties that can be patched.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- protocol: {}
- - *ref_100
- - &ref_166
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_135
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceList-value
- description: List of Workspace definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- protocol: {}
- - &ref_171
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_136
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupList-value
- description: List of ApplicationGroup definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- protocol: {}
- - schema: *ref_102
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_103
- - *ref_83
- - *ref_104
- - &ref_187
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_137
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemList-value
- description: List of StartMenuItem definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- protocol: {}
- - schema: *ref_105
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_106
- - *ref_85
- - *ref_107
- - &ref_198
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- protocol: {}
- - schema: &ref_113
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_108
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- protocol: {}
- - schema: *ref_109
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- protocol: {}
- - schema: *ref_110
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - schema: *ref_51
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- protocol: {}
- - schema: *ref_111
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - schema: *ref_53
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - schema: *ref_112
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatchProperties
- description: Application properties that can be patched.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Application
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- protocol: {}
- - *ref_113
- - &ref_205
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_138
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationList-value
- description: List of Application definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- protocol: {}
- - *ref_86
- - *ref_115
- - &ref_209
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- protocol: {}
- - schema: &ref_118
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_116
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- protocol: {}
- - schema: *ref_117
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatchProperties
- description: Desktop properties that can be patched.
- namespace: ''
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- protocol: {}
- - *ref_118
- - &ref_216
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_139
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopList-value
- description: List of Desktop definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- protocol: {}
- - schema: *ref_119
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- protocol: {}
- - *ref_36
- - *ref_120
- - *ref_121
- - *ref_87
- - *ref_122
- - *ref_123
- - &ref_230
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_141
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolList-value
- description: List of HostPool definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- protocol: {}
- - schema: *ref_124
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- protocol: {}
- - &ref_234
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_142
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionList-value
- description: List of UserSession definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- protocol: {}
- - schema: *ref_125
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_126
- - *ref_89
- - *ref_127
- - *ref_90
- - *ref_128
- - &ref_272
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_143
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostList-value
- description: List of SessionHost definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- protocol: {}
- - schema: *ref_129
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- protocol: {}
- - &ref_253
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_130
- serializedName: messageTitle
- language:
- default:
- name: messageTitle
- description: Title of message.
- protocol: {}
- - schema: *ref_131
- serializedName: messageBody
- language:
- default:
- name: messageBody
- description: Body of message.
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- protocol: {}
- arrays:
- - *ref_132
- - *ref_133
- - *ref_134
- - *ref_135
- - *ref_136
- - *ref_137
- - *ref_138
- - *ref_139
- - *ref_140
- - *ref_141
- - *ref_142
- - *ref_143
-globalParameters:
- - &ref_149
- schema: *ref_144
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscriptionId
- description: The ID of the target subscription.
- serializedName: subscriptionId
- protocol:
- http:
- in: path
- - &ref_146
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- protocol:
- http:
- in: uri
- - &ref_147
- schema: *ref_145
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: ApiVersion
- description: Api Version
- serializedName: api-version
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_148
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- protocol: {}
- language:
- default:
- name: Operations
- description: ''
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_152
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_153
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_152
- - *ref_153
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a workspace.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_157
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_158
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_156
- schema: *ref_34
- implementation: Method
- required: true
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_156
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_157
- - *ref_158
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a workspace.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_159
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_160
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_159
- - *ref_160
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a workspace.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_163
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_164
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_162
- schema: *ref_161
- implementation: Method
- required: false
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_162
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_163
- - *ref_164
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a workspace.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_165
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_165
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: Workspaces
- description: ''
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_168
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_169
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- protocol:
- http:
- in: path
- - &ref_170
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_168
- - *ref_169
- - *ref_170
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: WorkspaceLevelList
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignments
- description: ''
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_172
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_173
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_172
- - *ref_173
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get an application group.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_175
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_176
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_174
- schema: *ref_35
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_174
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_175
- - *ref_176
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_177
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_178
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_177
- - *ref_178
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an applicationGroup.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_180
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_181
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_179
- schema: *ref_83
- implementation: Method
- required: false
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_180
- - *ref_181
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update an applicationGroup.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_182
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_184
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_184
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: ApplicationGroups
- description: ''
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_185
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_187
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: StartMenuItems
- description: ''
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_188
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_189
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_190
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_188
- - *ref_189
- - *ref_190
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Get
- description: Get an application.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_192
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_193
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_194
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_191
- schema: *ref_85
- implementation: Method
- required: true
- language:
- default:
- name: application
- description: Object containing Application definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_191
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_192
- - *ref_193
- - *ref_194
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an application.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_195
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_196
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_197
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_195
- - *ref_196
- - *ref_197
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an application.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_200
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_201
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_202
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_199
- schema: *ref_198
- implementation: Method
- required: false
- language:
- default:
- name: application
- description: Object containing Application definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_199
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_200
- - *ref_201
- - *ref_202
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Update
- description: Update an application.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_203
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_204
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_203
- - *ref_204
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List applications.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: Applications
- description: ''
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_206
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_207
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_208
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_206
- - *ref_207
- - *ref_208
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Get
- description: Get a desktop.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_211
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_212
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_213
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_210
- schema: *ref_209
- implementation: Method
- required: false
- language:
- default:
- name: desktop
- description: Object containing Desktop definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_210
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_211
- - *ref_212
- - *ref_213
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Update
- description: Update a desktop.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_214
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_215
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_214
- - *ref_215
- responses:
- - schema: *ref_216
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: List
- description: List desktops.
- protocol: {}
- language:
- default:
- name: Desktops
- description: ''
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_217
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_218
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_217
- - *ref_218
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a host pool.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_220
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_221
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_219
- schema: *ref_36
- implementation: Method
- required: true
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_219
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- - *ref_221
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a host pool.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_223
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_224
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_223
- - *ref_224
- - *ref_225
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a host pool.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_227
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_228
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_226
- schema: *ref_87
- implementation: Method
- required: false
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_226
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_227
- - *ref_228
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a host pool.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_229
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_229
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: HostPools
- description: ''
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_231
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_232
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_233
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_231
- - *ref_232
- - *ref_233
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByHostPool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_237
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_238
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_239
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- - &ref_240
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_237
- - *ref_238
- - *ref_239
- - *ref_240
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: Get
- description: Get a userSession.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_241
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_242
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_243
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- - &ref_244
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- protocol:
- http:
- in: path
- - &ref_245
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_241
- - *ref_242
- - *ref_243
- - *ref_244
- - *ref_245
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a userSession.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_246
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_247
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_248
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_246
- - *ref_247
- - *ref_248
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_249
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_250
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_251
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- - &ref_252
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_249
- - *ref_250
- - *ref_251
- - *ref_252
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: Disconnect
- description: Disconnect a userSession.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_255
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- - &ref_258
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_254
- schema: *ref_253
- implementation: Method
- required: false
- language:
- default:
- name: sendMessage
- description: Object containing message includes title and message body
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_254
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- - *ref_258
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: SendMessage
- description: Send a message to a user.
- protocol: {}
- language:
- default:
- name: UserSessions
- description: ''
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_259
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_260
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_261
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_259
- - *ref_260
- - *ref_261
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Get
- description: Get a session host.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_262
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_263
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_264
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- - &ref_265
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_262
- - *ref_263
- - *ref_264
- - *ref_265
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a SessionHost.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_267
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_268
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_269
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- protocol:
- http:
- in: header
- - &ref_266
- schema: *ref_90
- implementation: Method
- required: false
- language:
- default:
- name: sessionHost
- description: Object containing SessionHost definitions.
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_266
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_267
- - *ref_268
- - *ref_269
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Update
- description: Update a session host.
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_270
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_271
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_270
- - *ref_271
- responses:
- - schema: *ref_272
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: SessionHosts
- description: ''
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_273
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_274
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- protocol:
- http:
- in: path
- - &ref_275
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- protocol:
- http:
- in: path
- - &ref_276
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_273
- - *ref_274
- - *ref_275
- - *ref_276
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySessionHost
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- protocol: {}
- language:
- default:
- name: ActiveApplications
- description: ''
- protocol: {}
-language:
- default:
- name: ''
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000020-prename-post-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000020-prename-post-simplified.yaml
deleted file mode 100644
index 9bfd969c1cb..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000020-prename-post-simplified.yaml
+++ /dev/null
@@ -1,1708 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operations
- cli:
- cliKey: Operations
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - operationGroupName: Workspaces
- cli:
- cliKey: Workspaces
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(Workspace^object)
- cli:
- cliKey: workspace
- bodySchema: Workspace
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- bodySchema: WorkspacePatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignments
- cli:
- cliKey: ApplicationGroupAssignments
- operations:
- - operationName: WorkspaceLevelList
- cli:
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroups
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroup
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroupPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItems
- cli:
- cliKey: StartMenuItems
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Applications
- cli:
- cliKey: Applications
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(Application^object)
- cli:
- cliKey: application
- bodySchema: Application
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(ApplicationPatch^object)
- cli:
- cliKey: application
- bodySchema: ApplicationPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Desktops
- cli:
- cliKey: Desktops
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- bodySchema: DesktopPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: HostPools
- cli:
- cliKey: HostPools
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPool^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPool
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPoolPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: UserSessions
- cli:
- cliKey: UserSessions
- operations:
- - operationName: ListByHostPool
- cli:
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Disconnect
- cli:
- cliKey: Disconnect
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: SendMessage
- cli:
- cliKey: SendMessage
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sendMessage(SendMessage^object)
- cli:
- cliKey: sendMessage
- bodySchema: SendMessage
- - operationGroupName: SessionHosts
- cli:
- cliKey: SessionHosts
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sessionHost(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- bodySchema: SessionHostPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationGroupName: ActiveApplications
- cli:
- cliKey: ActiveApplications
- operations:
- - operationName: ListBySessionHost
- cli:
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationList-value^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperation-name^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperation-display^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperation-display
- cli:
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperation-display-provider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperation-display-resource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperation-display-operation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperation-display-description^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cliKey: Resource
- properties:
- - propertyName: id(Resource-id^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(Resource-name^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(Resource-type^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResource-tags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResource-location^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cliKey: Workspace
- properties:
- - propertyName: properties(WorkspaceProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspaceProperties
- cli:
- cliKey: WorkspaceProperties
- properties:
- - propertyName: description(WorkspaceProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspaceProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspaceProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cliKey: CloudError
- properties:
- - propertyName: code(CloudError-code^string)
- cli:
- cliKey: code
- - propertyName: message(CloudError-message^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(WorkspacePatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspacePatchProperties
- cli:
- cliKey: WorkspacePatchProperties
- properties:
- - propertyName: description(WorkspacePatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspacePatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspacePatchProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(WorkspaceList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationGroupList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cliKey: ApplicationGroup
- properties:
- - propertyName: properties(ApplicationGroupProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupProperties
- cli:
- cliKey: ApplicationGroupProperties
- properties:
- - propertyName: description(ApplicationGroupProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: hostPoolArmPath(ApplicationGroupProperties-hostPoolArmPath^string)
- cli:
- cliKey: hostPoolArmPath
- - propertyName: workspaceArmPath(ApplicationGroupProperties-workspaceArmPath^string)
- cli:
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: applicationGroupType(ApplicationGroupType^choice)
- cli:
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationGroupPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupPatchProperties
- cli:
- cliKey: ApplicationGroupPatchProperties
- properties:
- - propertyName: description(ApplicationGroupPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(StartMenuItemList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cliKey: StartMenuItem
- properties:
- - propertyName: properties(StartMenuItemProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: StartMenuItemProperties
- cli:
- cliKey: StartMenuItemProperties
- properties:
- - propertyName: appAlias(StartMenuItemProperties-appAlias^string)
- cli:
- cliKey: appAlias
- - propertyName: friendlyName(StartMenuItemProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(StartMenuItemProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineArguments(StartMenuItemProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: iconPath(StartMenuItemProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cliKey: Application
- properties:
- - propertyName: properties(ApplicationProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationProperties
- cli:
- cliKey: ApplicationProperties
- properties:
- - propertyName: description(ApplicationProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - propertyName: iconHash(ApplicationProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(ApplicationProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationPatchProperties
- cli:
- cliKey: ApplicationPatchProperties
- properties:
- - propertyName: description(ApplicationPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationPatchProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationPatchProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationPatchProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cliKey: Desktop
- properties:
- - propertyName: properties(DesktopProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopProperties
- cli:
- cliKey: DesktopProperties
- properties:
- - propertyName: description(DesktopProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: iconHash(DesktopProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(DesktopProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(DesktopPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopPatchProperties
- cli:
- cliKey: DesktopPatchProperties
- properties:
- - propertyName: description(DesktopPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(DesktopList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cliKey: HostPool
- properties:
- - propertyName: properties(HostPoolProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolProperties
- cli:
- cliKey: HostPoolProperties
- properties:
- - propertyName: friendlyName(HostPoolProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolProperties-description^string)
- cli:
- cliKey: description
- - propertyName: hostPoolType(HostPoolType^choice)
- cli:
- cliKey: hostPoolType
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: customRdpProperty(HostPoolProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfo^object)
- cli:
- cliKey: registrationInfo
- - propertyName: vmTemplate(HostPoolProperties-vmTemplate^string)
- cli:
- cliKey: vmTemplate
- - propertyName: applicationGroupReferences(HostPoolProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: ssoContext(HostPoolProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cliKey: RegistrationInfo
- properties:
- - propertyName: expirationTime(RegistrationInfo-expirationTime^date-time)
- cli:
- cliKey: expirationTime
- - propertyName: token(RegistrationInfo-token^string)
- cli:
- cliKey: token
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(HostPoolPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolPatchProperties
- cli:
- cliKey: HostPoolPatchProperties
- properties:
- - propertyName: friendlyName(HostPoolPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: customRdpProperty(HostPoolPatchProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfoPatch^object)
- cli:
- cliKey: registrationInfo
- - propertyName: ssoContext(HostPoolPatchProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(HostPoolList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(UserSessionList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cliKey: UserSession
- properties:
- - propertyName: properties(UserSessionProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: UserSessionProperties
- cli:
- cliKey: UserSessionProperties
- properties:
- - propertyName: userPrincipalName(UserSessionProperties-userPrincipalName^string)
- cli:
- cliKey: userPrincipalName
- - propertyName: applicationType(ApplicationType^choice)
- cli:
- cliKey: applicationType
- - propertyName: sessionState(SessionState^choice)
- cli:
- cliKey: sessionState
- - propertyName: activeDirectoryUserName(UserSessionProperties-activeDirectoryUserName^string)
- cli:
- cliKey: activeDirectoryUserName
- - propertyName: createTime(UserSessionProperties-createTime^date-time)
- cli:
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cliKey: SessionHost
- properties:
- - propertyName: properties(SessionHostProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostProperties
- cli:
- cliKey: SessionHostProperties
- properties:
- - propertyName: lastHeartBeat(SessionHostProperties-lastHeartBeat^date-time)
- cli:
- cliKey: lastHeartBeat
- - propertyName: sessions(integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agentVersion(SessionHostProperties-agentVersion^string)
- cli:
- cliKey: agentVersion
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: statusTimestamp(SessionHostProperties-statusTimestamp^date-time)
- cli:
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: osVersion(SessionHostProperties-osVersion^string)
- cli:
- cliKey: osVersion
- - propertyName: sxSStackVersion(SessionHostProperties-sxSStackVersion^string)
- cli:
- cliKey: sxSStackVersion
- - propertyName: updateState(UpdateState^choice)
- cli:
- cliKey: updateState
- - propertyName: lastUpdateTime(SessionHostProperties-lastUpdateTime^date-time)
- cli:
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: updateErrorMessage(SessionHostProperties-updateErrorMessage^string)
- cli:
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cliKey: SessionHostPatch
- properties:
- - propertyName: properties(SessionHostPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostPatchProperties
- cli:
- cliKey: SessionHostPatchProperties
- properties:
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostPatchProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(SessionHostList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cliKey: SendMessage
- properties:
- - propertyName: messageTitle(SendMessage-messageTitle^string)
- cli:
- cliKey: messageTitle
- - propertyName: messageBody(SendMessage-messageBody^string)
- cli:
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: DoNotAllow
- cli:
- cliKey: DoNotAllow
- - choiceValue: Allow
- cli:
- cliKey: Allow
- - choiceValue: Require
- cli:
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: Personal
- cli:
- cliKey: Personal
- - choiceValue: Pooled
- cli:
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: Automatic
- cli:
- cliKey: Automatic
- - choiceValue: Direct
- cli:
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: BreadthFirst
- cli:
- cliKey: BreadthFirst
- - choiceValue: DepthFirst
- cli:
- cliKey: DepthFirst
- - choiceValue: Persistent
- cli:
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: Delete
- cli:
- cliKey: Delete
- - choiceValue: None
- cli:
- cliKey: None
- - choiceValue: Update
- cli:
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: Unknown
- cli:
- cliKey: Unknown
- - choiceValue: Active
- cli:
- cliKey: Active
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: LogOff
- cli:
- cliKey: LogOff
- - choiceValue: UserProfileDiskMounted
- cli:
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: Available
- cli:
- cliKey: Available
- - choiceValue: Unavailable
- cli:
- cliKey: Unavailable
- - choiceValue: Shutdown
- cli:
- cliKey: Shutdown
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Upgrading
- cli:
- cliKey: Upgrading
- - choiceValue: UpgradeFailed
- cli:
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: Initial
- cli:
- cliKey: Initial
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: Started
- cli:
- cliKey: Started
- - choiceValue: Succeeded
- cli:
- cliKey: Succeeded
- - choiceValue: Failed
- cli:
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000020-prename-post.yaml b/src/desktopvirtualization/_az_debug/clicommon-000020-prename-post.yaml
deleted file mode 100644
index 550ae0d6b47..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000020-prename-post.yaml
+++ /dev/null
@@ -1,9037 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 20
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_222
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-description
- description: Description of this operation.
- protocol: {}
- - &ref_144
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_150
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_151
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResource-location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-code
- description: Error code
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_167
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-appAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-friendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-filePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-commandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-iconPath
- description: Path to the icon.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_111
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_112
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_119
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_124
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-userPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-activeDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_125
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_235
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-agentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-osVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-sxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-updateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_129
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_236
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageTitle
- description: Title of message.
- protocol: {}
- - &ref_131
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: DoNotAllow
- description: ''
- cli:
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: Allow
- description: ''
- cli:
- cliKey: Allow
- - value: Require
- language:
- default:
- name: Require
- description: ''
- cli:
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: Personal
- description: ''
- cli:
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: Pooled
- description: ''
- cli:
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: Automatic
- description: ''
- cli:
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: Direct
- description: ''
- cli:
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: BreadthFirst
- description: ''
- cli:
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: DepthFirst
- description: ''
- cli:
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: Persistent
- description: ''
- cli:
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: Delete
- description: ''
- cli:
- cliKey: Delete
- - value: None
- language:
- default:
- name: None
- description: ''
- cli:
- cliKey: None
- - value: Update
- language:
- default:
- name: Update
- description: ''
- cli:
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: Unknown
- description: ''
- cli:
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: Active
- description: ''
- cli:
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: LogOff
- description: ''
- cli:
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: UserProfileDiskMounted
- description: ''
- cli:
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: Available
- description: ''
- cli:
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: Unavailable
- description: ''
- cli:
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: Shutdown
- description: ''
- cli:
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: Upgrading
- description: ''
- cli:
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: UpgradeFailed
- description: ''
- cli:
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: Initial
- description: ''
- cli:
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: Started
- language:
- default:
- name: Started
- description: ''
- cli:
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: Succeeded
- description: ''
- cli:
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: Failed
- description: ''
- cli:
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_145
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: ApiVersion-2019-12-10-preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_155
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application/json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResource-tags
- description: Resource tags.
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconContent
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconContent
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-expirationTime
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-createTime
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastHeartBeat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-statusTimestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastUpdateTime
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_148
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_132
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation-display
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationList-value
- description: List of operations supported by this resource provider.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_94
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_11
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_12
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_133
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferences
- description: List of applicationGroup resource Ids.
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: WorkspaceProperties
- description: Schema for Workspace properties.
- namespace: ''
- cli:
- cliKey: WorkspaceProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_103
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_14
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_15
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_16
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- cliKey: workspaceArmPath
- protocol: {}
- - schema: *ref_18
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroupProperties
- description: Schema for ApplicationGroup properties.
- namespace: ''
- cli:
- cliKey: ApplicationGroupProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for ApplicationGroup
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_120
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_19
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_20
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_21
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: hostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: hostPoolType
- protocol: {}
- - schema: *ref_22
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_23
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_25
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_121
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expirationTime
- description: Expiration time of registration token.
- cli:
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cliKey: RegistrationInfo
- protocol: {}
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_31
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_140
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolProperties-applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- - schema: *ref_33
- required: false
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPoolProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cliKey: HostPoolProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for HostPool
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli:
- cliKey: tags
- protocol: {}
- - schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli:
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_104
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_40
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_41
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatchProperties
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationGroupPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: ApplicationGroup properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_106
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_42
- serializedName: appAlias
- language:
- default:
- name: appAlias
- description: Alias of StartMenuItem.
- cli:
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Path to the file of StartMenuItem.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to the icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItemProperties
- description: Schema for StartMenuItem properties.
- namespace: ''
- cli:
- cliKey: StartMenuItemProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for StartMenuItem
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_107
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_48
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_49
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_50
- required: false
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_52
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- required: false
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_54
- required: false
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- required: false
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationProperties
- description: Schema for Application properties.
- namespace: ''
- cli:
- cliKey: ApplicationProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_115
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_57
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_58
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: DesktopProperties
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cliKey: DesktopProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_122
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_61
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_62
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_63
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_22
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_25
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_123
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cliKey: RegistrationInfoPatch
- protocol: {}
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_64
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatchProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cliKey: HostPoolPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: HostPool properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_126
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_65
- serializedName: userPrincipalName
- language:
- default:
- name: userPrincipalName
- description: The user principal name.
- cli:
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- serializedName: applicationType
- language:
- default:
- name: applicationType
- description: Application type of application.
- cli:
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- serializedName: sessionState
- language:
- default:
- name: sessionState
- description: State of user session.
- cli:
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- serializedName: activeDirectoryUserName
- language:
- default:
- name: activeDirectoryUserName
- description: The active directory user name.
- cli:
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- serializedName: createTime
- language:
- default:
- name: createTime
- description: The timestamp of the user session create.
- cli:
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSessionProperties
- description: Schema for UserSession properties.
- namespace: ''
- cli:
- cliKey: UserSessionProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for UserSession
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_127
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_70
- serializedName: lastHeartBeat
- language:
- default:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cli:
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- serializedName: agentVersion
- language:
- default:
- name: agentVersion
- description: Version of agent on SessionHost.
- cli:
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: status
- protocol: {}
- - schema: *ref_76
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: statusTimestamp
- description: The timestamp of the status.
- cli:
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- serializedName: osVersion
- language:
- default:
- name: osVersion
- description: The version of the OS on the session host.
- cli:
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- serializedName: sxSStackVersion
- language:
- default:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- serializedName: updateState
- language:
- default:
- name: updateState
- description: Update state of a SessionHost.
- cli:
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cli:
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- serializedName: updateErrorMessage
- language:
- default:
- name: updateErrorMessage
- description: The error message.
- cli:
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHostProperties
- description: Schema for SessionHost properties.
- namespace: ''
- cli:
- cliKey: SessionHostProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_128
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_82
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatchProperties
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cliKey: SessionHostPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - *ref_94
- - &ref_154
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_95
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- cliKey: code
- protocol: {}
- - schema: *ref_96
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- cliKey: CloudError
- protocol: {}
- - &ref_161
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_100
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_97
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_98
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_134
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_99
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatchProperties
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cliKey: WorkspacePatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cliKey: WorkspacePatch
- protocol: {}
- - *ref_100
- - &ref_166
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_135
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceList-value
- description: List of Workspace definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- cliKey: WorkspaceList
- protocol: {}
- - &ref_171
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_136
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupList-value
- description: List of ApplicationGroup definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_102
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_103
- - *ref_83
- - *ref_104
- - &ref_187
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_137
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemList-value
- description: List of StartMenuItem definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_105
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_106
- - *ref_85
- - *ref_107
- - &ref_198
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_113
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_108
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_109
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_110
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_111
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_112
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatchProperties
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationPatch
- protocol: {}
- - *ref_113
- - &ref_205
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_138
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationList-value
- description: List of Application definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - *ref_115
- - &ref_209
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_118
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_116
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_117
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatchProperties
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cliKey: DesktopPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cliKey: DesktopPatch
- protocol: {}
- - *ref_118
- - &ref_216
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_139
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopList-value
- description: List of Desktop definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_119
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_120
- - *ref_121
- - *ref_87
- - *ref_122
- - *ref_123
- - &ref_230
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_141
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolList-value
- description: List of HostPool definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_124
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- cliKey: HostPoolList
- protocol: {}
- - &ref_234
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_142
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionList-value
- description: List of UserSession definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_125
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_126
- - *ref_89
- - *ref_127
- - *ref_90
- - *ref_128
- - &ref_272
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_143
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostList-value
- description: List of SessionHost definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_129
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- cliKey: SessionHostList
- protocol: {}
- - &ref_253
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_130
- serializedName: messageTitle
- language:
- default:
- name: messageTitle
- description: Title of message.
- cli:
- cliKey: messageTitle
- protocol: {}
- - schema: *ref_131
- serializedName: messageBody
- language:
- default:
- name: messageBody
- description: Body of message.
- cli:
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_132
- - *ref_133
- - *ref_134
- - *ref_135
- - *ref_136
- - *ref_137
- - *ref_138
- - *ref_139
- - *ref_140
- - *ref_141
- - *ref_142
- - *ref_143
-globalParameters:
- - &ref_149
- schema: *ref_144
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscriptionId
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_146
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_147
- schema: *ref_145
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: ApiVersion
- description: Api Version
- serializedName: api-version
- cli:
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_148
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Operations
- description: ''
- cli:
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_152
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_153
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_152
- - *ref_153
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a workspace.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_157
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_158
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_156
- schema: *ref_34
- implementation: Method
- required: true
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_156
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_157
- - *ref_158
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_159
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_160
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_159
- - *ref_160
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a workspace.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_163
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_164
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_162
- schema: *ref_161
- implementation: Method
- required: false
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_162
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_163
- - *ref_164
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a workspace.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_165
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_165
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspaces
- description: ''
- cli:
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_168
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_169
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_170
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_168
- - *ref_169
- - *ref_170
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: WorkspaceLevelList
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignments
- description: ''
- cli:
- cliKey: ApplicationGroupAssignments
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_172
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_173
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_172
- - *ref_173
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get an application group.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_175
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_176
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_174
- schema: *ref_35
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_174
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_175
- - *ref_176
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_177
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_178
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_177
- - *ref_178
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an applicationGroup.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_180
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_181
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_179
- schema: *ref_83
- implementation: Method
- required: false
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_180
- - *ref_181
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update an applicationGroup.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_182
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_184
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_184
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroups
- description: ''
- cli:
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_185
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_187
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItems
- description: ''
- cli:
- cliKey: StartMenuItems
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_188
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_189
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_190
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_188
- - *ref_189
- - *ref_190
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Get
- description: Get an application.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_192
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_193
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_194
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_191
- schema: *ref_85
- implementation: Method
- required: true
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_191
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_192
- - *ref_193
- - *ref_194
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an application.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_195
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_196
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_197
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_195
- - *ref_196
- - *ref_197
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an application.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_200
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_201
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_202
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_199
- schema: *ref_198
- implementation: Method
- required: false
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_199
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_200
- - *ref_201
- - *ref_202
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Update
- description: Update an application.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_203
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_204
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_203
- - *ref_204
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Applications
- description: ''
- cli:
- cliKey: Applications
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_206
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_207
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_208
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_206
- - *ref_207
- - *ref_208
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Get
- description: Get a desktop.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_211
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_212
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_213
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_210
- schema: *ref_209
- implementation: Method
- required: false
- language:
- default:
- name: desktop
- description: Object containing Desktop definitions.
- cli:
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_210
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_211
- - *ref_212
- - *ref_213
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Update
- description: Update a desktop.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_214
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_215
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_214
- - *ref_215
- responses:
- - schema: *ref_216
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: List
- description: List desktops.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktops
- description: ''
- cli:
- cliKey: Desktops
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_217
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_218
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_217
- - *ref_218
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a host pool.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_220
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_221
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_219
- schema: *ref_36
- implementation: Method
- required: true
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_219
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- - *ref_221
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_223
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_224
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_223
- - *ref_224
- - *ref_225
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a host pool.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_227
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_228
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_226
- schema: *ref_87
- implementation: Method
- required: false
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_226
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_227
- - *ref_228
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a host pool.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_229
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_229
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPools
- description: ''
- cli:
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_231
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_232
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_233
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_231
- - *ref_232
- - *ref_233
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByHostPool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_237
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_238
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_239
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_240
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_237
- - *ref_238
- - *ref_239
- - *ref_240
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: Get
- description: Get a userSession.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_241
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_242
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_243
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_244
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_245
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_241
- - *ref_242
- - *ref_243
- - *ref_244
- - *ref_245
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a userSession.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_246
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_247
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_248
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_246
- - *ref_247
- - *ref_248
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_249
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_250
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_251
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_252
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_249
- - *ref_250
- - *ref_251
- - *ref_252
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: Disconnect
- description: Disconnect a userSession.
- cli:
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_255
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_258
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_254
- schema: *ref_253
- implementation: Method
- required: false
- language:
- default:
- name: sendMessage
- description: Object containing message includes title and message body
- cli:
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_254
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- - *ref_258
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: SendMessage
- description: Send a message to a user.
- cli:
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSessions
- description: ''
- cli:
- cliKey: UserSessions
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_259
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_260
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_261
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_259
- - *ref_260
- - *ref_261
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Get
- description: Get a session host.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_262
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_263
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_264
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_265
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_262
- - *ref_263
- - *ref_264
- - *ref_265
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a SessionHost.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_267
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_268
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_269
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_266
- schema: *ref_90
- implementation: Method
- required: false
- language:
- default:
- name: sessionHost
- description: Object containing SessionHost definitions.
- cli:
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_266
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_267
- - *ref_268
- - *ref_269
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Update
- description: Update a session host.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_270
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_271
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_270
- - *ref_271
- responses:
- - schema: *ref_272
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHosts
- description: ''
- cli:
- cliKey: SessionHosts
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_273
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_274
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_275
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_276
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_273
- - *ref_274
- - *ref_275
- - *ref_276
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySessionHost
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplications
- description: ''
- cli:
- cliKey: ActiveApplications
- protocol: {}
-language:
- default:
- name: ''
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre-simplified.yaml
deleted file mode 100644
index 9bfd969c1cb..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre-simplified.yaml
+++ /dev/null
@@ -1,1708 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operations
- cli:
- cliKey: Operations
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - operationGroupName: Workspaces
- cli:
- cliKey: Workspaces
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(Workspace^object)
- cli:
- cliKey: workspace
- bodySchema: Workspace
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- bodySchema: WorkspacePatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignments
- cli:
- cliKey: ApplicationGroupAssignments
- operations:
- - operationName: WorkspaceLevelList
- cli:
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroups
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroup
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroupPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItems
- cli:
- cliKey: StartMenuItems
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Applications
- cli:
- cliKey: Applications
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(Application^object)
- cli:
- cliKey: application
- bodySchema: Application
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(ApplicationPatch^object)
- cli:
- cliKey: application
- bodySchema: ApplicationPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Desktops
- cli:
- cliKey: Desktops
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- bodySchema: DesktopPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: HostPools
- cli:
- cliKey: HostPools
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPool^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPool
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPoolPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: UserSessions
- cli:
- cliKey: UserSessions
- operations:
- - operationName: ListByHostPool
- cli:
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Disconnect
- cli:
- cliKey: Disconnect
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: SendMessage
- cli:
- cliKey: SendMessage
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sendMessage(SendMessage^object)
- cli:
- cliKey: sendMessage
- bodySchema: SendMessage
- - operationGroupName: SessionHosts
- cli:
- cliKey: SessionHosts
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sessionHost(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- bodySchema: SessionHostPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationGroupName: ActiveApplications
- cli:
- cliKey: ActiveApplications
- operations:
- - operationName: ListBySessionHost
- cli:
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationList-value^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperation-name^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperation-display^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperation-display
- cli:
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperation-display-provider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperation-display-resource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperation-display-operation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperation-display-description^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cliKey: Resource
- properties:
- - propertyName: id(Resource-id^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(Resource-name^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(Resource-type^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResource-tags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResource-location^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cliKey: Workspace
- properties:
- - propertyName: properties(WorkspaceProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspaceProperties
- cli:
- cliKey: WorkspaceProperties
- properties:
- - propertyName: description(WorkspaceProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspaceProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspaceProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cliKey: CloudError
- properties:
- - propertyName: code(CloudError-code^string)
- cli:
- cliKey: code
- - propertyName: message(CloudError-message^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(WorkspacePatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspacePatchProperties
- cli:
- cliKey: WorkspacePatchProperties
- properties:
- - propertyName: description(WorkspacePatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspacePatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspacePatchProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(WorkspaceList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationGroupList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cliKey: ApplicationGroup
- properties:
- - propertyName: properties(ApplicationGroupProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupProperties
- cli:
- cliKey: ApplicationGroupProperties
- properties:
- - propertyName: description(ApplicationGroupProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: hostPoolArmPath(ApplicationGroupProperties-hostPoolArmPath^string)
- cli:
- cliKey: hostPoolArmPath
- - propertyName: workspaceArmPath(ApplicationGroupProperties-workspaceArmPath^string)
- cli:
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: applicationGroupType(ApplicationGroupType^choice)
- cli:
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationGroupPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupPatchProperties
- cli:
- cliKey: ApplicationGroupPatchProperties
- properties:
- - propertyName: description(ApplicationGroupPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(StartMenuItemList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cliKey: StartMenuItem
- properties:
- - propertyName: properties(StartMenuItemProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: StartMenuItemProperties
- cli:
- cliKey: StartMenuItemProperties
- properties:
- - propertyName: appAlias(StartMenuItemProperties-appAlias^string)
- cli:
- cliKey: appAlias
- - propertyName: friendlyName(StartMenuItemProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(StartMenuItemProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineArguments(StartMenuItemProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: iconPath(StartMenuItemProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cliKey: Application
- properties:
- - propertyName: properties(ApplicationProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationProperties
- cli:
- cliKey: ApplicationProperties
- properties:
- - propertyName: description(ApplicationProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - propertyName: iconHash(ApplicationProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(ApplicationProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationPatchProperties
- cli:
- cliKey: ApplicationPatchProperties
- properties:
- - propertyName: description(ApplicationPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationPatchProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationPatchProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationPatchProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cliKey: Desktop
- properties:
- - propertyName: properties(DesktopProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopProperties
- cli:
- cliKey: DesktopProperties
- properties:
- - propertyName: description(DesktopProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: iconHash(DesktopProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(DesktopProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(DesktopPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopPatchProperties
- cli:
- cliKey: DesktopPatchProperties
- properties:
- - propertyName: description(DesktopPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(DesktopList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cliKey: HostPool
- properties:
- - propertyName: properties(HostPoolProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolProperties
- cli:
- cliKey: HostPoolProperties
- properties:
- - propertyName: friendlyName(HostPoolProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolProperties-description^string)
- cli:
- cliKey: description
- - propertyName: hostPoolType(HostPoolType^choice)
- cli:
- cliKey: hostPoolType
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: customRdpProperty(HostPoolProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfo^object)
- cli:
- cliKey: registrationInfo
- - propertyName: vmTemplate(HostPoolProperties-vmTemplate^string)
- cli:
- cliKey: vmTemplate
- - propertyName: applicationGroupReferences(HostPoolProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: ssoContext(HostPoolProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cliKey: RegistrationInfo
- properties:
- - propertyName: expirationTime(RegistrationInfo-expirationTime^date-time)
- cli:
- cliKey: expirationTime
- - propertyName: token(RegistrationInfo-token^string)
- cli:
- cliKey: token
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(HostPoolPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolPatchProperties
- cli:
- cliKey: HostPoolPatchProperties
- properties:
- - propertyName: friendlyName(HostPoolPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: customRdpProperty(HostPoolPatchProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfoPatch^object)
- cli:
- cliKey: registrationInfo
- - propertyName: ssoContext(HostPoolPatchProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(HostPoolList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(UserSessionList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cliKey: UserSession
- properties:
- - propertyName: properties(UserSessionProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: UserSessionProperties
- cli:
- cliKey: UserSessionProperties
- properties:
- - propertyName: userPrincipalName(UserSessionProperties-userPrincipalName^string)
- cli:
- cliKey: userPrincipalName
- - propertyName: applicationType(ApplicationType^choice)
- cli:
- cliKey: applicationType
- - propertyName: sessionState(SessionState^choice)
- cli:
- cliKey: sessionState
- - propertyName: activeDirectoryUserName(UserSessionProperties-activeDirectoryUserName^string)
- cli:
- cliKey: activeDirectoryUserName
- - propertyName: createTime(UserSessionProperties-createTime^date-time)
- cli:
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cliKey: SessionHost
- properties:
- - propertyName: properties(SessionHostProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostProperties
- cli:
- cliKey: SessionHostProperties
- properties:
- - propertyName: lastHeartBeat(SessionHostProperties-lastHeartBeat^date-time)
- cli:
- cliKey: lastHeartBeat
- - propertyName: sessions(integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agentVersion(SessionHostProperties-agentVersion^string)
- cli:
- cliKey: agentVersion
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: statusTimestamp(SessionHostProperties-statusTimestamp^date-time)
- cli:
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: osVersion(SessionHostProperties-osVersion^string)
- cli:
- cliKey: osVersion
- - propertyName: sxSStackVersion(SessionHostProperties-sxSStackVersion^string)
- cli:
- cliKey: sxSStackVersion
- - propertyName: updateState(UpdateState^choice)
- cli:
- cliKey: updateState
- - propertyName: lastUpdateTime(SessionHostProperties-lastUpdateTime^date-time)
- cli:
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: updateErrorMessage(SessionHostProperties-updateErrorMessage^string)
- cli:
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cliKey: SessionHostPatch
- properties:
- - propertyName: properties(SessionHostPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostPatchProperties
- cli:
- cliKey: SessionHostPatchProperties
- properties:
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostPatchProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(SessionHostList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cliKey: SendMessage
- properties:
- - propertyName: messageTitle(SendMessage-messageTitle^string)
- cli:
- cliKey: messageTitle
- - propertyName: messageBody(SendMessage-messageBody^string)
- cli:
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: DoNotAllow
- cli:
- cliKey: DoNotAllow
- - choiceValue: Allow
- cli:
- cliKey: Allow
- - choiceValue: Require
- cli:
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: Personal
- cli:
- cliKey: Personal
- - choiceValue: Pooled
- cli:
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: Automatic
- cli:
- cliKey: Automatic
- - choiceValue: Direct
- cli:
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: BreadthFirst
- cli:
- cliKey: BreadthFirst
- - choiceValue: DepthFirst
- cli:
- cliKey: DepthFirst
- - choiceValue: Persistent
- cli:
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: Delete
- cli:
- cliKey: Delete
- - choiceValue: None
- cli:
- cliKey: None
- - choiceValue: Update
- cli:
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: Unknown
- cli:
- cliKey: Unknown
- - choiceValue: Active
- cli:
- cliKey: Active
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: LogOff
- cli:
- cliKey: LogOff
- - choiceValue: UserProfileDiskMounted
- cli:
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: Available
- cli:
- cliKey: Available
- - choiceValue: Unavailable
- cli:
- cliKey: Unavailable
- - choiceValue: Shutdown
- cli:
- cliKey: Shutdown
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Upgrading
- cli:
- cliKey: Upgrading
- - choiceValue: UpgradeFailed
- cli:
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: Initial
- cli:
- cliKey: Initial
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: Started
- cli:
- cliKey: Started
- - choiceValue: Succeeded
- cli:
- cliKey: Succeeded
- - choiceValue: Failed
- cli:
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre.yaml b/src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre.yaml
deleted file mode 100644
index fa2a6f2ee9f..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre.yaml
+++ /dev/null
@@ -1,9037 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 30
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_222
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-description
- description: Description of this operation.
- protocol: {}
- - &ref_144
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_150
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_151
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResource-location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-code
- description: Error code
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_167
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-appAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-friendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-filePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-commandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-iconPath
- description: Path to the icon.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_111
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_112
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_119
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_124
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-userPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-activeDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_125
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_235
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-agentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-osVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-sxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-updateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_129
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_236
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageTitle
- description: Title of message.
- protocol: {}
- - &ref_131
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: DoNotAllow
- description: ''
- cli:
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: Allow
- description: ''
- cli:
- cliKey: Allow
- - value: Require
- language:
- default:
- name: Require
- description: ''
- cli:
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: Personal
- description: ''
- cli:
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: Pooled
- description: ''
- cli:
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: Automatic
- description: ''
- cli:
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: Direct
- description: ''
- cli:
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: BreadthFirst
- description: ''
- cli:
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: DepthFirst
- description: ''
- cli:
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: Persistent
- description: ''
- cli:
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: Delete
- description: ''
- cli:
- cliKey: Delete
- - value: None
- language:
- default:
- name: None
- description: ''
- cli:
- cliKey: None
- - value: Update
- language:
- default:
- name: Update
- description: ''
- cli:
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: Unknown
- description: ''
- cli:
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: Active
- description: ''
- cli:
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: LogOff
- description: ''
- cli:
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: UserProfileDiskMounted
- description: ''
- cli:
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: Available
- description: ''
- cli:
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: Unavailable
- description: ''
- cli:
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: Shutdown
- description: ''
- cli:
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: Upgrading
- description: ''
- cli:
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: UpgradeFailed
- description: ''
- cli:
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: Initial
- description: ''
- cli:
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: Started
- language:
- default:
- name: Started
- description: ''
- cli:
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: Succeeded
- description: ''
- cli:
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: Failed
- description: ''
- cli:
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_145
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: ApiVersion-2019-12-10-preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_155
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application/json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResource-tags
- description: Resource tags.
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconContent
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconContent
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-expirationTime
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-createTime
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastHeartBeat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-statusTimestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastUpdateTime
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_148
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_132
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation-display
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationList-value
- description: List of operations supported by this resource provider.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_94
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_11
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_12
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_133
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferences
- description: List of applicationGroup resource Ids.
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: WorkspaceProperties
- description: Schema for Workspace properties.
- namespace: ''
- cli:
- cliKey: WorkspaceProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_103
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_14
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_15
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_16
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- cliKey: workspaceArmPath
- protocol: {}
- - schema: *ref_18
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroupProperties
- description: Schema for ApplicationGroup properties.
- namespace: ''
- cli:
- cliKey: ApplicationGroupProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for ApplicationGroup
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_120
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_19
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_20
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_21
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: hostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: hostPoolType
- protocol: {}
- - schema: *ref_22
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_23
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_25
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_121
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expirationTime
- description: Expiration time of registration token.
- cli:
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cliKey: RegistrationInfo
- protocol: {}
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_31
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_140
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolProperties-applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- - schema: *ref_33
- required: false
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPoolProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cliKey: HostPoolProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for HostPool
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli:
- cliKey: tags
- protocol: {}
- - schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli:
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_104
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_40
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_41
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatchProperties
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationGroupPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: ApplicationGroup properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_106
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_42
- serializedName: appAlias
- language:
- default:
- name: appAlias
- description: Alias of StartMenuItem.
- cli:
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Path to the file of StartMenuItem.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to the icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItemProperties
- description: Schema for StartMenuItem properties.
- namespace: ''
- cli:
- cliKey: StartMenuItemProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for StartMenuItem
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_107
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_48
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_49
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_50
- required: false
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_52
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- required: false
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_54
- required: false
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- required: false
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationProperties
- description: Schema for Application properties.
- namespace: ''
- cli:
- cliKey: ApplicationProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_115
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_57
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_58
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: DesktopProperties
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cliKey: DesktopProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_122
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_61
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_62
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_63
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_22
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_25
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_123
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cliKey: RegistrationInfoPatch
- protocol: {}
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_64
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatchProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cliKey: HostPoolPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: HostPool properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_126
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_65
- serializedName: userPrincipalName
- language:
- default:
- name: userPrincipalName
- description: The user principal name.
- cli:
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- serializedName: applicationType
- language:
- default:
- name: applicationType
- description: Application type of application.
- cli:
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- serializedName: sessionState
- language:
- default:
- name: sessionState
- description: State of user session.
- cli:
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- serializedName: activeDirectoryUserName
- language:
- default:
- name: activeDirectoryUserName
- description: The active directory user name.
- cli:
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- serializedName: createTime
- language:
- default:
- name: createTime
- description: The timestamp of the user session create.
- cli:
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSessionProperties
- description: Schema for UserSession properties.
- namespace: ''
- cli:
- cliKey: UserSessionProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for UserSession
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_127
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_70
- serializedName: lastHeartBeat
- language:
- default:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cli:
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- serializedName: agentVersion
- language:
- default:
- name: agentVersion
- description: Version of agent on SessionHost.
- cli:
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: status
- protocol: {}
- - schema: *ref_76
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: statusTimestamp
- description: The timestamp of the status.
- cli:
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- serializedName: osVersion
- language:
- default:
- name: osVersion
- description: The version of the OS on the session host.
- cli:
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- serializedName: sxSStackVersion
- language:
- default:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- serializedName: updateState
- language:
- default:
- name: updateState
- description: Update state of a SessionHost.
- cli:
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cli:
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- serializedName: updateErrorMessage
- language:
- default:
- name: updateErrorMessage
- description: The error message.
- cli:
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHostProperties
- description: Schema for SessionHost properties.
- namespace: ''
- cli:
- cliKey: SessionHostProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_128
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_82
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatchProperties
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cliKey: SessionHostPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - *ref_94
- - &ref_154
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_95
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- cliKey: code
- protocol: {}
- - schema: *ref_96
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- cliKey: CloudError
- protocol: {}
- - &ref_161
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_100
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_97
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_98
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_134
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_99
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferences
- description: List of applicationGroup links.
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatchProperties
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cliKey: WorkspacePatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cliKey: WorkspacePatch
- protocol: {}
- - *ref_100
- - &ref_166
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_135
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceList-value
- description: List of Workspace definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- cliKey: WorkspaceList
- protocol: {}
- - &ref_171
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_136
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupList-value
- description: List of ApplicationGroup definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_102
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_103
- - *ref_83
- - *ref_104
- - &ref_187
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_137
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemList-value
- description: List of StartMenuItem definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_105
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_106
- - *ref_85
- - *ref_107
- - &ref_198
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_113
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_108
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_109
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_110
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_111
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_112
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatchProperties
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cliKey: ApplicationPatch
- protocol: {}
- - *ref_113
- - &ref_205
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_138
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationList-value
- description: List of Application definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - *ref_115
- - &ref_209
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_118
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_116
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_117
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatchProperties
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cliKey: DesktopPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cliKey: DesktopPatch
- protocol: {}
- - *ref_118
- - &ref_216
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_139
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopList-value
- description: List of Desktop definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_119
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_120
- - *ref_121
- - *ref_87
- - *ref_122
- - *ref_123
- - &ref_230
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_141
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolList-value
- description: List of HostPool definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_124
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- cliKey: HostPoolList
- protocol: {}
- - &ref_234
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_142
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionList-value
- description: List of UserSession definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_125
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_126
- - *ref_89
- - *ref_127
- - *ref_90
- - *ref_128
- - &ref_272
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_143
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostList-value
- description: List of SessionHost definitions.
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_129
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- cliKey: SessionHostList
- protocol: {}
- - &ref_253
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_130
- serializedName: messageTitle
- language:
- default:
- name: messageTitle
- description: Title of message.
- cli:
- cliKey: messageTitle
- protocol: {}
- - schema: *ref_131
- serializedName: messageBody
- language:
- default:
- name: messageBody
- description: Body of message.
- cli:
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_132
- - *ref_133
- - *ref_134
- - *ref_135
- - *ref_136
- - *ref_137
- - *ref_138
- - *ref_139
- - *ref_140
- - *ref_141
- - *ref_142
- - *ref_143
-globalParameters:
- - &ref_149
- schema: *ref_144
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscriptionId
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_146
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_147
- schema: *ref_145
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: ApiVersion
- description: Api Version
- serializedName: api-version
- cli:
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_148
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Operations
- description: ''
- cli:
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_152
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_153
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_152
- - *ref_153
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a workspace.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_157
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_158
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_156
- schema: *ref_34
- implementation: Method
- required: true
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_156
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_157
- - *ref_158
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_159
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_160
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_159
- - *ref_160
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a workspace.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_163
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_164
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_162
- schema: *ref_161
- implementation: Method
- required: false
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_162
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_163
- - *ref_164
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a workspace.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_165
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_165
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspaces
- description: ''
- cli:
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_168
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_169
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_170
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_168
- - *ref_169
- - *ref_170
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: WorkspaceLevelList
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignments
- description: ''
- cli:
- cliKey: ApplicationGroupAssignments
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_172
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_173
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_172
- - *ref_173
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get an application group.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_175
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_176
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_174
- schema: *ref_35
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_174
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_175
- - *ref_176
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_177
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_178
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_177
- - *ref_178
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an applicationGroup.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_180
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_181
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_179
- schema: *ref_83
- implementation: Method
- required: false
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_180
- - *ref_181
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update an applicationGroup.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_182
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_184
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_184
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroups
- description: ''
- cli:
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_185
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_187
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItems
- description: ''
- cli:
- cliKey: StartMenuItems
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_188
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_189
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_190
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_188
- - *ref_189
- - *ref_190
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Get
- description: Get an application.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_192
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_193
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_194
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_191
- schema: *ref_85
- implementation: Method
- required: true
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_191
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_192
- - *ref_193
- - *ref_194
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an application.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_195
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_196
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_197
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_195
- - *ref_196
- - *ref_197
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an application.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_200
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_201
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_202
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_199
- schema: *ref_198
- implementation: Method
- required: false
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_199
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_200
- - *ref_201
- - *ref_202
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Update
- description: Update an application.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_203
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_204
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_203
- - *ref_204
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Applications
- description: ''
- cli:
- cliKey: Applications
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_206
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_207
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_208
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_206
- - *ref_207
- - *ref_208
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Get
- description: Get a desktop.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_211
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_212
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_213
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_210
- schema: *ref_209
- implementation: Method
- required: false
- language:
- default:
- name: desktop
- description: Object containing Desktop definitions.
- cli:
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_210
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_211
- - *ref_212
- - *ref_213
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Update
- description: Update a desktop.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_214
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_215
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_214
- - *ref_215
- responses:
- - schema: *ref_216
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: List
- description: List desktops.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktops
- description: ''
- cli:
- cliKey: Desktops
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_217
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_218
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_217
- - *ref_218
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a host pool.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_220
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_221
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_219
- schema: *ref_36
- implementation: Method
- required: true
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_219
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- - *ref_221
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_223
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_224
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_223
- - *ref_224
- - *ref_225
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a host pool.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_227
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_228
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_226
- schema: *ref_87
- implementation: Method
- required: false
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_226
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_227
- - *ref_228
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a host pool.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_229
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_229
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPools
- description: ''
- cli:
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_231
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_232
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_233
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_231
- - *ref_232
- - *ref_233
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByHostPool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_237
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_238
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_239
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_240
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_237
- - *ref_238
- - *ref_239
- - *ref_240
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: Get
- description: Get a userSession.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_241
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_242
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_243
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_244
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_245
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_241
- - *ref_242
- - *ref_243
- - *ref_244
- - *ref_245
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a userSession.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_246
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_247
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_248
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_246
- - *ref_247
- - *ref_248
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_249
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_250
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_251
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_252
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_249
- - *ref_250
- - *ref_251
- - *ref_252
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: Disconnect
- description: Disconnect a userSession.
- cli:
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_255
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_258
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_254
- schema: *ref_253
- implementation: Method
- required: false
- language:
- default:
- name: sendMessage
- description: Object containing message includes title and message body
- cli:
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_254
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- - *ref_258
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: SendMessage
- description: Send a message to a user.
- cli:
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSessions
- description: ''
- cli:
- cliKey: UserSessions
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_259
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_260
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_261
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_259
- - *ref_260
- - *ref_261
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Get
- description: Get a session host.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_262
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_263
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_264
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_265
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_262
- - *ref_263
- - *ref_264
- - *ref_265
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a SessionHost.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_267
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_268
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_269
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_266
- schema: *ref_90
- implementation: Method
- required: false
- language:
- default:
- name: sessionHost
- description: Object containing SessionHost definitions.
- cli:
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_266
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_267
- - *ref_268
- - *ref_269
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Update
- description: Update a session host.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_270
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_271
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_270
- - *ref_271
- responses:
- - schema: *ref_272
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHosts
- description: ''
- cli:
- cliKey: SessionHosts
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_273
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_274
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_275
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_276
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_273
- - *ref_274
- - *ref_275
- - *ref_276
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySessionHost
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplications
- description: ''
- cli:
- cliKey: ActiveApplications
- protocol: {}
-language:
- default:
- name: ''
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post-simplified.yaml
deleted file mode 100644
index 0a0ad331da6..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post-simplified.yaml
+++ /dev/null
@@ -1,1978 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operations
- cli:
- cliKey: Operations
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - operationGroupName: Workspaces
- cli:
- cliKey: Workspaces
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(Workspace^object)
- cli:
- cliKey: workspace
- bodySchema: Workspace
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- bodySchema: WorkspacePatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignments
- cli:
- cliKey: ApplicationGroupAssignments
- operations:
- - operationName: WorkspaceLevelList
- cli:
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroups
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroup
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroupPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItems
- cli:
- cliKey: StartMenuItems
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Applications
- cli:
- cliKey: Applications
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(Application^object)
- cli:
- cliKey: application
- bodySchema: Application
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(ApplicationPatch^object)
- cli:
- cliKey: application
- bodySchema: ApplicationPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Desktops
- cli:
- cliKey: Desktops
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- bodySchema: DesktopPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: HostPools
- cli:
- cliKey: HostPools
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPool^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPool
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPoolPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: UserSessions
- cli:
- cliKey: UserSessions
- operations:
- - operationName: ListByHostPool
- cli:
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Disconnect
- cli:
- cliKey: Disconnect
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: SendMessage
- cli:
- cliKey: SendMessage
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sendMessage(SendMessage^object)
- cli:
- cliKey: sendMessage
- bodySchema: SendMessage
- - operationGroupName: SessionHosts
- cli:
- cliKey: SessionHosts
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sessionHost(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- bodySchema: SessionHostPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationGroupName: ActiveApplications
- cli:
- cliKey: ActiveApplications
- operations:
- - operationName: ListBySessionHost
- cli:
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cliKey: ResourceProviderOperationList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(ResourceProviderOperationList-value^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cliKey: ResourceProviderOperation
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: name(ResourceProviderOperation-name^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperation-display^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperation-display
- cli:
- cliKey: ResourceProviderOperation-display
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- cli-mark: checked
- properties:
- - propertyName: provider(ResourceProviderOperation-display-provider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperation-display-resource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperation-display-operation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperation-display-description^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cliKey: Resource
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- cli-mark: checked
- properties:
- - propertyName: id(Resource-id^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(Resource-name^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(Resource-type^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cliKey: TrackedResource
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(TrackedResource-tags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResource-location^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cliKey: Workspace
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: properties(WorkspaceProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspaceProperties
- cli:
- cliKey: WorkspaceProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: description(WorkspaceProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspaceProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspaceProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cliKey: CloudError
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: code(CloudError-code^string)
- cli:
- cliKey: code
- - propertyName: message(CloudError-message^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cliKey: WorkspacePatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(WorkspacePatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspacePatchProperties
- cli:
- cliKey: WorkspacePatchProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: description(WorkspacePatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspacePatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspacePatchProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cliKey: WorkspaceList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(WorkspaceList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(WorkspaceList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cliKey: ApplicationGroupList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(ApplicationGroupList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationGroupList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cliKey: ApplicationGroup
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: properties(ApplicationGroupProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupProperties
- cli:
- cliKey: ApplicationGroupProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- cli-mark: checked
- properties:
- - propertyName: description(ApplicationGroupProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: hostPoolArmPath(ApplicationGroupProperties-hostPoolArmPath^string)
- cli:
- cliKey: hostPoolArmPath
- - propertyName: workspaceArmPath(ApplicationGroupProperties-workspaceArmPath^string)
- cli:
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: applicationGroupType(ApplicationGroupType^choice)
- cli:
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cliKey: ApplicationGroupPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationGroupPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupPatchProperties
- cli:
- cliKey: ApplicationGroupPatchProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: description(ApplicationGroupPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cliKey: StartMenuItemList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(StartMenuItemList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(StartMenuItemList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cliKey: StartMenuItem
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: properties(StartMenuItemProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: StartMenuItemProperties
- cli:
- cliKey: StartMenuItemProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- cli-mark: checked
- properties:
- - propertyName: appAlias(StartMenuItemProperties-appAlias^string)
- cli:
- cliKey: appAlias
- - propertyName: friendlyName(StartMenuItemProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(StartMenuItemProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineArguments(StartMenuItemProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: iconPath(StartMenuItemProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cliKey: Application
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: properties(ApplicationProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationProperties
- cli:
- cliKey: ApplicationProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- cli-mark: checked
- properties:
- - propertyName: description(ApplicationProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - propertyName: iconHash(ApplicationProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(ApplicationProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cliKey: ApplicationPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationPatchProperties
- cli:
- cliKey: ApplicationPatchProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- cli-mark: checked
- properties:
- - propertyName: description(ApplicationPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationPatchProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationPatchProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationPatchProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cliKey: ApplicationList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(ApplicationList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cliKey: Desktop
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: properties(DesktopProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopProperties
- cli:
- cliKey: DesktopProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: description(DesktopProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: iconHash(DesktopProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(DesktopProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cliKey: DesktopPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(DesktopPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopPatchProperties
- cli:
- cliKey: DesktopPatchProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: description(DesktopPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cliKey: DesktopList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(DesktopList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(DesktopList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cliKey: HostPool
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: properties(HostPoolProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolProperties
- cli:
- cliKey: HostPoolProperties
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 14
- propertyCountIfSimplifyWithoutSimpleObject: 12
- cli-mark: checked
- properties:
- - propertyName: friendlyName(HostPoolProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolProperties-description^string)
- cli:
- cliKey: description
- - propertyName: hostPoolType(HostPoolType^choice)
- cli:
- cliKey: hostPoolType
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: customRdpProperty(HostPoolProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfo^object)
- cli:
- cliKey: registrationInfo
- - propertyName: vmTemplate(HostPoolProperties-vmTemplate^string)
- cli:
- cliKey: vmTemplate
- - propertyName: applicationGroupReferences(HostPoolProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: ssoContext(HostPoolProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cliKey: RegistrationInfo
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- cli-mark: checked
- properties:
- - propertyName: expirationTime(RegistrationInfo-expirationTime^date-time)
- cli:
- cliKey: expirationTime
- - propertyName: token(RegistrationInfo-token^string)
- cli:
- cliKey: token
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cliKey: HostPoolPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(HostPoolPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolPatchProperties
- cli:
- cliKey: HostPoolPatchProperties
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- cli-mark: checked
- properties:
- - propertyName: friendlyName(HostPoolPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: customRdpProperty(HostPoolPatchProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfoPatch^object)
- cli:
- cliKey: registrationInfo
- - propertyName: ssoContext(HostPoolPatchProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cliKey: RegistrationInfoPatch
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cliKey: HostPoolList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(HostPoolList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(HostPoolList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cliKey: UserSessionList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(UserSessionList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(UserSessionList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cliKey: UserSession
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: properties(UserSessionProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: UserSessionProperties
- cli:
- cliKey: UserSessionProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- cli-mark: checked
- properties:
- - propertyName: userPrincipalName(UserSessionProperties-userPrincipalName^string)
- cli:
- cliKey: userPrincipalName
- - propertyName: applicationType(ApplicationType^choice)
- cli:
- cliKey: applicationType
- - propertyName: sessionState(SessionState^choice)
- cli:
- cliKey: sessionState
- - propertyName: activeDirectoryUserName(UserSessionProperties-activeDirectoryUserName^string)
- cli:
- cliKey: activeDirectoryUserName
- - propertyName: createTime(UserSessionProperties-createTime^date-time)
- cli:
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cliKey: SessionHost
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: properties(SessionHostProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostProperties
- cli:
- cliKey: SessionHostProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- cli-mark: checked
- properties:
- - propertyName: lastHeartBeat(SessionHostProperties-lastHeartBeat^date-time)
- cli:
- cliKey: lastHeartBeat
- - propertyName: sessions(integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agentVersion(SessionHostProperties-agentVersion^string)
- cli:
- cliKey: agentVersion
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: statusTimestamp(SessionHostProperties-statusTimestamp^date-time)
- cli:
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: osVersion(SessionHostProperties-osVersion^string)
- cli:
- cliKey: osVersion
- - propertyName: sxSStackVersion(SessionHostProperties-sxSStackVersion^string)
- cli:
- cliKey: sxSStackVersion
- - propertyName: updateState(UpdateState^choice)
- cli:
- cliKey: updateState
- - propertyName: lastUpdateTime(SessionHostProperties-lastUpdateTime^date-time)
- cli:
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: updateErrorMessage(SessionHostProperties-updateErrorMessage^string)
- cli:
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cliKey: SessionHostPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: properties(SessionHostPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostPatchProperties
- cli:
- cliKey: SessionHostPatchProperties
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostPatchProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cliKey: SessionHostList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(SessionHostList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(SessionHostList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cliKey: SendMessage
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: messageTitle(SendMessage-messageTitle^string)
- cli:
- cliKey: messageTitle
- - propertyName: messageBody(SendMessage-messageBody^string)
- cli:
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: DoNotAllow
- cli:
- cliKey: DoNotAllow
- - choiceValue: Allow
- cli:
- cliKey: Allow
- - choiceValue: Require
- cli:
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: Personal
- cli:
- cliKey: Personal
- - choiceValue: Pooled
- cli:
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: Automatic
- cli:
- cliKey: Automatic
- - choiceValue: Direct
- cli:
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: BreadthFirst
- cli:
- cliKey: BreadthFirst
- - choiceValue: DepthFirst
- cli:
- cliKey: DepthFirst
- - choiceValue: Persistent
- cli:
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: Delete
- cli:
- cliKey: Delete
- - choiceValue: None
- cli:
- cliKey: None
- - choiceValue: Update
- cli:
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: Unknown
- cli:
- cliKey: Unknown
- - choiceValue: Active
- cli:
- cliKey: Active
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: LogOff
- cli:
- cliKey: LogOff
- - choiceValue: UserProfileDiskMounted
- cli:
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: Available
- cli:
- cliKey: Available
- - choiceValue: Unavailable
- cli:
- cliKey: Unavailable
- - choiceValue: Shutdown
- cli:
- cliKey: Shutdown
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Upgrading
- cli:
- cliKey: Upgrading
- - choiceValue: UpgradeFailed
- cli:
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: Initial
- cli:
- cliKey: Initial
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: Started
- cli:
- cliKey: Started
- - choiceValue: Succeeded
- cli:
- cliKey: Succeeded
- - choiceValue: Failed
- cli:
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post.yaml b/src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post.yaml
deleted file mode 100644
index 436546b7f84..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post.yaml
+++ /dev/null
@@ -1,9346 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 40
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_222
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-description
- description: Description of this operation.
- protocol: {}
- - &ref_144
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_150
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_151
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResource-location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-code
- description: Error code
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_167
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-appAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-friendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-filePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-commandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-iconPath
- description: Path to the icon.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_111
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_112
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_119
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_124
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-userPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-activeDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_125
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_235
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-agentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-osVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-sxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-updateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_129
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_236
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageTitle
- description: Title of message.
- protocol: {}
- - &ref_131
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: DoNotAllow
- description: ''
- cli:
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: Allow
- description: ''
- cli:
- cliKey: Allow
- - value: Require
- language:
- default:
- name: Require
- description: ''
- cli:
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: Personal
- description: ''
- cli:
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: Pooled
- description: ''
- cli:
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: Automatic
- description: ''
- cli:
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: Direct
- description: ''
- cli:
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: BreadthFirst
- description: ''
- cli:
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: DepthFirst
- description: ''
- cli:
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: Persistent
- description: ''
- cli:
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: Delete
- description: ''
- cli:
- cliKey: Delete
- - value: None
- language:
- default:
- name: None
- description: ''
- cli:
- cliKey: None
- - value: Update
- language:
- default:
- name: Update
- description: ''
- cli:
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: Unknown
- description: ''
- cli:
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: Active
- description: ''
- cli:
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: LogOff
- description: ''
- cli:
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: UserProfileDiskMounted
- description: ''
- cli:
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: Available
- description: ''
- cli:
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: Unavailable
- description: ''
- cli:
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: Shutdown
- description: ''
- cli:
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: Upgrading
- description: ''
- cli:
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: UpgradeFailed
- description: ''
- cli:
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: Initial
- description: ''
- cli:
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: Started
- language:
- default:
- name: Started
- description: ''
- cli:
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: Succeeded
- description: ''
- cli:
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: Failed
- description: ''
- cli:
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_145
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: ApiVersion-2019-12-10-preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_155
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application/json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResource-tags
- description: Resource tags.
- cli:
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconContent
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconContent
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-expirationTime
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-createTime
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastHeartBeat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-statusTimestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastUpdateTime
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_148
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_132
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation-display
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationList-value
- description: List of operations supported by this resource provider.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_94
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_11
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_12
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_133
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: WorkspaceProperties
- description: Schema for Workspace properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_103
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_14
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_15
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_16
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- cliKey: workspaceArmPath
- protocol: {}
- - schema: *ref_18
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroupProperties
- description: Schema for ApplicationGroup properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ApplicationGroupProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for ApplicationGroup
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_120
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_19
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_20
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_21
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: hostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: hostPoolType
- protocol: {}
- - schema: *ref_22
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_23
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_25
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_121
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expirationTime
- description: Expiration time of registration token.
- cli:
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_31
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_140
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolProperties-applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- - schema: *ref_33
- required: false
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPoolProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 14
- propertyCountIfSimplifyWithoutSimpleObject: 12
- simplifiable: true
- cliKey: HostPoolProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for HostPool
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli:
- cliKey: tags
- protocol: {}
- - schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli:
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_104
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_40
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_41
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatchProperties
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ApplicationGroupPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: ApplicationGroup properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_106
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_42
- serializedName: appAlias
- language:
- default:
- name: appAlias
- description: Alias of StartMenuItem.
- cli:
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Path to the file of StartMenuItem.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to the icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItemProperties
- description: Schema for StartMenuItem properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- simplifiable: true
- cliKey: StartMenuItemProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for StartMenuItem
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_107
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_48
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_49
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_50
- required: false
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_52
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- required: false
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_54
- required: false
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- required: false
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationProperties
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_115
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_57
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_58
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: DesktopProperties
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_122
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_61
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_62
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_63
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_22
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_25
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_123
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_64
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatchProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: HostPoolPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: HostPool properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_126
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_65
- serializedName: userPrincipalName
- language:
- default:
- name: userPrincipalName
- description: The user principal name.
- cli:
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- serializedName: applicationType
- language:
- default:
- name: applicationType
- description: Application type of application.
- cli:
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- serializedName: sessionState
- language:
- default:
- name: sessionState
- description: State of user session.
- cli:
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- serializedName: activeDirectoryUserName
- language:
- default:
- name: activeDirectoryUserName
- description: The active directory user name.
- cli:
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- serializedName: createTime
- language:
- default:
- name: createTime
- description: The timestamp of the user session create.
- cli:
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSessionProperties
- description: Schema for UserSession properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- simplifiable: true
- cliKey: UserSessionProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for UserSession
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_127
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_70
- serializedName: lastHeartBeat
- language:
- default:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cli:
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- serializedName: agentVersion
- language:
- default:
- name: agentVersion
- description: Version of agent on SessionHost.
- cli:
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: status
- protocol: {}
- - schema: *ref_76
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: statusTimestamp
- description: The timestamp of the status.
- cli:
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- serializedName: osVersion
- language:
- default:
- name: osVersion
- description: The version of the OS on the session host.
- cli:
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- serializedName: sxSStackVersion
- language:
- default:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- serializedName: updateState
- language:
- default:
- name: updateState
- description: Update state of a SessionHost.
- cli:
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cli:
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- serializedName: updateErrorMessage
- language:
- default:
- name: updateErrorMessage
- description: The error message.
- cli:
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHostProperties
- description: Schema for SessionHost properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: SessionHostProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_128
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_82
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatchProperties
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SessionHostPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - *ref_94
- - &ref_154
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_95
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- cliKey: code
- protocol: {}
- - schema: *ref_96
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_161
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_100
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_97
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_98
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_134
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_99
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatchProperties
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - *ref_100
- - &ref_166
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_135
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceList-value
- description: List of Workspace definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_171
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_136
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupList-value
- description: List of ApplicationGroup definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_102
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_103
- - *ref_83
- - *ref_104
- - &ref_187
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_137
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemList-value
- description: List of StartMenuItem definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_105
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_106
- - *ref_85
- - *ref_107
- - &ref_198
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_113
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_108
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_109
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_110
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_111
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_112
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatchProperties
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - *ref_113
- - &ref_205
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_138
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationList-value
- description: List of Application definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - *ref_115
- - &ref_209
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_118
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_116
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_117
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatchProperties
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - *ref_118
- - &ref_216
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_139
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopList-value
- description: List of Desktop definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_119
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_120
- - *ref_121
- - *ref_87
- - *ref_122
- - *ref_123
- - &ref_230
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_141
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolList-value
- description: List of HostPool definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_124
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_234
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_142
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionList-value
- description: List of UserSession definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_125
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_126
- - *ref_89
- - *ref_127
- - *ref_90
- - *ref_128
- - &ref_272
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_143
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostList-value
- description: List of SessionHost definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_129
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_253
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_130
- serializedName: messageTitle
- language:
- default:
- name: messageTitle
- description: Title of message.
- cli:
- cliKey: messageTitle
- protocol: {}
- - schema: *ref_131
- serializedName: messageBody
- language:
- default:
- name: messageBody
- description: Body of message.
- cli:
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_132
- - *ref_133
- - *ref_134
- - *ref_135
- - *ref_136
- - *ref_137
- - *ref_138
- - *ref_139
- - *ref_140
- - *ref_141
- - *ref_142
- - *ref_143
-globalParameters:
- - &ref_149
- schema: *ref_144
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscriptionId
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_146
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_147
- schema: *ref_145
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: ApiVersion
- description: Api Version
- serializedName: api-version
- cli:
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_148
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Operations
- description: ''
- cli:
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_152
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_153
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_152
- - *ref_153
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a workspace.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_157
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_158
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_156
- schema: *ref_34
- implementation: Method
- required: true
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_156
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_157
- - *ref_158
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_159
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_160
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_159
- - *ref_160
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a workspace.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_163
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_164
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_162
- schema: *ref_161
- implementation: Method
- required: false
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_162
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_163
- - *ref_164
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a workspace.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_165
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_165
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspaces
- description: ''
- cli:
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_168
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_169
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_170
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_168
- - *ref_169
- - *ref_170
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: WorkspaceLevelList
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignments
- description: ''
- cli:
- cliKey: ApplicationGroupAssignments
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_172
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_173
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_172
- - *ref_173
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get an application group.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_175
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_176
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_174
- schema: *ref_35
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_174
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_175
- - *ref_176
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_177
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_178
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_177
- - *ref_178
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an applicationGroup.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_180
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_181
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_179
- schema: *ref_83
- implementation: Method
- required: false
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_180
- - *ref_181
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update an applicationGroup.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_182
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_184
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_184
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroups
- description: ''
- cli:
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_185
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_187
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItems
- description: ''
- cli:
- cliKey: StartMenuItems
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_188
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_189
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_190
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_188
- - *ref_189
- - *ref_190
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Get
- description: Get an application.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_192
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_193
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_194
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_191
- schema: *ref_85
- implementation: Method
- required: true
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_191
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_192
- - *ref_193
- - *ref_194
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an application.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_195
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_196
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_197
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_195
- - *ref_196
- - *ref_197
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an application.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_200
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_201
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_202
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_199
- schema: *ref_198
- implementation: Method
- required: false
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_199
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_200
- - *ref_201
- - *ref_202
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Update
- description: Update an application.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_203
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_204
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_203
- - *ref_204
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Applications
- description: ''
- cli:
- cliKey: Applications
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_206
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_207
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_208
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_206
- - *ref_207
- - *ref_208
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Get
- description: Get a desktop.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_211
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_212
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_213
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_210
- schema: *ref_209
- implementation: Method
- required: false
- language:
- default:
- name: desktop
- description: Object containing Desktop definitions.
- cli:
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_210
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_211
- - *ref_212
- - *ref_213
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Update
- description: Update a desktop.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_214
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_215
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_214
- - *ref_215
- responses:
- - schema: *ref_216
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: List
- description: List desktops.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktops
- description: ''
- cli:
- cliKey: Desktops
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_217
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_218
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_217
- - *ref_218
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a host pool.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_220
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_221
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_219
- schema: *ref_36
- implementation: Method
- required: true
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_219
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- - *ref_221
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_223
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_224
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_223
- - *ref_224
- - *ref_225
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a host pool.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_227
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_228
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_226
- schema: *ref_87
- implementation: Method
- required: false
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_226
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_227
- - *ref_228
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a host pool.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_229
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_229
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPools
- description: ''
- cli:
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_231
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_232
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_233
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_231
- - *ref_232
- - *ref_233
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByHostPool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_237
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_238
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_239
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_240
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_237
- - *ref_238
- - *ref_239
- - *ref_240
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: Get
- description: Get a userSession.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_241
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_242
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_243
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_244
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_245
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_241
- - *ref_242
- - *ref_243
- - *ref_244
- - *ref_245
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a userSession.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_246
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_247
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_248
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_246
- - *ref_247
- - *ref_248
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_249
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_250
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_251
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_252
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_249
- - *ref_250
- - *ref_251
- - *ref_252
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: Disconnect
- description: Disconnect a userSession.
- cli:
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_255
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_258
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_254
- schema: *ref_253
- implementation: Method
- required: false
- language:
- default:
- name: sendMessage
- description: Object containing message includes title and message body
- cli:
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_254
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- - *ref_258
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: SendMessage
- description: Send a message to a user.
- cli:
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSessions
- description: ''
- cli:
- cliKey: UserSessions
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_259
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_260
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_261
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_259
- - *ref_260
- - *ref_261
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Get
- description: Get a session host.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_262
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_263
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_264
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_265
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_262
- - *ref_263
- - *ref_264
- - *ref_265
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a SessionHost.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_267
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_268
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_269
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_266
- schema: *ref_90
- implementation: Method
- required: false
- language:
- default:
- name: sessionHost
- description: Object containing SessionHost definitions.
- cli:
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_266
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_267
- - *ref_268
- - *ref_269
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Update
- description: Update a session host.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_270
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_271
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_270
- - *ref_271
- responses:
- - schema: *ref_272
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHosts
- description: ''
- cli:
- cliKey: SessionHosts
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_273
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_274
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_275
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_276
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_273
- - *ref_274
- - *ref_275
- - *ref_276
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySessionHost
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplications
- description: ''
- cli:
- cliKey: ActiveApplications
- protocol: {}
-language:
- default:
- name: ''
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre-simplified.yaml
deleted file mode 100644
index 0be013f26b8..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre-simplified.yaml
+++ /dev/null
@@ -1,1978 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operations
- cli:
- cliKey: Operations
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - operationGroupName: Workspaces
- cli:
- cliKey: Workspaces
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(Workspace^object)
- cli:
- cliKey: workspace
- bodySchema: Workspace
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- bodySchema: WorkspacePatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignments
- cli:
- cliKey: ApplicationGroupAssignments
- operations:
- - operationName: WorkspaceLevelList
- cli:
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroups
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroup
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- bodySchema: ApplicationGroupPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItems
- cli:
- cliKey: StartMenuItems
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Applications
- cli:
- cliKey: Applications
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(Application^object)
- cli:
- cliKey: application
- bodySchema: Application
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(ApplicationPatch^object)
- cli:
- cliKey: application
- bodySchema: ApplicationPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Desktops
- cli:
- cliKey: Desktops
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- bodySchema: DesktopPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: HostPools
- cli:
- cliKey: HostPools
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPool^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPool
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- bodySchema: HostPoolPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: UserSessions
- cli:
- cliKey: UserSessions
- operations:
- - operationName: ListByHostPool
- cli:
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Disconnect
- cli:
- cliKey: Disconnect
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: SendMessage
- cli:
- cliKey: SendMessage
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sendMessage(SendMessage^object)
- cli:
- cliKey: sendMessage
- bodySchema: SendMessage
- - operationGroupName: SessionHosts
- cli:
- cliKey: SessionHosts
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sessionHost(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- bodySchema: SessionHostPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationGroupName: ActiveApplications
- cli:
- cliKey: ActiveApplications
- operations:
- - operationName: ListBySessionHost
- cli:
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationList-value^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperation-name^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperation-display^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperation-display
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperation-display-provider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperation-display-resource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperation-display-operation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperation-display-description^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(Resource-id^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(Resource-name^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(Resource-type^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResource-tags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResource-location^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: properties(WorkspaceProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspaceProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceProperties
- properties:
- - propertyName: description(WorkspaceProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspaceProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspaceProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(CloudError-code^string)
- cli:
- cliKey: code
- - propertyName: message(CloudError-message^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(WorkspacePatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspacePatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatchProperties
- properties:
- - propertyName: description(WorkspacePatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspacePatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspacePatchProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(WorkspaceList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationGroupList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: properties(ApplicationGroupProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ApplicationGroupProperties
- properties:
- - propertyName: description(ApplicationGroupProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: hostPoolArmPath(ApplicationGroupProperties-hostPoolArmPath^string)
- cli:
- cliKey: hostPoolArmPath
- - propertyName: workspaceArmPath(ApplicationGroupProperties-workspaceArmPath^string)
- cli:
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: applicationGroupType(ApplicationGroupType^choice)
- cli:
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationGroupPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ApplicationGroupPatchProperties
- properties:
- - propertyName: description(ApplicationGroupPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(StartMenuItemList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: properties(StartMenuItemProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: StartMenuItemProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- simplifiable: true
- cliKey: StartMenuItemProperties
- properties:
- - propertyName: appAlias(StartMenuItemProperties-appAlias^string)
- cli:
- cliKey: appAlias
- - propertyName: friendlyName(StartMenuItemProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(StartMenuItemProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineArguments(StartMenuItemProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: iconPath(StartMenuItemProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: properties(ApplicationProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationProperties
- properties:
- - propertyName: description(ApplicationProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - propertyName: iconHash(ApplicationProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(ApplicationProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationPatchProperties
- properties:
- - propertyName: description(ApplicationPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationPatchProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationPatchProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationPatchProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: properties(DesktopProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopProperties
- properties:
- - propertyName: description(DesktopProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: iconHash(DesktopProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(DesktopProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(DesktopPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopPatchProperties
- properties:
- - propertyName: description(DesktopPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(DesktopList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: properties(HostPoolProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolProperties
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 14
- propertyCountIfSimplifyWithoutSimpleObject: 12
- simplifiable: true
- cliKey: HostPoolProperties
- properties:
- - propertyName: friendlyName(HostPoolProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolProperties-description^string)
- cli:
- cliKey: description
- - propertyName: hostPoolType(HostPoolType^choice)
- cli:
- cliKey: hostPoolType
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: customRdpProperty(HostPoolProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfo^object)
- cli:
- cliKey: registrationInfo
- - propertyName: vmTemplate(HostPoolProperties-vmTemplate^string)
- cli:
- cliKey: vmTemplate
- - propertyName: applicationGroupReferences(HostPoolProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: ssoContext(HostPoolProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expirationTime(RegistrationInfo-expirationTime^date-time)
- cli:
- cliKey: expirationTime
- - propertyName: token(RegistrationInfo-token^string)
- cli:
- cliKey: token
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(HostPoolPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolPatchProperties
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: HostPoolPatchProperties
- properties:
- - propertyName: friendlyName(HostPoolPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: customRdpProperty(HostPoolPatchProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfoPatch^object)
- cli:
- cliKey: registrationInfo
- - propertyName: ssoContext(HostPoolPatchProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(HostPoolList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(UserSessionList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: properties(UserSessionProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: UserSessionProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- simplifiable: true
- cliKey: UserSessionProperties
- properties:
- - propertyName: userPrincipalName(UserSessionProperties-userPrincipalName^string)
- cli:
- cliKey: userPrincipalName
- - propertyName: applicationType(ApplicationType^choice)
- cli:
- cliKey: applicationType
- - propertyName: sessionState(SessionState^choice)
- cli:
- cliKey: sessionState
- - propertyName: activeDirectoryUserName(UserSessionProperties-activeDirectoryUserName^string)
- cli:
- cliKey: activeDirectoryUserName
- - propertyName: createTime(UserSessionProperties-createTime^date-time)
- cli:
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: properties(SessionHostProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: SessionHostProperties
- properties:
- - propertyName: lastHeartBeat(SessionHostProperties-lastHeartBeat^date-time)
- cli:
- cliKey: lastHeartBeat
- - propertyName: sessions(integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agentVersion(SessionHostProperties-agentVersion^string)
- cli:
- cliKey: agentVersion
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: statusTimestamp(SessionHostProperties-statusTimestamp^date-time)
- cli:
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: osVersion(SessionHostProperties-osVersion^string)
- cli:
- cliKey: osVersion
- - propertyName: sxSStackVersion(SessionHostProperties-sxSStackVersion^string)
- cli:
- cliKey: sxSStackVersion
- - propertyName: updateState(UpdateState^choice)
- cli:
- cliKey: updateState
- - propertyName: lastUpdateTime(SessionHostProperties-lastUpdateTime^date-time)
- cli:
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: updateErrorMessage(SessionHostProperties-updateErrorMessage^string)
- cli:
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: properties(SessionHostPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SessionHostPatchProperties
- properties:
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostPatchProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(SessionHostList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: messageTitle(SendMessage-messageTitle^string)
- cli:
- cliKey: messageTitle
- - propertyName: messageBody(SendMessage-messageBody^string)
- cli:
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: DoNotAllow
- cli:
- cliKey: DoNotAllow
- - choiceValue: Allow
- cli:
- cliKey: Allow
- - choiceValue: Require
- cli:
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: Personal
- cli:
- cliKey: Personal
- - choiceValue: Pooled
- cli:
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: Automatic
- cli:
- cliKey: Automatic
- - choiceValue: Direct
- cli:
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: BreadthFirst
- cli:
- cliKey: BreadthFirst
- - choiceValue: DepthFirst
- cli:
- cliKey: DepthFirst
- - choiceValue: Persistent
- cli:
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: Delete
- cli:
- cliKey: Delete
- - choiceValue: None
- cli:
- cliKey: None
- - choiceValue: Update
- cli:
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: Unknown
- cli:
- cliKey: Unknown
- - choiceValue: Active
- cli:
- cliKey: Active
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: LogOff
- cli:
- cliKey: LogOff
- - choiceValue: UserProfileDiskMounted
- cli:
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: Available
- cli:
- cliKey: Available
- - choiceValue: Unavailable
- cli:
- cliKey: Unavailable
- - choiceValue: Shutdown
- cli:
- cliKey: Shutdown
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Upgrading
- cli:
- cliKey: Upgrading
- - choiceValue: UpgradeFailed
- cli:
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: Initial
- cli:
- cliKey: Initial
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: Started
- cli:
- cliKey: Started
- - choiceValue: Succeeded
- cli:
- cliKey: Succeeded
- - choiceValue: Failed
- cli:
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre.yaml b/src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre.yaml
deleted file mode 100644
index f355cc4ef8a..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre.yaml
+++ /dev/null
@@ -1,9346 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 50
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_222
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-description
- description: Description of this operation.
- protocol: {}
- - &ref_144
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_150
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_151
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResource-location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-code
- description: Error code
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_167
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-appAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-friendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-filePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-commandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-iconPath
- description: Path to the icon.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_111
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_112
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_119
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_124
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-userPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-activeDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_125
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_235
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-agentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-osVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-sxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-updateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_129
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_236
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageTitle
- description: Title of message.
- protocol: {}
- - &ref_131
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: DoNotAllow
- description: ''
- cli:
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: Allow
- description: ''
- cli:
- cliKey: Allow
- - value: Require
- language:
- default:
- name: Require
- description: ''
- cli:
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: Personal
- description: ''
- cli:
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: Pooled
- description: ''
- cli:
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: Automatic
- description: ''
- cli:
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: Direct
- description: ''
- cli:
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: BreadthFirst
- description: ''
- cli:
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: DepthFirst
- description: ''
- cli:
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: Persistent
- description: ''
- cli:
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: Delete
- description: ''
- cli:
- cliKey: Delete
- - value: None
- language:
- default:
- name: None
- description: ''
- cli:
- cliKey: None
- - value: Update
- language:
- default:
- name: Update
- description: ''
- cli:
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: Unknown
- description: ''
- cli:
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: Active
- description: ''
- cli:
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: LogOff
- description: ''
- cli:
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: UserProfileDiskMounted
- description: ''
- cli:
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: Available
- description: ''
- cli:
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: Unavailable
- description: ''
- cli:
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: Shutdown
- description: ''
- cli:
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: Upgrading
- description: ''
- cli:
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: UpgradeFailed
- description: ''
- cli:
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: Initial
- description: ''
- cli:
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: Started
- language:
- default:
- name: Started
- description: ''
- cli:
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: Succeeded
- description: ''
- cli:
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: Failed
- description: ''
- cli:
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_145
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: ApiVersion-2019-12-10-preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_155
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application/json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResource-tags
- description: Resource tags.
- cli:
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconContent
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconContent
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-expirationTime
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-createTime
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastHeartBeat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-statusTimestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastUpdateTime
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_148
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_132
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation-display
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationList-value
- description: List of operations supported by this resource provider.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_94
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_11
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_12
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_133
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: WorkspaceProperties
- description: Schema for Workspace properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_103
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_14
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_15
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_16
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- cliKey: workspaceArmPath
- protocol: {}
- - schema: *ref_18
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroupProperties
- description: Schema for ApplicationGroup properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ApplicationGroupProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for ApplicationGroup
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_120
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_19
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_20
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_21
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: hostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: hostPoolType
- protocol: {}
- - schema: *ref_22
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_23
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_25
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_121
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expirationTime
- description: Expiration time of registration token.
- cli:
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_31
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_140
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolProperties-applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- - schema: *ref_33
- required: false
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPoolProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 14
- propertyCountIfSimplifyWithoutSimpleObject: 12
- simplifiable: true
- cliKey: HostPoolProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for HostPool
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli:
- cliKey: tags
- protocol: {}
- - schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli:
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_104
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_40
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_41
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatchProperties
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ApplicationGroupPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: ApplicationGroup properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_106
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_42
- serializedName: appAlias
- language:
- default:
- name: appAlias
- description: Alias of StartMenuItem.
- cli:
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Path to the file of StartMenuItem.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to the icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItemProperties
- description: Schema for StartMenuItem properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- simplifiable: true
- cliKey: StartMenuItemProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for StartMenuItem
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_107
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_48
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_49
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_50
- required: false
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_52
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- required: false
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_54
- required: false
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- required: false
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationProperties
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_115
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_57
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_58
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: DesktopProperties
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_122
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_61
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_62
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_63
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_22
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_25
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_123
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_64
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatchProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: HostPoolPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: HostPool properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_126
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_65
- serializedName: userPrincipalName
- language:
- default:
- name: userPrincipalName
- description: The user principal name.
- cli:
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- serializedName: applicationType
- language:
- default:
- name: applicationType
- description: Application type of application.
- cli:
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- serializedName: sessionState
- language:
- default:
- name: sessionState
- description: State of user session.
- cli:
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- serializedName: activeDirectoryUserName
- language:
- default:
- name: activeDirectoryUserName
- description: The active directory user name.
- cli:
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- serializedName: createTime
- language:
- default:
- name: createTime
- description: The timestamp of the user session create.
- cli:
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSessionProperties
- description: Schema for UserSession properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- simplifiable: true
- cliKey: UserSessionProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for UserSession
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_127
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_70
- serializedName: lastHeartBeat
- language:
- default:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cli:
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- serializedName: agentVersion
- language:
- default:
- name: agentVersion
- description: Version of agent on SessionHost.
- cli:
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: status
- protocol: {}
- - schema: *ref_76
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: statusTimestamp
- description: The timestamp of the status.
- cli:
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- serializedName: osVersion
- language:
- default:
- name: osVersion
- description: The version of the OS on the session host.
- cli:
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- serializedName: sxSStackVersion
- language:
- default:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- serializedName: updateState
- language:
- default:
- name: updateState
- description: Update state of a SessionHost.
- cli:
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cli:
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- serializedName: updateErrorMessage
- language:
- default:
- name: updateErrorMessage
- description: The error message.
- cli:
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHostProperties
- description: Schema for SessionHost properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: SessionHostProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_128
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_82
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatchProperties
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SessionHostPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - *ref_94
- - &ref_154
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_95
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- cliKey: code
- protocol: {}
- - schema: *ref_96
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_161
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_100
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_97
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_98
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_134
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_99
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatchProperties
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - *ref_100
- - &ref_166
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_135
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceList-value
- description: List of Workspace definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_171
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_136
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupList-value
- description: List of ApplicationGroup definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_102
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_103
- - *ref_83
- - *ref_104
- - &ref_187
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_137
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemList-value
- description: List of StartMenuItem definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_105
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_106
- - *ref_85
- - *ref_107
- - &ref_198
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_113
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_108
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_109
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_110
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_111
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_112
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatchProperties
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - *ref_113
- - &ref_205
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_138
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationList-value
- description: List of Application definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - *ref_115
- - &ref_209
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_118
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_116
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_117
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatchProperties
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - *ref_118
- - &ref_216
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_139
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopList-value
- description: List of Desktop definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_119
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_120
- - *ref_121
- - *ref_87
- - *ref_122
- - *ref_123
- - &ref_230
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_141
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolList-value
- description: List of HostPool definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_124
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_234
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_142
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionList-value
- description: List of UserSession definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_125
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_126
- - *ref_89
- - *ref_127
- - *ref_90
- - *ref_128
- - &ref_272
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_143
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostList-value
- description: List of SessionHost definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_129
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_253
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_130
- serializedName: messageTitle
- language:
- default:
- name: messageTitle
- description: Title of message.
- cli:
- cliKey: messageTitle
- protocol: {}
- - schema: *ref_131
- serializedName: messageBody
- language:
- default:
- name: messageBody
- description: Body of message.
- cli:
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_132
- - *ref_133
- - *ref_134
- - *ref_135
- - *ref_136
- - *ref_137
- - *ref_138
- - *ref_139
- - *ref_140
- - *ref_141
- - *ref_142
- - *ref_143
-globalParameters:
- - &ref_149
- schema: *ref_144
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscriptionId
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_146
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_147
- schema: *ref_145
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: ApiVersion
- description: Api Version
- serializedName: api-version
- cli:
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_148
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Operations
- description: ''
- cli:
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_152
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_153
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_152
- - *ref_153
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a workspace.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_157
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_158
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_156
- schema: *ref_34
- implementation: Method
- required: true
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_156
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_157
- - *ref_158
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_159
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_160
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_159
- - *ref_160
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a workspace.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_163
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_164
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_162
- schema: *ref_161
- implementation: Method
- required: false
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_162
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_163
- - *ref_164
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a workspace.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_165
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_165
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspaces
- description: ''
- cli:
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_168
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_169
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_170
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_168
- - *ref_169
- - *ref_170
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: WorkspaceLevelList
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignments
- description: ''
- cli:
- cliKey: ApplicationGroupAssignments
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_172
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_173
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_172
- - *ref_173
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get an application group.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_175
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_176
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_174
- schema: *ref_35
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_174
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_175
- - *ref_176
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_177
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_178
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_177
- - *ref_178
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an applicationGroup.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_180
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_181
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_179
- schema: *ref_83
- implementation: Method
- required: false
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_180
- - *ref_181
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update an applicationGroup.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_182
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_184
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_184
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroups
- description: ''
- cli:
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_185
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_187
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItems
- description: ''
- cli:
- cliKey: StartMenuItems
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_188
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_189
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_190
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_188
- - *ref_189
- - *ref_190
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Get
- description: Get an application.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_192
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_193
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_194
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_191
- schema: *ref_85
- implementation: Method
- required: true
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_191
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_192
- - *ref_193
- - *ref_194
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an application.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_195
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_196
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_197
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_195
- - *ref_196
- - *ref_197
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an application.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_200
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_201
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_202
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_199
- schema: *ref_198
- implementation: Method
- required: false
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_199
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_200
- - *ref_201
- - *ref_202
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Update
- description: Update an application.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_203
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_204
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_203
- - *ref_204
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Applications
- description: ''
- cli:
- cliKey: Applications
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_206
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_207
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_208
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_206
- - *ref_207
- - *ref_208
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Get
- description: Get a desktop.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_211
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_212
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_213
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_210
- schema: *ref_209
- implementation: Method
- required: false
- language:
- default:
- name: desktop
- description: Object containing Desktop definitions.
- cli:
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_210
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_211
- - *ref_212
- - *ref_213
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Update
- description: Update a desktop.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_214
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_215
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_214
- - *ref_215
- responses:
- - schema: *ref_216
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: List
- description: List desktops.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktops
- description: ''
- cli:
- cliKey: Desktops
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_217
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_218
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_217
- - *ref_218
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a host pool.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_220
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_221
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_219
- schema: *ref_36
- implementation: Method
- required: true
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_219
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- - *ref_221
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_223
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_224
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_223
- - *ref_224
- - *ref_225
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a host pool.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_227
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_228
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_226
- schema: *ref_87
- implementation: Method
- required: false
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_226
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_227
- - *ref_228
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a host pool.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_229
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_229
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPools
- description: ''
- cli:
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_231
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_232
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_233
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_231
- - *ref_232
- - *ref_233
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByHostPool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_237
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_238
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_239
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_240
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_237
- - *ref_238
- - *ref_239
- - *ref_240
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: Get
- description: Get a userSession.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_241
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_242
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_243
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_244
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_245
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_241
- - *ref_242
- - *ref_243
- - *ref_244
- - *ref_245
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a userSession.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_246
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_247
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_248
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_246
- - *ref_247
- - *ref_248
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_249
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_250
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_251
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_252
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_249
- - *ref_250
- - *ref_251
- - *ref_252
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: Disconnect
- description: Disconnect a userSession.
- cli:
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_255
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_258
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_254
- schema: *ref_253
- implementation: Method
- required: false
- language:
- default:
- name: sendMessage
- description: Object containing message includes title and message body
- cli:
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_254
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- - *ref_258
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: SendMessage
- description: Send a message to a user.
- cli:
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSessions
- description: ''
- cli:
- cliKey: UserSessions
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_259
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_260
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_261
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_259
- - *ref_260
- - *ref_261
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Get
- description: Get a session host.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_262
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_263
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_264
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_265
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_262
- - *ref_263
- - *ref_264
- - *ref_265
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a SessionHost.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_267
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_268
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_269
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_266
- schema: *ref_90
- implementation: Method
- required: false
- language:
- default:
- name: sessionHost
- description: Object containing SessionHost definitions.
- cli:
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_266
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_267
- - *ref_268
- - *ref_269
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Update
- description: Update a session host.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_270
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_271
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_270
- - *ref_271
- responses:
- - schema: *ref_272
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHosts
- description: ''
- cli:
- cliKey: SessionHosts
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_273
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_274
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_275
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_276
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_273
- - *ref_274
- - *ref_275
- - *ref_276
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySessionHost
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplications
- description: ''
- cli:
- cliKey: ActiveApplications
- protocol: {}
-language:
- default:
- name: ''
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post-simplified.yaml
deleted file mode 100644
index d0ad07c476a..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post-simplified.yaml
+++ /dev/null
@@ -1,1989 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operations
- cli:
- cliKey: Operations
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - operationGroupName: Workspaces
- cli:
- cliKey: Workspaces
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(Workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: Workspace
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: WorkspacePatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignments
- cli:
- cliKey: ApplicationGroupAssignments
- operations:
- - operationName: WorkspaceLevelList
- cli:
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspaceName(string^string)
- cli:
- cliKey: workspaceName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroups
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroup
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: applicationGroup(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroupPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: ListBySubscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItems
- cli:
- cliKey: StartMenuItems
- operations:
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Applications
- cli:
- cliKey: Applications
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(Application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: Application
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: applicationName(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: application(ApplicationPatch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: ApplicationPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: Desktops
- cli:
- cliKey: Desktops
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktopName(string^string)
- cli:
- cliKey: desktopName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: DesktopPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: applicationGroupName(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: HostPools
- cli:
- cliKey: HostPools
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationName: CreateOrUpdate
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPool
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: hostPool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPoolPatch
- - operationName: ListByResourceGroup
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: UserSessions
- cli:
- cliKey: UserSessions
- operations:
- - operationName: ListByHostPool
- cli:
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Disconnect
- cli:
- cliKey: Disconnect
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - operationName: SendMessage
- cli:
- cliKey: SendMessage
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: userSessionId(string^string)
- cli:
- cliKey: userSessionId
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sendMessage(SendMessage^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: SendMessage
- - operationGroupName: SessionHosts
- cli:
- cliKey: SessionHosts
- operations:
- - operationName: Get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: Delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: Update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName[0]: content-type(application/json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: sessionHost(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: SessionHostPatch
- - operationName: List
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - operationGroupName: ActiveApplications
- cli:
- cliKey: ActiveApplications
- operations:
- - operationName: ListBySessionHost
- cli:
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: ApiVersion(ApiVersion-2019-12-10-preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscriptionId(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resourceGroupName(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: hostPoolName(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: sessionHostName(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: $filter(string^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationList-value^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperation-name^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperation-display^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperation-display
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperation-display-provider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperation-display-resource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperation-display-operation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperation-display-description^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(Resource-id^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(Resource-name^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(Resource-type^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResource-tags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResource-location^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: properties(WorkspaceProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspaceProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceProperties
- properties:
- - propertyName: description(WorkspaceProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspaceProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspaceProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(CloudError-code^string)
- cli:
- cliKey: code
- - propertyName: message(CloudError-message^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(WorkspacePatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: WorkspacePatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatchProperties
- properties:
- - propertyName: description(WorkspacePatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(WorkspacePatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: applicationGroupReferences(WorkspacePatchProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(WorkspaceList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationGroupList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: properties(ApplicationGroupProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ApplicationGroupProperties
- properties:
- - propertyName: description(ApplicationGroupProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: hostPoolArmPath(ApplicationGroupProperties-hostPoolArmPath^string)
- cli:
- cliKey: hostPoolArmPath
- - propertyName: workspaceArmPath(ApplicationGroupProperties-workspaceArmPath^string)
- cli:
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: applicationGroupType(ApplicationGroupType^choice)
- cli:
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationGroupPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationGroupPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ApplicationGroupPatchProperties
- properties:
- - propertyName: description(ApplicationGroupPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationGroupPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(StartMenuItemList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: properties(StartMenuItemProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: StartMenuItemProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- simplifiable: true
- cliKey: StartMenuItemProperties
- properties:
- - propertyName: appAlias(StartMenuItemProperties-appAlias^string)
- cli:
- cliKey: appAlias
- - propertyName: friendlyName(StartMenuItemProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(StartMenuItemProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineArguments(StartMenuItemProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: iconPath(StartMenuItemProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: properties(ApplicationProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationProperties
- properties:
- - propertyName: description(ApplicationProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - propertyName: iconHash(ApplicationProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(ApplicationProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(ApplicationPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: ApplicationPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationPatchProperties
- properties:
- - propertyName: description(ApplicationPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(ApplicationPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: filePath(ApplicationPatchProperties-filePath^string)
- cli:
- cliKey: filePath
- - propertyName: commandLineSetting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: commandLineArguments(ApplicationPatchProperties-commandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: showInPortal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: iconPath(ApplicationPatchProperties-iconPath^string)
- cli:
- cliKey: iconPath
- - propertyName: iconIndex(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(ApplicationList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: properties(DesktopProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopProperties
- properties:
- - propertyName: description(DesktopProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: iconHash(DesktopProperties-iconHash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: iconContent(DesktopProperties-iconContent^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(DesktopPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: DesktopPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopPatchProperties
- properties:
- - propertyName: description(DesktopPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: friendlyName(DesktopPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(DesktopList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: properties(HostPoolProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolProperties
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 14
- propertyCountIfSimplifyWithoutSimpleObject: 12
- simplifiable: true
- cliKey: HostPoolProperties
- properties:
- - propertyName: friendlyName(HostPoolProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolProperties-description^string)
- cli:
- cliKey: description
- - propertyName: hostPoolType(HostPoolType^choice)
- cli:
- cliKey: hostPoolType
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: customRdpProperty(HostPoolProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfo^object)
- cli:
- cliKey: registrationInfo
- - propertyName: vmTemplate(HostPoolProperties-vmTemplate^string)
- cli:
- cliKey: vmTemplate
- - propertyName: applicationGroupReferences(HostPoolProperties-applicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: ssoContext(HostPoolProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expirationTime(RegistrationInfo-expirationTime^date-time)
- cli:
- cliKey: expirationTime
- - propertyName: token(RegistrationInfo-token^string)
- cli:
- cliKey: token
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: properties(HostPoolPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: HostPoolPatchProperties
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: HostPoolPatchProperties
- properties:
- - propertyName: friendlyName(HostPoolPatchProperties-friendlyName^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchProperties-description^string)
- cli:
- cliKey: description
- - propertyName: customRdpProperty(HostPoolPatchProperties-customRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: maxSessionLimit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: personalDesktopAssignmentType(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: loadBalancerType(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validationEnvironment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registrationInfo(RegistrationInfoPatch^object)
- cli:
- cliKey: registrationInfo
- - propertyName: ssoContext(HostPoolPatchProperties-ssoContext^string)
- cli:
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registrationTokenOperation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(HostPoolList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(UserSessionList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: properties(UserSessionProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: UserSessionProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- simplifiable: true
- cliKey: UserSessionProperties
- properties:
- - propertyName: userPrincipalName(UserSessionProperties-userPrincipalName^string)
- cli:
- cliKey: userPrincipalName
- - propertyName: applicationType(ApplicationType^choice)
- cli:
- cliKey: applicationType
- - propertyName: sessionState(SessionState^choice)
- cli:
- cliKey: sessionState
- - propertyName: activeDirectoryUserName(UserSessionProperties-activeDirectoryUserName^string)
- cli:
- cliKey: activeDirectoryUserName
- - propertyName: createTime(UserSessionProperties-createTime^date-time)
- cli:
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: properties(SessionHostProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: SessionHostProperties
- properties:
- - propertyName: lastHeartBeat(SessionHostProperties-lastHeartBeat^date-time)
- cli:
- cliKey: lastHeartBeat
- - propertyName: sessions(integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agentVersion(SessionHostProperties-agentVersion^string)
- cli:
- cliKey: agentVersion
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: statusTimestamp(SessionHostProperties-statusTimestamp^date-time)
- cli:
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: osVersion(SessionHostProperties-osVersion^string)
- cli:
- cliKey: osVersion
- - propertyName: sxSStackVersion(SessionHostProperties-sxSStackVersion^string)
- cli:
- cliKey: sxSStackVersion
- - propertyName: updateState(UpdateState^choice)
- cli:
- cliKey: updateState
- - propertyName: lastUpdateTime(SessionHostProperties-lastUpdateTime^date-time)
- cli:
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: updateErrorMessage(SessionHostProperties-updateErrorMessage^string)
- cli:
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: properties(SessionHostPatchProperties^object)
- cli:
- cliKey: properties
- x-ms-client-flatten: true
- - schemaName: SessionHostPatchProperties
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SessionHostPatchProperties
- properties:
- - propertyName: allowNewSession(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assignedUser(SessionHostPatchProperties-assignedUser^string)
- cli:
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostList-value^array)
- cli:
- cliKey: value
- - propertyName: nextLink(SessionHostList-nextLink^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: messageTitle(SendMessage-messageTitle^string)
- cli:
- cliKey: messageTitle
- - propertyName: messageBody(SendMessage-messageBody^string)
- cli:
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: DoNotAllow
- cli:
- cliKey: DoNotAllow
- - choiceValue: Allow
- cli:
- cliKey: Allow
- - choiceValue: Require
- cli:
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: Personal
- cli:
- cliKey: Personal
- - choiceValue: Pooled
- cli:
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: Automatic
- cli:
- cliKey: Automatic
- - choiceValue: Direct
- cli:
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: BreadthFirst
- cli:
- cliKey: BreadthFirst
- - choiceValue: DepthFirst
- cli:
- cliKey: DepthFirst
- - choiceValue: Persistent
- cli:
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: Delete
- cli:
- cliKey: Delete
- - choiceValue: None
- cli:
- cliKey: None
- - choiceValue: Update
- cli:
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: RemoteApp
- cli:
- cliKey: RemoteApp
- - choiceValue: Desktop
- cli:
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: Unknown
- cli:
- cliKey: Unknown
- - choiceValue: Active
- cli:
- cliKey: Active
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: LogOff
- cli:
- cliKey: LogOff
- - choiceValue: UserProfileDiskMounted
- cli:
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: Available
- cli:
- cliKey: Available
- - choiceValue: Unavailable
- cli:
- cliKey: Unavailable
- - choiceValue: Shutdown
- cli:
- cliKey: Shutdown
- - choiceValue: Disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: Upgrading
- cli:
- cliKey: Upgrading
- - choiceValue: UpgradeFailed
- cli:
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: Initial
- cli:
- cliKey: Initial
- - choiceValue: Pending
- cli:
- cliKey: Pending
- - choiceValue: Started
- cli:
- cliKey: Started
- - choiceValue: Succeeded
- cli:
- cliKey: Succeeded
- - choiceValue: Failed
- cli:
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post.yaml b/src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post.yaml
deleted file mode 100644
index 91d2902d92a..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post.yaml
+++ /dev/null
@@ -1,9368 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 60
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_222
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperation-display-description
- description: Description of this operation.
- protocol: {}
- - &ref_144
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_150
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_151
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: Resource-type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResource-location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-code
- description: Error code
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudError-message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-description
- description: Description of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-friendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_167
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupProperties-workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchProperties-friendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-appAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-friendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-filePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-commandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemProperties-iconPath
- description: Path to the icon.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-description
- description: Description of Application.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-friendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-filePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_111
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-commandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_112
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchProperties-iconPath
- description: Path to icon.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-description
- description: Description of Desktop.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchProperties-friendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_119
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-applicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-friendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-customRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchProperties-ssoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_124
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-userPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-activeDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_125
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_235
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-agentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-osVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-sxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-updateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchProperties-assignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_129
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostList-nextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_236
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageTitle
- description: Title of message.
- protocol: {}
- - &ref_131
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessage-messageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: DoNotAllow
- description: ''
- cli:
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: Allow
- description: ''
- cli:
- cliKey: Allow
- - value: Require
- language:
- default:
- name: Require
- description: ''
- cli:
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: Personal
- description: ''
- cli:
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: Pooled
- description: ''
- cli:
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: Automatic
- description: ''
- cli:
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: Direct
- description: ''
- cli:
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: BreadthFirst
- description: ''
- cli:
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: DepthFirst
- description: ''
- cli:
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: Persistent
- description: ''
- cli:
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: Delete
- description: ''
- cli:
- cliKey: Delete
- - value: None
- language:
- default:
- name: None
- description: ''
- cli:
- cliKey: None
- - value: Update
- language:
- default:
- name: Update
- description: ''
- cli:
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: RemoteApp
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: Desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: Unknown
- description: ''
- cli:
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: Active
- description: ''
- cli:
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: LogOff
- description: ''
- cli:
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: UserProfileDiskMounted
- description: ''
- cli:
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: Available
- description: ''
- cli:
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: Unavailable
- description: ''
- cli:
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: Shutdown
- description: ''
- cli:
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: Disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: Upgrading
- description: ''
- cli:
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: UpgradeFailed
- description: ''
- cli:
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: Initial
- description: ''
- cli:
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: Pending
- description: ''
- cli:
- cliKey: Pending
- - value: Started
- language:
- default:
- name: Started
- description: ''
- cli:
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: Succeeded
- description: ''
- cli:
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: Failed
- description: ''
- cli:
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_145
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: ApiVersion-2019-12-10-preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_155
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application/json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResource-tags
- description: Resource tags.
- cli:
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationProperties-iconContent
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopProperties-iconContent
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfo-expirationTime
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionProperties-createTime
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastHeartBeat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-statusTimestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostProperties-lastUpdateTime
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_148
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_132
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation-display
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationList-value
- description: List of operations supported by this resource provider.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_94
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_11
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_12
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_133
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspaceProperties-applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: WorkspaceProperties
- description: Schema for Workspace properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_103
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_14
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_15
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_16
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- cliKey: workspaceArmPath
- protocol: {}
- - schema: *ref_18
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroupProperties
- description: Schema for ApplicationGroup properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ApplicationGroupProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for ApplicationGroup
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - schema: &ref_120
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_19
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_20
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_21
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: hostPoolType
- description: HostPool type for desktop.
- cli:
- cliKey: hostPoolType
- protocol: {}
- - schema: *ref_22
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_23
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_25
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_121
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expirationTime
- description: Expiration time of registration token.
- cli:
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_31
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_140
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolProperties-applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- - schema: *ref_33
- required: false
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPoolProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 14
- propertyCountIfSimplifyWithoutSimpleObject: 12
- simplifiable: true
- cliKey: HostPoolProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for HostPool
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli:
- cliKey: tags
- protocol: {}
- - schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli:
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_104
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_40
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_41
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatchProperties
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ApplicationGroupPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: ApplicationGroup properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_106
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_42
- serializedName: appAlias
- language:
- default:
- name: appAlias
- description: Alias of StartMenuItem.
- cli:
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Path to the file of StartMenuItem.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to the icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItemProperties
- description: Schema for StartMenuItem properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- simplifiable: true
- cliKey: StartMenuItemProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for StartMenuItem
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_107
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_48
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_49
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_50
- required: false
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_52
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- required: false
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_54
- required: false
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- required: false
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationProperties
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationProperties
- protocol: {}
- required: true
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- x-nullable: false
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_115
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_57
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_58
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: iconHash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: DesktopProperties
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_122
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_61
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of HostPool.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_62
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_63
- serializedName: customRdpProperty
- language:
- default:
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- cliKey: customRdpProperty
- protocol: {}
- - schema: *ref_24
- serializedName: maxSessionLimit
- language:
- default:
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cli:
- cliKey: maxSessionLimit
- protocol: {}
- - schema: *ref_22
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - schema: *ref_25
- serializedName: loadBalancerType
- language:
- default:
- name: loadBalancerType
- description: The type of the load balancer.
- cli:
- cliKey: loadBalancerType
- protocol: {}
- - schema: *ref_26
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli:
- cliKey: ring
- protocol: {}
- - schema: *ref_27
- serializedName: validationEnvironment
- language:
- default:
- name: validationEnvironment
- description: Is validation environment.
- cli:
- cliKey: validationEnvironment
- protocol: {}
- - schema: &ref_123
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- serializedName: registrationInfo
- language:
- default:
- name: registrationInfo
- description: The registration info of HostPool.
- cli:
- cliKey: registrationInfo
- protocol: {}
- - schema: *ref_64
- serializedName: ssoContext
- language:
- default:
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatchProperties
- description: Properties of HostPool.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: HostPoolPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: HostPool properties that can be patched.
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_126
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_65
- serializedName: userPrincipalName
- language:
- default:
- name: userPrincipalName
- description: The user principal name.
- cli:
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- serializedName: applicationType
- language:
- default:
- name: applicationType
- description: Application type of application.
- cli:
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- serializedName: sessionState
- language:
- default:
- name: sessionState
- description: State of user session.
- cli:
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- serializedName: activeDirectoryUserName
- language:
- default:
- name: activeDirectoryUserName
- description: The active directory user name.
- cli:
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- serializedName: createTime
- language:
- default:
- name: createTime
- description: The timestamp of the user session create.
- cli:
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSessionProperties
- description: Schema for UserSession properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- simplifiable: true
- cliKey: UserSessionProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for UserSession
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_127
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_70
- serializedName: lastHeartBeat
- language:
- default:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cli:
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- serializedName: agentVersion
- language:
- default:
- name: agentVersion
- description: Version of agent on SessionHost.
- cli:
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: status
- protocol: {}
- - schema: *ref_76
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: statusTimestamp
- description: The timestamp of the status.
- cli:
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- serializedName: osVersion
- language:
- default:
- name: osVersion
- description: The version of the OS on the session host.
- cli:
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- serializedName: sxSStackVersion
- language:
- default:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- serializedName: updateState
- language:
- default:
- name: updateState
- description: Update state of a SessionHost.
- cli:
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cli:
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- serializedName: updateErrorMessage
- language:
- default:
- name: updateErrorMessage
- description: The error message.
- cli:
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHostProperties
- description: Schema for SessionHost properties.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: SessionHostProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: &ref_128
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_73
- serializedName: allowNewSession
- language:
- default:
- name: allowNewSession
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_82
- serializedName: assignedUser
- language:
- default:
- name: assignedUser
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatchProperties
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SessionHostPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for SessionHost
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - *ref_94
- - &ref_154
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_95
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- cliKey: code
- protocol: {}
- - schema: *ref_96
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_161
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_100
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_97
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_98
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Workspace.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: &ref_134
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_99
- language:
- default:
- name: WorkspacePatchProperties-applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- serializedName: applicationGroupReferences
- language:
- default:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatchProperties
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Workspace
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - *ref_100
- - &ref_166
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_135
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceList-value
- description: List of Workspace definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_171
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_136
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupList-value
- description: List of ApplicationGroup definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_102
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_103
- - *ref_83
- - *ref_104
- - &ref_187
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_137
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemList-value
- description: List of StartMenuItem definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_105
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_106
- - *ref_85
- - *ref_107
- - &ref_198
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_113
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_108
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_109
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Application.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_110
- serializedName: filePath
- language:
- default:
- name: filePath
- description: Specifies a path for the executable file for the application.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_51
- serializedName: commandLineSetting
- language:
- default:
- name: 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.'
- cli:
- cliKey: commandLineSetting
- protocol: {}
- - schema: *ref_111
- serializedName: commandLineArguments
- language:
- default:
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_53
- serializedName: showInPortal
- language:
- default:
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli:
- cliKey: showInPortal
- protocol: {}
- - schema: *ref_112
- serializedName: iconPath
- language:
- default:
- name: iconPath
- description: Path to icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- serializedName: iconIndex
- language:
- default:
- name: iconIndex
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatchProperties
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: ApplicationPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Application
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - *ref_113
- - &ref_205
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_138
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationList-value
- description: List of Application definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - *ref_115
- - &ref_209
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli:
- cliKey: tags
- protocol: {}
- - schema: &ref_118
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_116
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_117
- serializedName: friendlyName
- language:
- default:
- name: friendlyName
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatchProperties
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: DesktopPatchProperties
- protocol: {}
- serializedName: properties
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: properties
- description: Detailed properties for Desktop
- cli:
- cliKey: properties
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - *ref_118
- - &ref_216
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_139
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopList-value
- description: List of Desktop definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_119
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_120
- - *ref_121
- - *ref_87
- - *ref_122
- - *ref_123
- - &ref_230
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_141
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolList-value
- description: List of HostPool definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_124
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_234
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_142
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionList-value
- description: List of UserSession definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_125
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_126
- - *ref_89
- - *ref_127
- - *ref_90
- - *ref_128
- - &ref_272
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_143
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostList-value
- description: List of SessionHost definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_129
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: nextLink
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_253
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_130
- serializedName: messageTitle
- language:
- default:
- name: messageTitle
- description: Title of message.
- cli:
- cliKey: messageTitle
- protocol: {}
- - schema: *ref_131
- serializedName: messageBody
- language:
- default:
- name: messageBody
- description: Body of message.
- cli:
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_132
- - *ref_133
- - *ref_134
- - *ref_135
- - *ref_136
- - *ref_137
- - *ref_138
- - *ref_139
- - *ref_140
- - *ref_141
- - *ref_142
- - *ref_143
-globalParameters:
- - &ref_149
- schema: *ref_144
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscriptionId
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_146
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_147
- schema: *ref_145
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: ApiVersion
- description: Api Version
- serializedName: api-version
- cli:
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_148
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Operations
- description: ''
- cli:
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_152
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_153
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_152
- - *ref_153
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a workspace.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_157
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_158
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_156
- schema: *ref_34
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_156
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_157
- - *ref_158
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_159
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_160
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_159
- - *ref_160
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a workspace.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_163
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_164
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_162
- schema: *ref_161
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_162
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_163
- - *ref_164
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a workspace.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_165
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_165
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_166
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspaces
- description: ''
- cli:
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_168
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_169
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: workspaceName
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_170
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_168
- - *ref_169
- - *ref_170
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: WorkspaceLevelList
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignments
- description: ''
- cli:
- cliKey: ApplicationGroupAssignments
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_172
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_173
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_172
- - *ref_173
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get an application group.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_175
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_176
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_174
- schema: *ref_35
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_174
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_175
- - *ref_176
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_177
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_178
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_177
- - *ref_178
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an applicationGroup.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_180
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_181
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_179
- schema: *ref_83
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: applicationGroup
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_180
- - *ref_181
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update an applicationGroup.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_182
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_184
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_184
- responses:
- - schema: *ref_171
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroups
- description: ''
- cli:
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_185
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_187
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItems
- description: ''
- cli:
- cliKey: StartMenuItems
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_188
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_189
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_190
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_188
- - *ref_189
- - *ref_190
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Get
- description: Get an application.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_192
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_193
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_194
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_191
- schema: *ref_85
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_191
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_192
- - *ref_193
- - *ref_194
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: CreateOrUpdate
- description: Create or update an application.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_195
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_196
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_197
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_195
- - *ref_196
- - *ref_197
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: Delete
- description: Remove an application.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_200
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_201
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_202
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationName
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_199
- schema: *ref_198
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_199
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_200
- - *ref_201
- - *ref_202
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: Update
- description: Update an application.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_203
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_204
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_203
- - *ref_204
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Applications
- description: ''
- cli:
- cliKey: Applications
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_206
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_207
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_208
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_206
- - *ref_207
- - *ref_208
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Get
- description: Get a desktop.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_211
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_212
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_213
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_210
- schema: *ref_209
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: desktop
- description: Object containing Desktop definitions.
- cli:
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_210
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_211
- - *ref_212
- - *ref_213
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: Update
- description: Update a desktop.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_214
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_215
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: applicationGroupName
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_214
- - *ref_215
- responses:
- - schema: *ref_216
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: List
- description: List desktops.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktops
- description: ''
- cli:
- cliKey: Desktops
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_217
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_218
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_217
- - *ref_218
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Get
- description: Get a host pool.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_220
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_221
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_219
- schema: *ref_36
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_219
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- - *ref_221
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_223
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_224
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_223
- - *ref_224
- - *ref_225
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a host pool.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_227
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_228
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_226
- schema: *ref_87
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: hostPool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_226
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_227
- - *ref_228
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: Update
- description: Update a host pool.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_229
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_229
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByResourceGroup
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_230
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPools
- description: ''
- cli:
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_231
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_232
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_233
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_231
- - *ref_232
- - *ref_233
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListByHostPool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_237
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_238
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_239
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_240
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_237
- - *ref_238
- - *ref_239
- - *ref_240
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: Get
- description: Get a userSession.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_241
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_242
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_243
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_244
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_245
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_241
- - *ref_242
- - *ref_243
- - *ref_244
- - *ref_245
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a userSession.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_246
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_247
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_248
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_246
- - *ref_247
- - *ref_248
- responses:
- - schema: *ref_234
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_249
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_250
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_251
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_252
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_249
- - *ref_250
- - *ref_251
- - *ref_252
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: Disconnect
- description: Disconnect a userSession.
- cli:
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_255
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_258
- schema: *ref_236
- implementation: Method
- required: true
- language:
- default:
- name: userSessionId
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_254
- schema: *ref_253
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: sendMessage
- description: Object containing message includes title and message body
- cli:
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_254
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- - *ref_258
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: SendMessage
- description: Send a message to a user.
- cli:
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSessions
- description: ''
- cli:
- cliKey: UserSessions
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_259
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_260
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_261
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_259
- - *ref_260
- - *ref_261
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Get
- description: Get a session host.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_262
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_263
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_264
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_265
- schema: *ref_222
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_262
- - *ref_263
- - *ref_264
- - *ref_265
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: Delete
- description: Remove a SessionHost.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_267
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_268
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_269
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_155
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content-type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_266
- schema: *ref_90
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: sessionHost
- description: Object containing SessionHost definitions.
- cli:
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- signatureParameters:
- - *ref_266
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_267
- - *ref_268
- - *ref_269
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: Update
- description: Update a session host.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_270
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_271
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_270
- - *ref_271
- responses:
- - schema: *ref_272
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: List
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHosts
- description: ''
- cli:
- cliKey: SessionHosts
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_146
- - *ref_147
- - *ref_149
- - &ref_273
- schema: *ref_150
- implementation: Method
- required: true
- language:
- default:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_274
- schema: *ref_151
- implementation: Method
- required: true
- language:
- default:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_275
- schema: *ref_235
- implementation: Method
- required: true
- language:
- default:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_276
- schema: *ref_167
- implementation: Method
- language:
- default:
- name: $filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_273
- - *ref_274
- - *ref_275
- - *ref_276
- responses:
- - schema: *ref_205
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_154
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: ListBySessionHost
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplications
- description: ''
- cli:
- cliKey: ActiveApplications
- protocol: {}
-language:
- default:
- name: ''
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre-simplified.yaml
deleted file mode 100644
index f35888d5336..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre-simplified.yaml
+++ /dev/null
@@ -1,1994 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: operations
- cli:
- cliKey: Operations
- operations:
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - operationGroupName: workspaces
- cli:
- cliKey: Workspaces
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _workspace(workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: workspace
- - parameterName[0]: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - parameterName[0]: description(workspace_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(workspace_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: application_group_references(workspace_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _workspace(workspace_patch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: workspace_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(workspace_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(workspace_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: application_group_references(workspace_patch_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: list_by_subscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: application_group_assignments
- cli:
- cliKey: ApplicationGroupAssignments
- operations:
- - operationName: workspace_level_list
- cli:
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: application_groups
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application_group(application_group^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: application_group
- - parameterName[0]: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - parameterName[0]: description(application_group_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_group_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: host_pool_arm_path(application_group_properties_host_pool_arm_path^string)
- cli:
- cliKey: hostPoolArmPath
- - parameterName[0]: application_group_type(application_group_type^choice)
- cli:
- cliKey: applicationGroupType
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application_group(application_group_patch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: application_group_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(application_group_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_group_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationName: list_by_subscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: start_menu_items
- cli:
- cliKey: StartMenuItems
- operations:
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: applications
- cli:
- cliKey: Applications
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application(application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: application
- - parameterName[0]: description(application_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: file_path(application_properties_file_path^string)
- cli:
- cliKey: filePath
- - parameterName[0]: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(application_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - parameterName[0]: icon_path(application_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - parameterName[0]: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application(application_patch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: application_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(application_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: file_path(application_patch_properties_file_path^string)
- cli:
- cliKey: filePath
- - parameterName[0]: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(application_patch_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - parameterName[0]: icon_path(application_patch_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - parameterName[0]: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: desktops
- cli:
- cliKey: Desktops
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktop_name(string^string)
- cli:
- cliKey: desktopName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktop_name(string^string)
- cli:
- cliKey: desktopName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _desktop(desktop_patch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: desktop_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(desktop_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(desktop_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: host_pools
- cli:
- cliKey: HostPools
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _host_pool(host_pool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: host_pool
- - parameterName[0]: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - parameterName[0]: friendly_name(host_pool_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: description(host_pool_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: host_pool_type(host_pool_type^choice)
- cli:
- cliKey: hostPoolType
- - parameterName[0]: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: custom_rdp_property(host_pool_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - parameterName[0]: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - parameterName[0]: ring(integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(registration_info^object)
- cli:
- cliKey: registrationInfo
- - parameterName[0]: vm_template(host_pool_properties_vm_template^string)
- cli:
- cliKey: vmTemplate
- - parameterName[0]: sso_context(host_pool_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _host_pool(host_pool_patch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: host_pool_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: friendly_name(host_pool_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: description(host_pool_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: custom_rdp_property(host_pool_patch_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - parameterName[0]: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - parameterName[0]: ring(integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(registration_info_patch^object)
- cli:
- cliKey: registrationInfo
- - parameterName[0]: sso_context(host_pool_patch_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: user_sessions
- cli:
- cliKey: UserSessions
- operations:
- - operationName: list_by_host_pool
- cli:
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: disconnect
- cli:
- cliKey: Disconnect
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - operationName: send_message
- cli:
- cliKey: SendMessage
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _send_message(send_message^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: send_message
- - parameterName[0]: message_title(send_message_title^string)
- cli:
- cliKey: messageTitle
- - parameterName[0]: message_body(send_message_body^string)
- cli:
- cliKey: messageBody
- - operationGroupName: session_hosts
- cli:
- cliKey: SessionHosts
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _session_host(session_host_patch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: session_host_patch
- - parameterName[0]: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - parameterName[0]: assigned_user(session_host_patch_properties_assigned_user^string)
- cli:
- cliKey: assignedUser
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - operationGroupName: active_applications
- cli:
- cliKey: ActiveApplications
- operations:
- - operationName: list_by_session_host
- cli:
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: resource_provider_operation_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(resource_provider_operation_list_value^array)
- cli:
- cliKey: value
- - schemaName: resource_provider_operation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(resource_provider_operation_name^string)
- cli:
- cliKey: name
- - propertyName: display(resource_provider_operation_display^object)
- cli:
- cliKey: display
- - schemaName: resource_provider_operation_display
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(resource_provider_operation_display_provider^string)
- cli:
- cliKey: provider
- - propertyName: resource(resource_provider_operation_display_resource^string)
- cli:
- cliKey: resource
- - propertyName: operation(resource_provider_operation_display_operation^string)
- cli:
- cliKey: operation
- - propertyName: description(resource_provider_operation_display_description^string)
- cli:
- cliKey: description
- - schemaName: resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(resource_id^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(resource_name^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(resource_type^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: tracked_resource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - schemaName: workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: description(workspace_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(workspace_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: application_group_references(workspace_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: cloud_error
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(cloud_error_code^string)
- cli:
- cliKey: code
- - propertyName: message(cloud_error_message^string)
- cli:
- cliKey: message
- - schemaName: workspace_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(workspace_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(workspace_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: application_group_references(workspace_patch_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: workspace_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(workspace_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(workspace_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: application_group_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(application_group_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(application_group_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: application_group
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: description(application_group_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_group_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: host_pool_arm_path(application_group_properties_host_pool_arm_path^string)
- cli:
- cliKey: hostPoolArmPath
- - propertyName: workspace_arm_path(application_group_properties_workspace_arm_path^string)
- cli:
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: application_group_type(application_group_type^choice)
- cli:
- cliKey: applicationGroupType
- - schemaName: application_group_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(application_group_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_group_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - schemaName: start_menu_item_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(start_menu_item_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(start_menu_item_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: start_menu_item
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: app_alias(start_menu_item_properties_app_alias^string)
- cli:
- cliKey: appAlias
- - propertyName: friendly_name(start_menu_item_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: file_path(start_menu_item_properties_file_path^string)
- cli:
- cliKey: filePath
- - propertyName: command_line_arguments(start_menu_item_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: icon_path(start_menu_item_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - propertyName: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: description(application_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: file_path(application_properties_file_path^string)
- cli:
- cliKey: filePath
- - propertyName: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(application_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: icon_path(application_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - propertyName: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - propertyName: icon_hash(application_properties_icon_hash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(application_properties_icon_content^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: application_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(application_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: file_path(application_patch_properties_file_path^string)
- cli:
- cliKey: filePath
- - propertyName: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(application_patch_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: icon_path(application_patch_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - propertyName: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: application_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(application_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(application_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: description(desktop_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(desktop_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: icon_hash(desktop_properties_icon_hash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(desktop_properties_icon_content^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: desktop_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(desktop_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(desktop_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - schemaName: desktop_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(desktop_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(desktop_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: host_pool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: friendly_name(host_pool_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(host_pool_properties_description^string)
- cli:
- cliKey: description
- - propertyName: host_pool_type(host_pool_type^choice)
- cli:
- cliKey: hostPoolType
- - propertyName: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: custom_rdp_property(host_pool_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registration_info(registration_info^object)
- cli:
- cliKey: registrationInfo
- - propertyName: vm_template(host_pool_properties_vm_template^string)
- cli:
- cliKey: vmTemplate
- - propertyName: application_group_references(host_pool_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: sso_context(host_pool_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - schemaName: registration_info
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expiration_time(registration_info_expiration_time^date-time)
- cli:
- cliKey: expirationTime
- - propertyName: token(registration_info_token^string)
- cli:
- cliKey: token
- - propertyName: registration_token_operation(registration_token_operation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: host_pool_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: friendly_name(host_pool_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(host_pool_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: custom_rdp_property(host_pool_patch_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registration_info(registration_info_patch^object)
- cli:
- cliKey: registrationInfo
- - propertyName: sso_context(host_pool_patch_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - schemaName: registration_info_patch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registration_token_operation(registration_token_operation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: host_pool_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(host_pool_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(host_pool_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: user_session_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(user_session_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(user_session_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: user_session
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: user_principal_name(user_session_properties_user_principal_name^string)
- cli:
- cliKey: userPrincipalName
- - propertyName: application_type(application_type^choice)
- cli:
- cliKey: applicationType
- - propertyName: session_state(session_state^choice)
- cli:
- cliKey: sessionState
- - propertyName: active_directory_user_name(user_session_properties_active_directory_user_name^string)
- cli:
- cliKey: activeDirectoryUserName
- - propertyName: create_time(user_session_properties_create_time^date-time)
- cli:
- cliKey: createTime
- - schemaName: session_host
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: last_heart_beat(session_host_properties_last_heart_beat^date-time)
- cli:
- cliKey: lastHeartBeat
- - propertyName: sessions(integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agent_version(session_host_properties_agent_version^string)
- cli:
- cliKey: agentVersion
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assigned_user(session_host_properties_assigned_user^string)
- cli:
- cliKey: assignedUser
- - propertyName: status(status^choice)
- cli:
- cliKey: status
- - propertyName: status_timestamp(session_host_properties_status_timestamp^date-time)
- cli:
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: os_version(session_host_properties_os_version^string)
- cli:
- cliKey: osVersion
- - propertyName: sx_s_stack_version(session_host_properties_sx_s_stack_version^string)
- cli:
- cliKey: sxSStackVersion
- - propertyName: update_state(update_state^choice)
- cli:
- cliKey: updateState
- - propertyName: last_update_time(session_host_properties_last_update_time^date-time)
- cli:
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: update_error_message(session_host_properties_update_error_message^string)
- cli:
- cliKey: updateErrorMessage
- - schemaName: session_host_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assigned_user(session_host_patch_properties_assigned_user^string)
- cli:
- cliKey: assignedUser
- - schemaName: session_host_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(session_host_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(session_host_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: send_message
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: message_title(send_message_title^string)
- cli:
- cliKey: messageTitle
- - propertyName: message_body(send_message_body^string)
- cli:
- cliKey: messageBody
- choices:
- all:
- - choiceName: application_group_type
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: remote_app
- cli:
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- cliKey: Desktop
- - choiceName: command_line_setting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: do_not_allow
- cli:
- cliKey: DoNotAllow
- - choiceValue: allow
- cli:
- cliKey: Allow
- - choiceValue: require
- cli:
- cliKey: Require
- - choiceName: host_pool_type
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: personal
- cli:
- cliKey: Personal
- - choiceValue: pooled
- cli:
- cliKey: Pooled
- - choiceName: personal_desktop_assignment_type
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: automatic
- cli:
- cliKey: Automatic
- - choiceValue: direct
- cli:
- cliKey: Direct
- - choiceName: load_balancer_type
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: breadth_first
- cli:
- cliKey: BreadthFirst
- - choiceValue: depth_first
- cli:
- cliKey: DepthFirst
- - choiceValue: persistent
- cli:
- cliKey: Persistent
- - choiceName: registration_token_operation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: delete
- cli:
- cliKey: Delete
- - choiceValue: none
- cli:
- cliKey: None
- - choiceValue: update
- cli:
- cliKey: Update
- - choiceName: application_type
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: remote_app
- cli:
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- cliKey: Desktop
- - choiceName: session_state
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: unknown
- cli:
- cliKey: Unknown
- - choiceValue: active
- cli:
- cliKey: Active
- - choiceValue: disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: pending
- cli:
- cliKey: Pending
- - choiceValue: log_off
- cli:
- cliKey: LogOff
- - choiceValue: user_profile_disk_mounted
- cli:
- cliKey: UserProfileDiskMounted
- - choiceName: status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: available
- cli:
- cliKey: Available
- - choiceValue: unavailable
- cli:
- cliKey: Unavailable
- - choiceValue: shutdown
- cli:
- cliKey: Shutdown
- - choiceValue: disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: upgrading
- cli:
- cliKey: Upgrading
- - choiceValue: upgrade_failed
- cli:
- cliKey: UpgradeFailed
- - choiceName: update_state
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: initial
- cli:
- cliKey: Initial
- - choiceValue: pending
- cli:
- cliKey: Pending
- - choiceValue: started
- cli:
- cliKey: Started
- - choiceValue: succeeded
- cli:
- cliKey: Succeeded
- - choiceValue: failed
- cli:
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre.yaml b/src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre.yaml
deleted file mode 100644
index 53a4d834586..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre.yaml
+++ /dev/null
@@ -1,10094 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 70
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_356
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_description
- description: Description of this operation.
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_136
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_137
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: resource_id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: resource_name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: resource_type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: tracked_resource_location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_properties_description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_properties_friendly_name
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_properties_application_group_references_item
- description: ''
- protocol: {}
- - &ref_94
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: cloud_error_code
- description: Error code
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: cloud_error_message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_patch_properties_description
- description: Description of Workspace.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_patch_properties_friendly_name
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_patch_properties_application_group_references_item
- description: ''
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_180
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_friendly_name
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_100
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_patch_properties_description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_patch_properties_friendly_name
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_app_alias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_friendly_name
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_file_path
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_command_line_arguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_icon_path
- description: Path to the icon.
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_friendly_name
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_file_path
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_command_line_arguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_path
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_hash
- description: Hash of the icon.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_description
- description: Description of Application.
- protocol: {}
- - &ref_103
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_friendly_name
- description: Friendly name of Application.
- protocol: {}
- - &ref_104
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_file_path
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_command_line_arguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_106
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_icon_path
- description: Path to icon.
- protocol: {}
- - &ref_107
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_friendly_name
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_hash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_patch_properties_description
- description: Description of Desktop.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_patch_properties_friendly_name
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_friendly_name
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_custom_rdp_property
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_vm_template
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_application_group_references_item
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_sso_context
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_friendly_name
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_custom_rdp_property
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_sso_context
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_113
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_user_principal_name
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_active_directory_user_name
- description: The active directory user name.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_402
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_agent_version
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_assigned_user
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_os_version
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_sx_s_stack_version
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_update_error_message
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_patch_properties_assigned_user
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_115
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_403
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: send_message_title
- description: Title of message.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: send_message_body
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: do_not_allow
- description: ''
- cli:
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: allow
- description: ''
- cli:
- cliKey: Allow
- - value: Require
- language:
- default:
- name: require
- description: ''
- cli:
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: command_line_setting
- 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.'
- cli:
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: personal
- description: ''
- cli:
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: pooled
- description: ''
- cli:
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli:
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: automatic
- description: ''
- cli:
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: direct
- description: ''
- cli:
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: breadth_first
- description: ''
- cli:
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: depth_first
- description: ''
- cli:
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: persistent
- description: ''
- cli:
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli:
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: delete
- description: ''
- cli:
- cliKey: Delete
- - value: None
- language:
- default:
- name: none
- description: ''
- cli:
- cliKey: None
- - value: Update
- language:
- default:
- name: update
- description: ''
- cli:
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: unknown
- description: ''
- cli:
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: active
- description: ''
- cli:
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: log_off
- description: ''
- cli:
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: user_profile_disk_mounted
- description: ''
- cli:
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: available
- description: ''
- cli:
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: unavailable
- description: ''
- cli:
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: shutdown
- description: ''
- cli:
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: upgrading
- description: ''
- cli:
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: upgrade_failed
- description: ''
- cli:
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: initial
- description: ''
- cli:
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- cliKey: Pending
- - value: Started
- language:
- default:
- name: started
- description: ''
- cli:
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: succeeded
- description: ''
- cli:
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: failed
- description: ''
- cli:
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_131
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: api_version2019_12_10_preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_141
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application_json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: tracked_resource_tags
- description: Resource tags.
- cli:
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_content
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_content
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_expiration_time
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_create_time
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_heart_beat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_status_timestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_update_time
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_134
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_118
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: resource_provider_operation_display
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: resource_provider_operation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: resource_provider_operation_list_value
- description: List of operations supported by this resource provider.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: resource_provider_operation_list
- description: Result of the request to list operations.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_147
- schema: *ref_11
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_148
- cliKey: description
- protocol: {}
- - &ref_149
- schema: *ref_12
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_150
- cliKey: friendlyName
- protocol: {}
- - &ref_151
- schema: &ref_119
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: workspace_properties_application_group_references
- description: List of applicationGroup resource Ids.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: &ref_152
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_188
- schema: *ref_14
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_189
- cliKey: description
- protocol: {}
- - &ref_190
- schema: *ref_15
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_191
- cliKey: friendlyName
- protocol: {}
- - &ref_192
- schema: *ref_16
- flattenedNames:
- - properties
- - hostPoolArmPath
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: &ref_193
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- flattenedNames:
- - properties
- - workspaceArmPath
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- cli:
- cliKey: workspaceArmPath
- protocol: {}
- - &ref_194
- schema: *ref_18
- flattenedNames:
- - properties
- - applicationGroupType
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: &ref_195
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: application_group
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_316
- schema: *ref_19
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_317
- cliKey: friendlyName
- protocol: {}
- - &ref_318
- schema: *ref_20
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_319
- cliKey: description
- protocol: {}
- - &ref_320
- schema: *ref_21
- flattenedNames:
- - properties
- - hostPoolType
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: &ref_321
- cliKey: hostPoolType
- protocol: {}
- - &ref_322
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_323
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_324
- schema: *ref_23
- flattenedNames:
- - properties
- - customRdpProperty
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_325
- cliKey: customRdpProperty
- protocol: {}
- - &ref_326
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_327
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_328
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_329
- cliKey: loadBalancerType
- protocol: {}
- - &ref_330
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_331
- cliKey: ring
- protocol: {}
- - &ref_332
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_333
- cliKey: validationEnvironment
- protocol: {}
- - &ref_334
- schema: &ref_111
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expiration_time
- description: Expiration time of registration token.
- cli:
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: registration_info
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_335
- cliKey: registrationInfo
- protocol: {}
- - &ref_336
- schema: *ref_31
- flattenedNames:
- - properties
- - vmTemplate
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: &ref_337
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_126
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: host_pool_properties_application_group_references
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- - &ref_338
- schema: *ref_33
- flattenedNames:
- - properties
- - ssoContext
- required: false
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_339
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: host_pool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_143
- schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli: &ref_144
- cliKey: tags
- protocol: {}
- - &ref_145
- schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: &ref_146
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: tracked_resource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_207
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_208
- cliKey: tags
- protocol: {}
- - &ref_209
- schema: *ref_40
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_210
- cliKey: description
- protocol: {}
- - &ref_211
- schema: *ref_41
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_212
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: application_group_patch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_42
- flattenedNames:
- - properties
- - appAlias
- serializedName: appAlias
- language:
- default:
- name: app_alias
- description: Alias of StartMenuItem.
- cli:
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of StartMenuItem.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Path to the file of StartMenuItem.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command line arguments for StartMenuItem.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to the icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: start_menu_item
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_228
- schema: *ref_48
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_229
- cliKey: description
- protocol: {}
- - &ref_230
- schema: *ref_49
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_231
- cliKey: friendlyName
- protocol: {}
- - &ref_232
- schema: *ref_50
- flattenedNames:
- - properties
- - filePath
- required: false
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_233
- cliKey: filePath
- protocol: {}
- - &ref_234
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_235
- cliKey: commandLineSetting
- protocol: {}
- - &ref_236
- schema: *ref_52
- flattenedNames:
- - properties
- - commandLineArguments
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_237
- cliKey: commandLineArguments
- protocol: {}
- - &ref_238
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- required: false
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_239
- cliKey: showInPortal
- protocol: {}
- - &ref_240
- schema: *ref_54
- flattenedNames:
- - properties
- - iconPath
- required: false
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_241
- cliKey: iconPath
- protocol: {}
- - &ref_242
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- required: false
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_243
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: the icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: application
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_57
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_58
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: The icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_361
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_362
- cliKey: tags
- protocol: {}
- - &ref_363
- schema: *ref_61
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_364
- cliKey: friendlyName
- protocol: {}
- - &ref_365
- schema: *ref_62
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_366
- cliKey: description
- protocol: {}
- - &ref_367
- schema: *ref_63
- flattenedNames:
- - properties
- - customRdpProperty
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_368
- cliKey: customRdpProperty
- protocol: {}
- - &ref_369
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_370
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_371
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_372
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_373
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_374
- cliKey: loadBalancerType
- protocol: {}
- - &ref_375
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_376
- cliKey: ring
- protocol: {}
- - &ref_377
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_378
- cliKey: validationEnvironment
- protocol: {}
- - &ref_379
- schema: &ref_112
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: registration_info_patch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_380
- cliKey: registrationInfo
- protocol: {}
- - &ref_381
- schema: *ref_64
- flattenedNames:
- - properties
- - ssoContext
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_382
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: host_pool_patch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_65
- flattenedNames:
- - properties
- - userPrincipalName
- serializedName: userPrincipalName
- language:
- default:
- name: user_principal_name
- description: The user principal name.
- cli:
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- flattenedNames:
- - properties
- - applicationType
- serializedName: applicationType
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- flattenedNames:
- - properties
- - sessionState
- serializedName: sessionState
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- flattenedNames:
- - properties
- - activeDirectoryUserName
- serializedName: activeDirectoryUserName
- language:
- default:
- name: active_directory_user_name
- description: The active directory user name.
- cli:
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- flattenedNames:
- - properties
- - createTime
- serializedName: createTime
- language:
- default:
- name: create_time
- description: The timestamp of the user session create.
- cli:
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: user_session
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_70
- flattenedNames:
- - properties
- - lastHeartBeat
- serializedName: lastHeartBeat
- language:
- default:
- name: last_heart_beat
- description: Last heart beat from SessionHost.
- cli:
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- flattenedNames:
- - properties
- - sessions
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- flattenedNames:
- - properties
- - agentVersion
- serializedName: agentVersion
- language:
- default:
- name: agent_version
- description: Version of agent on SessionHost.
- cli:
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- flattenedNames:
- - properties
- - status
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: status
- protocol: {}
- - schema: *ref_76
- flattenedNames:
- - properties
- - statusTimestamp
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: status_timestamp
- description: The timestamp of the status.
- cli:
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- flattenedNames:
- - properties
- - osVersion
- serializedName: osVersion
- language:
- default:
- name: os_version
- description: The version of the OS on the session host.
- cli:
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- flattenedNames:
- - properties
- - sxSStackVersion
- serializedName: sxSStackVersion
- language:
- default:
- name: sx_s_stack_version
- description: The version of the side by side stack on the session host.
- cli:
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- flattenedNames:
- - properties
- - updateState
- serializedName: updateState
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- flattenedNames:
- - properties
- - lastUpdateTime
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: last_update_time
- description: The timestamp of the last update.
- cli:
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- flattenedNames:
- - properties
- - updateErrorMessage
- serializedName: updateErrorMessage
- language:
- default:
- name: update_error_message
- description: The error message.
- cli:
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: session_host
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_440
- schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: &ref_441
- cliKey: allowNewSession
- protocol: {}
- - &ref_442
- schema: *ref_82
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: &ref_443
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: session_host_patch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: resource
- description: ''
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - &ref_140
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_94
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- cliKey: code
- protocol: {}
- - schema: *ref_95
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: cloud_error
- description: Error response of an operation failure
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_162
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_164
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_165
- cliKey: tags
- protocol: {}
- - &ref_166
- schema: *ref_96
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_167
- cliKey: description
- protocol: {}
- - &ref_168
- schema: *ref_97
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_169
- cliKey: friendlyName
- protocol: {}
- - &ref_170
- schema: &ref_120
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_98
- language:
- default:
- name: workspace_patch_properties_application_group_references
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: &ref_171
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: workspace_patch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - &ref_179
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_121
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: workspace_list_value
- description: List of Workspace definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_99
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: workspace_list
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_184
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_122
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: application_group_list_value
- description: List of ApplicationGroup definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_100
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: application_group_list
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_83
- - &ref_223
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_123
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: start_menu_item_list_value
- description: List of StartMenuItem definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: start_menu_item_list
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_85
- - &ref_258
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_260
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_261
- cliKey: tags
- protocol: {}
- - &ref_262
- schema: *ref_102
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_263
- cliKey: description
- protocol: {}
- - &ref_264
- schema: *ref_103
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_265
- cliKey: friendlyName
- protocol: {}
- - &ref_266
- schema: *ref_104
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_267
- cliKey: filePath
- protocol: {}
- - &ref_268
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_269
- cliKey: commandLineSetting
- protocol: {}
- - &ref_270
- schema: *ref_105
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_271
- cliKey: commandLineArguments
- protocol: {}
- - &ref_272
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_273
- cliKey: showInPortal
- protocol: {}
- - &ref_274
- schema: *ref_106
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_275
- cliKey: iconPath
- protocol: {}
- - &ref_276
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_277
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: application_patch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - &ref_292
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_124
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: application_list_value
- description: List of Application definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_107
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: application_list
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - &ref_296
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_298
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_299
- cliKey: tags
- protocol: {}
- - &ref_300
- schema: *ref_108
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: &ref_301
- cliKey: description
- protocol: {}
- - &ref_302
- schema: *ref_109
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: &ref_303
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: desktop_patch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - &ref_312
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_125
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: desktop_list_value
- description: List of Desktop definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_110
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: desktop_list
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_111
- - *ref_87
- - *ref_112
- - &ref_397
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_127
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: host_pool_list_value
- description: List of HostPool definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_113
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: host_pool_list
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_401
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_128
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: user_session_list_value
- description: List of UserSession definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: user_session_list
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_89
- - *ref_90
- - &ref_451
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_129
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: session_host_list_value
- description: List of SessionHost definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_115
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: session_host_list
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_420
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_422
- schema: *ref_116
- serializedName: messageTitle
- language:
- default:
- name: message_title
- description: Title of message.
- cli: &ref_423
- cliKey: messageTitle
- protocol: {}
- - &ref_424
- schema: *ref_117
- serializedName: messageBody
- language:
- default:
- name: message_body
- description: Body of message.
- cli: &ref_425
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: send_message
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_118
- - *ref_119
- - *ref_120
- - *ref_121
- - *ref_122
- - *ref_123
- - *ref_124
- - *ref_125
- - *ref_126
- - *ref_127
- - *ref_128
- - *ref_129
-globalParameters:
- - &ref_135
- schema: *ref_130
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscription_id
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_132
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_133
- schema: *ref_131
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: api_version
- description: Api Version
- serializedName: api-version
- cli:
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_134
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: list
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: operations
- description: ''
- cli:
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_138
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_139
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_138
- - *ref_139
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a workspace.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_158
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_159
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_142
- schema: *ref_34
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_153
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_154
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_155
- schema: *ref_11
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_147
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_148
- protocol: {}
- - &ref_156
- schema: *ref_12
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_149
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_150
- protocol: {}
- - &ref_157
- schema: *ref_119
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_151
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: *ref_152
- protocol: {}
- signatureParameters:
- - *ref_153
- - *ref_154
- - *ref_155
- - *ref_156
- - *ref_157
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_158
- - *ref_159
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a workspace.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_160
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_161
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_160
- - *ref_161
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a workspace.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_176
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_177
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_163
- schema: *ref_162
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_172
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_164
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_165
- protocol: {}
- - &ref_173
- schema: *ref_96
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_166
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_167
- protocol: {}
- - &ref_174
- schema: *ref_97
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_168
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_169
- protocol: {}
- - &ref_175
- schema: *ref_120
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_170
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: *ref_171
- protocol: {}
- signatureParameters:
- - *ref_172
- - *ref_173
- - *ref_174
- - *ref_175
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_176
- - *ref_177
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a workspace.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_178
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_178
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: workspaces
- description: ''
- cli:
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_181
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_182
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_181
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: workspace_level_list
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: application_group_assignments
- description: ''
- cli:
- cliKey: ApplicationGroupAssignments
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_185
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get an application group.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_202
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_203
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_187
- schema: *ref_35
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_196
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_197
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_198
- schema: *ref_14
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_188
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_189
- protocol: {}
- - &ref_199
- schema: *ref_15
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_190
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_191
- protocol: {}
- - &ref_200
- schema: *ref_16
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_192
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: *ref_193
- protocol: {}
- - &ref_201
- schema: *ref_18
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_194
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: *ref_195
- protocol: {}
- signatureParameters:
- - *ref_196
- - *ref_197
- - *ref_198
- - *ref_199
- - *ref_200
- - *ref_201
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_202
- - *ref_203
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update an applicationGroup.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_204
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_205
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_204
- - *ref_205
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove an applicationGroup.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_216
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_217
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_206
- schema: *ref_83
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_213
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_207
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_208
- protocol: {}
- - &ref_214
- schema: *ref_40
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_209
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_210
- protocol: {}
- - &ref_215
- schema: *ref_41
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_211
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_212
- protocol: {}
- signatureParameters:
- - *ref_213
- - *ref_214
- - *ref_215
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_216
- - *ref_217
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update an applicationGroup.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_218
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_219
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_218
- - *ref_219
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_220
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: application_groups
- description: ''
- cli:
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_221
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_222
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_221
- - *ref_222
- responses:
- - schema: *ref_223
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: start_menu_items
- description: ''
- cli:
- cliKey: StartMenuItems
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_224
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_226
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_224
- - *ref_225
- - *ref_226
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: get
- description: Get an application.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_252
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_253
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_254
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_227
- schema: *ref_85
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_244
- schema: *ref_48
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_228
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_229
- protocol: {}
- - &ref_245
- schema: *ref_49
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_230
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_231
- protocol: {}
- - &ref_246
- schema: *ref_50
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_232
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_233
- protocol: {}
- - &ref_247
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: true
- targetProperty: *ref_234
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_235
- protocol: {}
- - &ref_248
- schema: *ref_52
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_236
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_237
- protocol: {}
- - &ref_249
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_238
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_239
- protocol: {}
- - &ref_250
- schema: *ref_54
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_240
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_241
- protocol: {}
- - &ref_251
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_242
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_243
- protocol: {}
- signatureParameters:
- - *ref_244
- - *ref_245
- - *ref_246
- - *ref_247
- - *ref_248
- - *ref_249
- - *ref_250
- - *ref_251
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_252
- - *ref_253
- - *ref_254
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: create_or_update
- description: Create or update an application.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_255
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: delete
- description: Remove an application.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_287
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_288
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_289
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_259
- schema: *ref_258
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_278
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_260
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_261
- protocol: {}
- - &ref_279
- schema: *ref_102
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_262
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_263
- protocol: {}
- - &ref_280
- schema: *ref_103
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_264
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_265
- protocol: {}
- - &ref_281
- schema: *ref_104
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_266
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_267
- protocol: {}
- - &ref_282
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_268
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_269
- protocol: {}
- - &ref_283
- schema: *ref_105
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_270
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_271
- protocol: {}
- - &ref_284
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_272
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_273
- protocol: {}
- - &ref_285
- schema: *ref_106
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_274
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_275
- protocol: {}
- - &ref_286
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_276
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_277
- protocol: {}
- signatureParameters:
- - *ref_278
- - *ref_279
- - *ref_280
- - *ref_281
- - *ref_282
- - *ref_283
- - *ref_284
- - *ref_285
- - *ref_286
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_287
- - *ref_288
- - *ref_289
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: update
- description: Update an application.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_290
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_291
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_290
- - *ref_291
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: applications
- description: ''
- cli:
- cliKey: Applications
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_293
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_294
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_295
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_293
- - *ref_294
- - *ref_295
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: get
- description: Get a desktop.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_307
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_308
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_309
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_297
- schema: *ref_296
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _desktop
- description: Object containing Desktop definitions.
- cli:
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- - &ref_304
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_298
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_299
- protocol: {}
- - &ref_305
- schema: *ref_108
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_300
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: *ref_301
- protocol: {}
- - &ref_306
- schema: *ref_109
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_302
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: *ref_303
- protocol: {}
- signatureParameters:
- - *ref_304
- - *ref_305
- - *ref_306
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_307
- - *ref_308
- - *ref_309
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: update
- description: Update a desktop.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_310
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_311
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_310
- - *ref_311
- responses:
- - schema: *ref_312
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: list
- description: List desktops.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: desktops
- description: ''
- cli:
- cliKey: Desktops
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_313
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_314
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_313
- - *ref_314
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a host pool.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_354
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_355
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_315
- schema: *ref_36
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_340
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_341
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_342
- schema: *ref_19
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_316
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_317
- protocol: {}
- - &ref_343
- schema: *ref_20
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_318
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_319
- protocol: {}
- - &ref_344
- schema: *ref_21
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_320
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: *ref_321
- protocol: {}
- - &ref_345
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_322
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_323
- protocol: {}
- - &ref_346
- schema: *ref_23
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_324
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_325
- protocol: {}
- - &ref_347
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_326
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_327
- protocol: {}
- - &ref_348
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_328
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_329
- protocol: {}
- - &ref_349
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_330
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_331
- protocol: {}
- - &ref_350
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_332
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_333
- protocol: {}
- - &ref_351
- schema: *ref_111
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_334
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_335
- protocol: {}
- - &ref_352
- schema: *ref_31
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_336
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: *ref_337
- protocol: {}
- - &ref_353
- schema: *ref_33
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_338
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_339
- protocol: {}
- signatureParameters:
- - *ref_340
- - *ref_341
- - *ref_342
- - *ref_343
- - *ref_344
- - *ref_345
- - *ref_346
- - *ref_347
- - *ref_348
- - *ref_349
- - *ref_350
- - *ref_351
- - *ref_352
- - *ref_353
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_354
- - *ref_355
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a host pool.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_357
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_358
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_359
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_357
- - *ref_358
- - *ref_359
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a host pool.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_394
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_395
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_360
- schema: *ref_87
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_383
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_361
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_362
- protocol: {}
- - &ref_384
- schema: *ref_61
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_363
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_364
- protocol: {}
- - &ref_385
- schema: *ref_62
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_365
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_366
- protocol: {}
- - &ref_386
- schema: *ref_63
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_367
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_368
- protocol: {}
- - &ref_387
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_369
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_370
- protocol: {}
- - &ref_388
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_371
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_372
- protocol: {}
- - &ref_389
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_373
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_374
- protocol: {}
- - &ref_390
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_375
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_376
- protocol: {}
- - &ref_391
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_377
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_378
- protocol: {}
- - &ref_392
- schema: *ref_112
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_379
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_380
- protocol: {}
- - &ref_393
- schema: *ref_64
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_381
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_382
- protocol: {}
- signatureParameters:
- - *ref_383
- - *ref_384
- - *ref_385
- - *ref_386
- - *ref_387
- - *ref_388
- - *ref_389
- - *ref_390
- - *ref_391
- - *ref_392
- - *ref_393
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_394
- - *ref_395
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a host pool.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_396
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_396
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: host_pools
- description: ''
- cli:
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_398
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_399
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_400
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_398
- - *ref_399
- - *ref_400
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_host_pool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_404
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_405
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_406
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_407
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_404
- - *ref_405
- - *ref_406
- - *ref_407
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: get
- description: Get a userSession.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_408
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_409
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_410
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_411
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_412
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_408
- - *ref_409
- - *ref_410
- - *ref_411
- - *ref_412
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: delete
- description: Remove a userSession.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_413
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_414
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_415
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_413
- - *ref_414
- - *ref_415
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_416
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_417
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_418
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_419
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_416
- - *ref_417
- - *ref_418
- - *ref_419
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: disconnect
- description: Disconnect a userSession.
- cli:
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_428
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_429
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_430
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_431
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_421
- schema: *ref_420
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _send_message
- description: Object containing message includes title and message body
- cli:
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- - &ref_426
- schema: *ref_116
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_422
- language:
- default:
- name: message_title
- description: Title of message.
- cli: *ref_423
- protocol: {}
- - &ref_427
- schema: *ref_117
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_424
- language:
- default:
- name: message_body
- description: Body of message.
- cli: *ref_425
- protocol: {}
- signatureParameters:
- - *ref_426
- - *ref_427
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_428
- - *ref_429
- - *ref_430
- - *ref_431
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: send_message
- description: Send a message to a user.
- cli:
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: user_sessions
- description: ''
- cli:
- cliKey: UserSessions
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_432
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_433
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_434
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_432
- - *ref_433
- - *ref_434
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: get
- description: Get a session host.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_435
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_436
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_437
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_438
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_435
- - *ref_436
- - *ref_437
- - *ref_438
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: delete
- description: Remove a SessionHost.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_446
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_447
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_448
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_439
- schema: *ref_90
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _session_host
- description: Object containing SessionHost definitions.
- cli:
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- - &ref_444
- schema: *ref_73
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_440
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: *ref_441
- protocol: {}
- - &ref_445
- schema: *ref_82
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_442
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: *ref_443
- protocol: {}
- signatureParameters:
- - *ref_444
- - *ref_445
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_446
- - *ref_447
- - *ref_448
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: update
- description: Update a session host.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_449
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_450
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_449
- - *ref_450
- responses:
- - schema: *ref_451
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: session_hosts
- description: ''
- cli:
- cliKey: SessionHosts
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_452
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_453
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_454
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_455
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_452
- - *ref_453
- - *ref_454
- - *ref_455
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_session_host
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: active_applications
- description: ''
- cli:
- cliKey: ActiveApplications
- protocol: {}
-language:
- default:
- name: DesktopVirtualizationAPIClient
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post-simplified.yaml
deleted file mode 100644
index 59345b97497..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post-simplified.yaml
+++ /dev/null
@@ -1,2002 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: operations
- cli:
- cliKey: Operations
- operations:
- - operationName: list
- cli:
- cliKey: List
- hidden: true
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - operationGroupName: workspaces
- cli:
- cliKey: Workspaces
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _workspace(workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: workspace
- - parameterName[0]: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - parameterName[0]: description(workspace_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(workspace_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: application_group_references(workspace_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _workspace(workspace_patch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: workspace_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(workspace_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(workspace_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: application_group_references(workspace_patch_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: list_by_subscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: application_group_assignments
- cli:
- cliKey: ApplicationGroupAssignments
- hidden: true
- operations:
- - operationName: workspace_level_list
- cli:
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: workspace_name(string^string)
- cli:
- cliKey: workspaceName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: application_groups
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application_group(application_group^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: application_group
- - parameterName[0]: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - parameterName[0]: description(application_group_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_group_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: host_pool_arm_path(application_group_properties_host_pool_arm_path^string)
- cli:
- cliKey: hostPoolArmPath
- - parameterName[0]: application_group_type(application_group_type^choice)
- cli:
- cliKey: applicationGroupType
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application_group(application_group_patch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: application_group_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(application_group_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_group_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationName: list_by_subscription
- cli:
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationGroupName: start_menu_items
- cli:
- cliKey: StartMenuItems
- hidden: true
- operations:
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: applications
- cli:
- cliKey: Applications
- hidden: true
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application(application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: application
- - parameterName[0]: description(application_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: file_path(application_properties_file_path^string)
- cli:
- cliKey: filePath
- - parameterName[0]: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(application_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - parameterName[0]: icon_path(application_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - parameterName[0]: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: application_name(string^string)
- cli:
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _application(application_patch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: application_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(application_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(application_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: file_path(application_patch_properties_file_path^string)
- cli:
- cliKey: filePath
- - parameterName[0]: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(application_patch_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - parameterName[0]: icon_path(application_patch_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - parameterName[0]: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: desktops
- cli:
- cliKey: Desktops
- hidden: true
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktop_name(string^string)
- cli:
- cliKey: desktopName
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - parameterName: desktop_name(string^string)
- cli:
- cliKey: desktopName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _desktop(desktop_patch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: desktop_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(desktop_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(desktop_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: application_group_name(string^string)
- cli:
- cliKey: applicationGroupName
- - operationGroupName: host_pools
- cli:
- cliKey: HostPools
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _host_pool(host_pool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: host_pool
- - parameterName[0]: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - parameterName[0]: friendly_name(host_pool_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: description(host_pool_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: host_pool_type(host_pool_type^choice)
- cli:
- cliKey: hostPoolType
- - parameterName[0]: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: custom_rdp_property(host_pool_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - parameterName[0]: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - parameterName[0]: ring(integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(registration_info^object)
- cli:
- cliKey: registrationInfo
- - parameterName[0]: vm_template(host_pool_properties_vm_template^string)
- cli:
- cliKey: vmTemplate
- - parameterName[0]: sso_context(host_pool_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _host_pool(host_pool_patch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: host_pool_patch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: friendly_name(host_pool_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - parameterName[0]: description(host_pool_patch_properties_description^string)
- cli:
- cliKey: description
- - parameterName[0]: custom_rdp_property(host_pool_patch_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - parameterName[0]: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - parameterName[0]: ring(integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(registration_info_patch^object)
- cli:
- cliKey: registrationInfo
- - parameterName[0]: sso_context(host_pool_patch_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - operationGroupName: user_sessions
- cli:
- cliKey: UserSessions
- hidden: true
- operations:
- - operationName: list_by_host_pool
- cli:
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: disconnect
- cli:
- cliKey: Disconnect
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - operationName: send_message
- cli:
- cliKey: SendMessage
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: user_session_id(string^string)
- cli:
- cliKey: userSessionId
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _send_message(send_message^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: send_message
- - parameterName[0]: message_title(send_message_title^string)
- cli:
- cliKey: messageTitle
- - parameterName[0]: message_body(send_message_body^string)
- cli:
- cliKey: messageBody
- - operationGroupName: session_hosts
- cli:
- cliKey: SessionHosts
- hidden: true
- operations:
- - operationName: get
- cli:
- cliKey: Get
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - operationName: delete
- cli:
- cliKey: Delete
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- cliKey: Update
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- - parameterName[0]: _session_host(session_host_patch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: session_host_patch
- - parameterName[0]: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - parameterName[0]: assigned_user(session_host_patch_properties_assigned_user^string)
- cli:
- cliKey: assignedUser
- - operationName: list
- cli:
- cliKey: List
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - operationGroupName: active_applications
- cli:
- cliKey: ActiveApplications
- hidden: true
- operations:
- - operationName: list_by_session_host
- cli:
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(string^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- - parameterName: subscription_id(string^string)
- cli:
- cliKey: subscriptionId
- - parameterName: resource_group_name(string^string)
- cli:
- cliKey: resourceGroupName
- - parameterName: host_pool_name(string^string)
- cli:
- cliKey: hostPoolName
- - parameterName: session_host_name(string^string)
- cli:
- cliKey: sessionHostName
- - parameterName: filter(string^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: resource_provider_operation_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(resource_provider_operation_list_value^array)
- cli:
- cliKey: value
- - schemaName: resource_provider_operation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(resource_provider_operation_name^string)
- cli:
- cliKey: name
- - propertyName: display(resource_provider_operation_display^object)
- cli:
- cliKey: display
- - schemaName: resource_provider_operation_display
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(resource_provider_operation_display_provider^string)
- cli:
- cliKey: provider
- - propertyName: resource(resource_provider_operation_display_resource^string)
- cli:
- cliKey: resource
- - propertyName: operation(resource_provider_operation_display_operation^string)
- cli:
- cliKey: operation
- - propertyName: description(resource_provider_operation_display_description^string)
- cli:
- cliKey: description
- - schemaName: resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(resource_id^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(resource_name^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(resource_type^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: tracked_resource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(tracked_resource_tags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(tracked_resource_location^string)
- cli:
- cliKey: location
- - schemaName: workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: description(workspace_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(workspace_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: application_group_references(workspace_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: cloud_error
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(cloud_error_code^string)
- cli:
- cliKey: code
- - propertyName: message(cloud_error_message^string)
- cli:
- cliKey: message
- - schemaName: workspace_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(workspace_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(workspace_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: application_group_references(workspace_patch_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- - schemaName: workspace_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(workspace_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(workspace_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: application_group_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(application_group_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(application_group_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: application_group
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: description(application_group_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_group_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: host_pool_arm_path(application_group_properties_host_pool_arm_path^string)
- cli:
- cliKey: hostPoolArmPath
- - propertyName: workspace_arm_path(application_group_properties_workspace_arm_path^string)
- cli:
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: application_group_type(application_group_type^choice)
- cli:
- cliKey: applicationGroupType
- - schemaName: application_group_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(application_group_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_group_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - schemaName: start_menu_item_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(start_menu_item_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(start_menu_item_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: start_menu_item
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: app_alias(start_menu_item_properties_app_alias^string)
- cli:
- cliKey: appAlias
- - propertyName: friendly_name(start_menu_item_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: file_path(start_menu_item_properties_file_path^string)
- cli:
- cliKey: filePath
- - propertyName: command_line_arguments(start_menu_item_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: icon_path(start_menu_item_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - propertyName: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: description(application_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: file_path(application_properties_file_path^string)
- cli:
- cliKey: filePath
- - propertyName: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(application_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: icon_path(application_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - propertyName: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - propertyName: icon_hash(application_properties_icon_hash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(application_properties_icon_content^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: application_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(application_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(application_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: file_path(application_patch_properties_file_path^string)
- cli:
- cliKey: filePath
- - propertyName: command_line_setting(command_line_setting^choice)
- cli:
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(application_patch_properties_command_line_arguments^string)
- cli:
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- - propertyName: icon_path(application_patch_properties_icon_path^string)
- cli:
- cliKey: iconPath
- - propertyName: icon_index(integer^integer)
- cli:
- cliKey: iconIndex
- - schemaName: application_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(application_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(application_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: description(desktop_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(desktop_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: icon_hash(desktop_properties_icon_hash^string)
- cli:
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(desktop_properties_icon_content^byte-array)
- cli:
- cliKey: iconContent
- readOnly: true
- - schemaName: desktop_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(desktop_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(desktop_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - schemaName: desktop_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(desktop_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(desktop_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: host_pool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: friendly_name(host_pool_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(host_pool_properties_description^string)
- cli:
- cliKey: description
- - propertyName: host_pool_type(host_pool_type^choice)
- cli:
- cliKey: hostPoolType
- - propertyName: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: custom_rdp_property(host_pool_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registration_info(registration_info^object)
- cli:
- cliKey: registrationInfo
- - propertyName: vm_template(host_pool_properties_vm_template^string)
- cli:
- cliKey: vmTemplate
- - propertyName: application_group_references(host_pool_properties_application_group_references^array)
- cli:
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: sso_context(host_pool_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - schemaName: registration_info
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expiration_time(registration_info_expiration_time^date-time)
- cli:
- cliKey: expirationTime
- - propertyName: token(registration_info_token^string)
- cli:
- cliKey: token
- - propertyName: registration_token_operation(registration_token_operation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: host_pool_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: friendly_name(host_pool_patch_properties_friendly_name^string)
- cli:
- cliKey: friendlyName
- - propertyName: description(host_pool_patch_properties_description^string)
- cli:
- cliKey: description
- - propertyName: custom_rdp_property(host_pool_patch_properties_custom_rdp_property^string)
- cli:
- cliKey: customRdpProperty
- - propertyName: max_session_limit(integer^integer)
- cli:
- cliKey: maxSessionLimit
- - propertyName: personal_desktop_assignment_type(personal_desktop_assignment_type^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- - propertyName: load_balancer_type(load_balancer_type^choice)
- cli:
- cliKey: loadBalancerType
- - propertyName: ring(integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- - propertyName: registration_info(registration_info_patch^object)
- cli:
- cliKey: registrationInfo
- - propertyName: sso_context(host_pool_patch_properties_sso_context^string)
- cli:
- cliKey: ssoContext
- - schemaName: registration_info_patch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registration_token_operation(registration_token_operation^choice)
- cli:
- cliKey: registrationTokenOperation
- - schemaName: host_pool_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(host_pool_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(host_pool_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: user_session_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(user_session_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(user_session_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: user_session
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: user_principal_name(user_session_properties_user_principal_name^string)
- cli:
- cliKey: userPrincipalName
- - propertyName: application_type(application_type^choice)
- cli:
- cliKey: applicationType
- - propertyName: session_state(session_state^choice)
- cli:
- cliKey: sessionState
- - propertyName: active_directory_user_name(user_session_properties_active_directory_user_name^string)
- cli:
- cliKey: activeDirectoryUserName
- - propertyName: create_time(user_session_properties_create_time^date-time)
- cli:
- cliKey: createTime
- - schemaName: session_host
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: last_heart_beat(session_host_properties_last_heart_beat^date-time)
- cli:
- cliKey: lastHeartBeat
- - propertyName: sessions(integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agent_version(session_host_properties_agent_version^string)
- cli:
- cliKey: agentVersion
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assigned_user(session_host_properties_assigned_user^string)
- cli:
- cliKey: assignedUser
- - propertyName: status(status^choice)
- cli:
- cliKey: status
- - propertyName: status_timestamp(session_host_properties_status_timestamp^date-time)
- cli:
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: os_version(session_host_properties_os_version^string)
- cli:
- cliKey: osVersion
- - propertyName: sx_s_stack_version(session_host_properties_sx_s_stack_version^string)
- cli:
- cliKey: sxSStackVersion
- - propertyName: update_state(update_state^choice)
- cli:
- cliKey: updateState
- - propertyName: last_update_time(session_host_properties_last_update_time^date-time)
- cli:
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: update_error_message(session_host_properties_update_error_message^string)
- cli:
- cliKey: updateErrorMessage
- - schemaName: session_host_patch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- - propertyName: assigned_user(session_host_patch_properties_assigned_user^string)
- cli:
- cliKey: assignedUser
- - schemaName: session_host_list
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(session_host_list_value^array)
- cli:
- cliKey: value
- - propertyName: next_link(session_host_list_next_link^string)
- cli:
- cliKey: nextLink
- readOnly: true
- - schemaName: send_message
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: message_title(send_message_title^string)
- cli:
- cliKey: messageTitle
- - propertyName: message_body(send_message_body^string)
- cli:
- cliKey: messageBody
- choices:
- all:
- - choiceName: application_group_type
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: remote_app
- cli:
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- cliKey: Desktop
- - choiceName: command_line_setting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: do_not_allow
- cli:
- cliKey: DoNotAllow
- - choiceValue: allow
- cli:
- cliKey: Allow
- - choiceValue: require
- cli:
- cliKey: Require
- - choiceName: host_pool_type
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: personal
- cli:
- cliKey: Personal
- - choiceValue: pooled
- cli:
- cliKey: Pooled
- - choiceName: personal_desktop_assignment_type
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: automatic
- cli:
- cliKey: Automatic
- - choiceValue: direct
- cli:
- cliKey: Direct
- - choiceName: load_balancer_type
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: breadth_first
- cli:
- cliKey: BreadthFirst
- - choiceValue: depth_first
- cli:
- cliKey: DepthFirst
- - choiceValue: persistent
- cli:
- cliKey: Persistent
- - choiceName: registration_token_operation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: delete
- cli:
- cliKey: Delete
- - choiceValue: none
- cli:
- cliKey: None
- - choiceValue: update
- cli:
- cliKey: Update
- - choiceName: application_type
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: remote_app
- cli:
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- cliKey: Desktop
- - choiceName: session_state
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: unknown
- cli:
- cliKey: Unknown
- - choiceValue: active
- cli:
- cliKey: Active
- - choiceValue: disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: pending
- cli:
- cliKey: Pending
- - choiceValue: log_off
- cli:
- cliKey: LogOff
- - choiceValue: user_profile_disk_mounted
- cli:
- cliKey: UserProfileDiskMounted
- - choiceName: status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: available
- cli:
- cliKey: Available
- - choiceValue: unavailable
- cli:
- cliKey: Unavailable
- - choiceValue: shutdown
- cli:
- cliKey: Shutdown
- - choiceValue: disconnected
- cli:
- cliKey: Disconnected
- - choiceValue: upgrading
- cli:
- cliKey: Upgrading
- - choiceValue: upgrade_failed
- cli:
- cliKey: UpgradeFailed
- - choiceName: update_state
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: initial
- cli:
- cliKey: Initial
- - choiceValue: pending
- cli:
- cliKey: Pending
- - choiceValue: started
- cli:
- cliKey: Started
- - choiceValue: succeeded
- cli:
- cliKey: Succeeded
- - choiceValue: failed
- cli:
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post.yaml b/src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post.yaml
deleted file mode 100644
index 8ed5a7c51e0..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post.yaml
+++ /dev/null
@@ -1,10102 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 80
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_356
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: string
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_resource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_operation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: resource_provider_operation_display_description
- description: Description of this operation.
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_136
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_137
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: resource_id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: resource_name
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: resource_type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: tracked_resource_location
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_properties_description
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_properties_friendly_name
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_properties_application_group_references_item
- description: ''
- protocol: {}
- - &ref_94
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: cloud_error_code
- description: Error code
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: cloud_error_message
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_patch_properties_description
- description: Description of Workspace.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_patch_properties_friendly_name
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_patch_properties_application_group_references_item
- description: ''
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: workspace_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_180
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_friendly_name
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_properties_workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_100
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_patch_properties_description
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_group_patch_properties_friendly_name
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_app_alias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_friendly_name
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_file_path
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_command_line_arguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_properties_icon_path
- description: Path to the icon.
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: start_menu_item_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_description
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_friendly_name
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_file_path
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_command_line_arguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_path
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_hash
- description: Hash of the icon.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_description
- description: Description of Application.
- protocol: {}
- - &ref_103
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_friendly_name
- description: Friendly name of Application.
- protocol: {}
- - &ref_104
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_file_path
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_command_line_arguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_106
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_patch_properties_icon_path
- description: Path to icon.
- protocol: {}
- - &ref_107
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_description
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_friendly_name
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_hash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_patch_properties_description
- description: Description of Desktop.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_patch_properties_friendly_name
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_friendly_name
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_description
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_custom_rdp_property
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_token
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_vm_template
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_application_group_references_item
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_properties_sso_context
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_friendly_name
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_description
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_custom_rdp_property
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_patch_properties_sso_context
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_113
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: host_pool_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_user_principal_name
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_active_directory_user_name
- description: The active directory user name.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_402
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_agent_version
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_assigned_user
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_os_version
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_sx_s_stack_version
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_update_error_message
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_patch_properties_assigned_user
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_115
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_list_next_link
- description: Link to the next page of results.
- protocol: {}
- - &ref_403
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: string
- description: ''
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: send_message_title
- description: Title of message.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: send_message_body
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli:
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: do_not_allow
- description: ''
- cli:
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: allow
- description: ''
- cli:
- cliKey: Allow
- - value: Require
- language:
- default:
- name: require
- description: ''
- cli:
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: command_line_setting
- 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.'
- cli:
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: personal
- description: ''
- cli:
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: pooled
- description: ''
- cli:
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli:
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: automatic
- description: ''
- cli:
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: direct
- description: ''
- cli:
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: breadth_first
- description: ''
- cli:
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: depth_first
- description: ''
- cli:
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: persistent
- description: ''
- cli:
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli:
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: delete
- description: ''
- cli:
- cliKey: Delete
- - value: None
- language:
- default:
- name: none
- description: ''
- cli:
- cliKey: None
- - value: Update
- language:
- default:
- name: update
- description: ''
- cli:
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: unknown
- description: ''
- cli:
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: active
- description: ''
- cli:
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: log_off
- description: ''
- cli:
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: user_profile_disk_mounted
- description: ''
- cli:
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: available
- description: ''
- cli:
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: unavailable
- description: ''
- cli:
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: shutdown
- description: ''
- cli:
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: upgrading
- description: ''
- cli:
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: upgrade_failed
- description: ''
- cli:
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: initial
- description: ''
- cli:
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- cliKey: Pending
- - value: Started
- language:
- default:
- name: started
- description: ''
- cli:
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: succeeded
- description: ''
- cli:
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: failed
- description: ''
- cli:
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_131
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: api_version2019_12_10_preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_141
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application_json
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: tracked_resource_tags
- description: Resource tags.
- cli:
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_content
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_content
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_expiration_time
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_create_time
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_heart_beat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_status_timestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_update_time
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_134
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_118
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: resource_provider_operation_display
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: resource_provider_operation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: resource_provider_operation_list_value
- description: List of operations supported by this resource provider.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: resource_provider_operation_list
- description: Result of the request to list operations.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_147
- schema: *ref_11
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_148
- cliKey: description
- protocol: {}
- - &ref_149
- schema: *ref_12
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_150
- cliKey: friendlyName
- protocol: {}
- - &ref_151
- schema: &ref_119
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: workspace_properties_application_group_references
- description: List of applicationGroup resource Ids.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: &ref_152
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_188
- schema: *ref_14
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_189
- cliKey: description
- protocol: {}
- - &ref_190
- schema: *ref_15
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_191
- cliKey: friendlyName
- protocol: {}
- - &ref_192
- schema: *ref_16
- flattenedNames:
- - properties
- - hostPoolArmPath
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: &ref_193
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- flattenedNames:
- - properties
- - workspaceArmPath
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- cli:
- cliKey: workspaceArmPath
- protocol: {}
- - &ref_194
- schema: *ref_18
- flattenedNames:
- - properties
- - applicationGroupType
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: &ref_195
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: application_group
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_316
- schema: *ref_19
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_317
- cliKey: friendlyName
- protocol: {}
- - &ref_318
- schema: *ref_20
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_319
- cliKey: description
- protocol: {}
- - &ref_320
- schema: *ref_21
- flattenedNames:
- - properties
- - hostPoolType
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: &ref_321
- cliKey: hostPoolType
- protocol: {}
- - &ref_322
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_323
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_324
- schema: *ref_23
- flattenedNames:
- - properties
- - customRdpProperty
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_325
- cliKey: customRdpProperty
- protocol: {}
- - &ref_326
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_327
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_328
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_329
- cliKey: loadBalancerType
- protocol: {}
- - &ref_330
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_331
- cliKey: ring
- protocol: {}
- - &ref_332
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_333
- cliKey: validationEnvironment
- protocol: {}
- - &ref_334
- schema: &ref_111
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expiration_time
- description: Expiration time of registration token.
- cli:
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: registration_info
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_335
- cliKey: registrationInfo
- protocol: {}
- - &ref_336
- schema: *ref_31
- flattenedNames:
- - properties
- - vmTemplate
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: &ref_337
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_126
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: host_pool_properties_application_group_references
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli:
- cliKey: applicationGroupReferences
- protocol: {}
- - &ref_338
- schema: *ref_33
- flattenedNames:
- - properties
- - ssoContext
- required: false
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_339
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: host_pool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_143
- schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli: &ref_144
- cliKey: tags
- protocol: {}
- - &ref_145
- schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: &ref_146
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: tracked_resource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_207
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_208
- cliKey: tags
- protocol: {}
- - &ref_209
- schema: *ref_40
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_210
- cliKey: description
- protocol: {}
- - &ref_211
- schema: *ref_41
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_212
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: application_group_patch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_42
- flattenedNames:
- - properties
- - appAlias
- serializedName: appAlias
- language:
- default:
- name: app_alias
- description: Alias of StartMenuItem.
- cli:
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of StartMenuItem.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Path to the file of StartMenuItem.
- cli:
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command line arguments for StartMenuItem.
- cli:
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to the icon.
- cli:
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli:
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: start_menu_item
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_228
- schema: *ref_48
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_229
- cliKey: description
- protocol: {}
- - &ref_230
- schema: *ref_49
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_231
- cliKey: friendlyName
- protocol: {}
- - &ref_232
- schema: *ref_50
- flattenedNames:
- - properties
- - filePath
- required: false
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_233
- cliKey: filePath
- protocol: {}
- - &ref_234
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_235
- cliKey: commandLineSetting
- protocol: {}
- - &ref_236
- schema: *ref_52
- flattenedNames:
- - properties
- - commandLineArguments
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_237
- cliKey: commandLineArguments
- protocol: {}
- - &ref_238
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- required: false
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_239
- cliKey: showInPortal
- protocol: {}
- - &ref_240
- schema: *ref_54
- flattenedNames:
- - properties
- - iconPath
- required: false
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_241
- cliKey: iconPath
- protocol: {}
- - &ref_242
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- required: false
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_243
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: the icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: application
- description: Schema for Application properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_57
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- cliKey: description
- protocol: {}
- - schema: *ref_58
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli:
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: The icon a 64 bit string as a byte array.
- cli:
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_361
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_362
- cliKey: tags
- protocol: {}
- - &ref_363
- schema: *ref_61
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_364
- cliKey: friendlyName
- protocol: {}
- - &ref_365
- schema: *ref_62
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_366
- cliKey: description
- protocol: {}
- - &ref_367
- schema: *ref_63
- flattenedNames:
- - properties
- - customRdpProperty
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_368
- cliKey: customRdpProperty
- protocol: {}
- - &ref_369
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_370
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_371
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_372
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_373
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_374
- cliKey: loadBalancerType
- protocol: {}
- - &ref_375
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_376
- cliKey: ring
- protocol: {}
- - &ref_377
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_378
- cliKey: validationEnvironment
- protocol: {}
- - &ref_379
- schema: &ref_112
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: registration_info_patch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_380
- cliKey: registrationInfo
- protocol: {}
- - &ref_381
- schema: *ref_64
- flattenedNames:
- - properties
- - ssoContext
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_382
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: host_pool_patch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_65
- flattenedNames:
- - properties
- - userPrincipalName
- serializedName: userPrincipalName
- language:
- default:
- name: user_principal_name
- description: The user principal name.
- cli:
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- flattenedNames:
- - properties
- - applicationType
- serializedName: applicationType
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- flattenedNames:
- - properties
- - sessionState
- serializedName: sessionState
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- flattenedNames:
- - properties
- - activeDirectoryUserName
- serializedName: activeDirectoryUserName
- language:
- default:
- name: active_directory_user_name
- description: The active directory user name.
- cli:
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- flattenedNames:
- - properties
- - createTime
- serializedName: createTime
- language:
- default:
- name: create_time
- description: The timestamp of the user session create.
- cli:
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: user_session
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_70
- flattenedNames:
- - properties
- - lastHeartBeat
- serializedName: lastHeartBeat
- language:
- default:
- name: last_heart_beat
- description: Last heart beat from SessionHost.
- cli:
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- flattenedNames:
- - properties
- - sessions
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- flattenedNames:
- - properties
- - agentVersion
- serializedName: agentVersion
- language:
- default:
- name: agent_version
- description: Version of agent on SessionHost.
- cli:
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli:
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli:
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- flattenedNames:
- - properties
- - status
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- cliKey: status
- protocol: {}
- - schema: *ref_76
- flattenedNames:
- - properties
- - statusTimestamp
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: status_timestamp
- description: The timestamp of the status.
- cli:
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- flattenedNames:
- - properties
- - osVersion
- serializedName: osVersion
- language:
- default:
- name: os_version
- description: The version of the OS on the session host.
- cli:
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- flattenedNames:
- - properties
- - sxSStackVersion
- serializedName: sxSStackVersion
- language:
- default:
- name: sx_s_stack_version
- description: The version of the side by side stack on the session host.
- cli:
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- flattenedNames:
- - properties
- - updateState
- serializedName: updateState
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- flattenedNames:
- - properties
- - lastUpdateTime
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: last_update_time
- description: The timestamp of the last update.
- cli:
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- flattenedNames:
- - properties
- - updateErrorMessage
- serializedName: updateErrorMessage
- language:
- default:
- name: update_error_message
- description: The error message.
- cli:
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: session_host
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_440
- schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: &ref_441
- cliKey: allowNewSession
- protocol: {}
- - &ref_442
- schema: *ref_82
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: &ref_443
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: session_host_patch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: resource
- description: ''
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - &ref_140
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_94
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- cliKey: code
- protocol: {}
- - schema: *ref_95
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: cloud_error
- description: Error response of an operation failure
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_162
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_164
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_165
- cliKey: tags
- protocol: {}
- - &ref_166
- schema: *ref_96
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_167
- cliKey: description
- protocol: {}
- - &ref_168
- schema: *ref_97
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_169
- cliKey: friendlyName
- protocol: {}
- - &ref_170
- schema: &ref_120
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_98
- language:
- default:
- name: workspace_patch_properties_application_group_references
- description: List of applicationGroup links.
- cli:
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: &ref_171
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: workspace_patch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - &ref_179
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_121
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: workspace_list_value
- description: List of Workspace definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_99
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: workspace_list
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_184
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_122
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: application_group_list_value
- description: List of ApplicationGroup definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_100
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: application_group_list
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_83
- - &ref_223
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_123
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: start_menu_item_list_value
- description: List of StartMenuItem definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: start_menu_item_list
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_85
- - &ref_258
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_260
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_261
- cliKey: tags
- protocol: {}
- - &ref_262
- schema: *ref_102
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_263
- cliKey: description
- protocol: {}
- - &ref_264
- schema: *ref_103
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_265
- cliKey: friendlyName
- protocol: {}
- - &ref_266
- schema: *ref_104
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_267
- cliKey: filePath
- protocol: {}
- - &ref_268
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_269
- cliKey: commandLineSetting
- protocol: {}
- - &ref_270
- schema: *ref_105
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_271
- cliKey: commandLineArguments
- protocol: {}
- - &ref_272
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_273
- cliKey: showInPortal
- protocol: {}
- - &ref_274
- schema: *ref_106
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_275
- cliKey: iconPath
- protocol: {}
- - &ref_276
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_277
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: application_patch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - &ref_292
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_124
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: application_list_value
- description: List of Application definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_107
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: application_list
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - &ref_296
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_298
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_299
- cliKey: tags
- protocol: {}
- - &ref_300
- schema: *ref_108
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: &ref_301
- cliKey: description
- protocol: {}
- - &ref_302
- schema: *ref_109
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: &ref_303
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: desktop_patch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - &ref_312
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_125
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: desktop_list_value
- description: List of Desktop definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_110
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: desktop_list
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_111
- - *ref_87
- - *ref_112
- - &ref_397
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_127
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: host_pool_list_value
- description: List of HostPool definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_113
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: host_pool_list
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_401
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_128
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: user_session_list_value
- description: List of UserSession definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: user_session_list
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_89
- - *ref_90
- - &ref_451
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_129
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: session_host_list_value
- description: List of SessionHost definitions.
- cli:
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- cliKey: value
- protocol: {}
- - schema: *ref_115
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: session_host_list
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_420
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_422
- schema: *ref_116
- serializedName: messageTitle
- language:
- default:
- name: message_title
- description: Title of message.
- cli: &ref_423
- cliKey: messageTitle
- protocol: {}
- - &ref_424
- schema: *ref_117
- serializedName: messageBody
- language:
- default:
- name: message_body
- description: Body of message.
- cli: &ref_425
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: send_message
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_118
- - *ref_119
- - *ref_120
- - *ref_121
- - *ref_122
- - *ref_123
- - *ref_124
- - *ref_125
- - *ref_126
- - *ref_127
- - *ref_128
- - *ref_129
-globalParameters:
- - &ref_135
- schema: *ref_130
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscription_id
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_132
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_133
- schema: *ref_131
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: api_version
- description: Api Version
- serializedName: api-version
- cli:
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_134
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: list
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- cliKey: List
- hidden: true
- protocol: {}
- language:
- default:
- name: operations
- description: ''
- cli:
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_138
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_139
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_138
- - *ref_139
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a workspace.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_158
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_159
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_142
- schema: *ref_34
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_153
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_154
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_155
- schema: *ref_11
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_147
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_148
- protocol: {}
- - &ref_156
- schema: *ref_12
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_149
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_150
- protocol: {}
- - &ref_157
- schema: *ref_119
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_151
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: *ref_152
- protocol: {}
- signatureParameters:
- - *ref_153
- - *ref_154
- - *ref_155
- - *ref_156
- - *ref_157
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_158
- - *ref_159
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a workspace.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_160
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_161
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_160
- - *ref_161
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a workspace.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_176
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_177
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_163
- schema: *ref_162
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_172
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_164
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_165
- protocol: {}
- - &ref_173
- schema: *ref_96
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_166
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_167
- protocol: {}
- - &ref_174
- schema: *ref_97
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_168
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_169
- protocol: {}
- - &ref_175
- schema: *ref_120
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_170
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: *ref_171
- protocol: {}
- signatureParameters:
- - *ref_172
- - *ref_173
- - *ref_174
- - *ref_175
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_176
- - *ref_177
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a workspace.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_178
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_178
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: workspaces
- description: ''
- cli:
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_181
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_182
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_181
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: workspace_level_list
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: application_group_assignments
- description: ''
- cli:
- cliKey: ApplicationGroupAssignments
- hidden: true
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_185
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get an application group.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_202
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_203
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_187
- schema: *ref_35
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_196
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_197
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_198
- schema: *ref_14
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_188
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_189
- protocol: {}
- - &ref_199
- schema: *ref_15
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_190
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_191
- protocol: {}
- - &ref_200
- schema: *ref_16
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_192
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: *ref_193
- protocol: {}
- - &ref_201
- schema: *ref_18
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_194
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: *ref_195
- protocol: {}
- signatureParameters:
- - *ref_196
- - *ref_197
- - *ref_198
- - *ref_199
- - *ref_200
- - *ref_201
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_202
- - *ref_203
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update an applicationGroup.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_204
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_205
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_204
- - *ref_205
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove an applicationGroup.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_216
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_217
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_206
- schema: *ref_83
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_213
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_207
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_208
- protocol: {}
- - &ref_214
- schema: *ref_40
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_209
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_210
- protocol: {}
- - &ref_215
- schema: *ref_41
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_211
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_212
- protocol: {}
- signatureParameters:
- - *ref_213
- - *ref_214
- - *ref_215
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_216
- - *ref_217
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update an applicationGroup.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_218
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_219
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_218
- - *ref_219
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_220
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: application_groups
- description: ''
- cli:
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_221
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_222
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_221
- - *ref_222
- responses:
- - schema: *ref_223
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: start_menu_items
- description: ''
- cli:
- cliKey: StartMenuItems
- hidden: true
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_224
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_226
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_224
- - *ref_225
- - *ref_226
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: get
- description: Get an application.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_252
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_253
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_254
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_227
- schema: *ref_85
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_244
- schema: *ref_48
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_228
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_229
- protocol: {}
- - &ref_245
- schema: *ref_49
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_230
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_231
- protocol: {}
- - &ref_246
- schema: *ref_50
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_232
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_233
- protocol: {}
- - &ref_247
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: true
- targetProperty: *ref_234
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_235
- protocol: {}
- - &ref_248
- schema: *ref_52
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_236
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_237
- protocol: {}
- - &ref_249
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_238
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_239
- protocol: {}
- - &ref_250
- schema: *ref_54
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_240
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_241
- protocol: {}
- - &ref_251
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_242
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_243
- protocol: {}
- signatureParameters:
- - *ref_244
- - *ref_245
- - *ref_246
- - *ref_247
- - *ref_248
- - *ref_249
- - *ref_250
- - *ref_251
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_252
- - *ref_253
- - *ref_254
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: create_or_update
- description: Create or update an application.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_255
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: delete
- description: Remove an application.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_287
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_288
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_289
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_259
- schema: *ref_258
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_278
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_260
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_261
- protocol: {}
- - &ref_279
- schema: *ref_102
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_262
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_263
- protocol: {}
- - &ref_280
- schema: *ref_103
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_264
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_265
- protocol: {}
- - &ref_281
- schema: *ref_104
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_266
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_267
- protocol: {}
- - &ref_282
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_268
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_269
- protocol: {}
- - &ref_283
- schema: *ref_105
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_270
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_271
- protocol: {}
- - &ref_284
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_272
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_273
- protocol: {}
- - &ref_285
- schema: *ref_106
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_274
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_275
- protocol: {}
- - &ref_286
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_276
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_277
- protocol: {}
- signatureParameters:
- - *ref_278
- - *ref_279
- - *ref_280
- - *ref_281
- - *ref_282
- - *ref_283
- - *ref_284
- - *ref_285
- - *ref_286
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_287
- - *ref_288
- - *ref_289
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: update
- description: Update an application.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_290
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_291
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_290
- - *ref_291
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: applications
- description: ''
- cli:
- cliKey: Applications
- hidden: true
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_293
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_294
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_295
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_293
- - *ref_294
- - *ref_295
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: get
- description: Get a desktop.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_307
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_308
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_309
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_297
- schema: *ref_296
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _desktop
- description: Object containing Desktop definitions.
- cli:
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- - &ref_304
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_298
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_299
- protocol: {}
- - &ref_305
- schema: *ref_108
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_300
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: *ref_301
- protocol: {}
- - &ref_306
- schema: *ref_109
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_302
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: *ref_303
- protocol: {}
- signatureParameters:
- - *ref_304
- - *ref_305
- - *ref_306
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_307
- - *ref_308
- - *ref_309
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: update
- description: Update a desktop.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_310
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_311
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_310
- - *ref_311
- responses:
- - schema: *ref_312
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: list
- description: List desktops.
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: desktops
- description: ''
- cli:
- cliKey: Desktops
- hidden: true
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_313
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_314
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_313
- - *ref_314
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a host pool.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_354
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_355
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_315
- schema: *ref_36
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_340
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_341
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_342
- schema: *ref_19
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_316
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_317
- protocol: {}
- - &ref_343
- schema: *ref_20
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_318
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_319
- protocol: {}
- - &ref_344
- schema: *ref_21
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_320
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: *ref_321
- protocol: {}
- - &ref_345
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_322
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_323
- protocol: {}
- - &ref_346
- schema: *ref_23
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_324
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_325
- protocol: {}
- - &ref_347
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_326
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_327
- protocol: {}
- - &ref_348
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_328
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_329
- protocol: {}
- - &ref_349
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_330
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_331
- protocol: {}
- - &ref_350
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_332
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_333
- protocol: {}
- - &ref_351
- schema: *ref_111
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_334
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_335
- protocol: {}
- - &ref_352
- schema: *ref_31
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_336
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: *ref_337
- protocol: {}
- - &ref_353
- schema: *ref_33
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_338
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_339
- protocol: {}
- signatureParameters:
- - *ref_340
- - *ref_341
- - *ref_342
- - *ref_343
- - *ref_344
- - *ref_345
- - *ref_346
- - *ref_347
- - *ref_348
- - *ref_349
- - *ref_350
- - *ref_351
- - *ref_352
- - *ref_353
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_354
- - *ref_355
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a host pool.
- cli:
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_357
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_358
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_359
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_357
- - *ref_358
- - *ref_359
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a host pool.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_394
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_395
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_360
- schema: *ref_87
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_383
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_361
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_362
- protocol: {}
- - &ref_384
- schema: *ref_61
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_363
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_364
- protocol: {}
- - &ref_385
- schema: *ref_62
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_365
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_366
- protocol: {}
- - &ref_386
- schema: *ref_63
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_367
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_368
- protocol: {}
- - &ref_387
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_369
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_370
- protocol: {}
- - &ref_388
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_371
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_372
- protocol: {}
- - &ref_389
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_373
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_374
- protocol: {}
- - &ref_390
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_375
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_376
- protocol: {}
- - &ref_391
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_377
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_378
- protocol: {}
- - &ref_392
- schema: *ref_112
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_379
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_380
- protocol: {}
- - &ref_393
- schema: *ref_64
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_381
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_382
- protocol: {}
- signatureParameters:
- - *ref_383
- - *ref_384
- - *ref_385
- - *ref_386
- - *ref_387
- - *ref_388
- - *ref_389
- - *ref_390
- - *ref_391
- - *ref_392
- - *ref_393
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_394
- - *ref_395
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a host pool.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_396
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_396
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: host_pools
- description: ''
- cli:
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_398
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_399
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_400
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_398
- - *ref_399
- - *ref_400
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_host_pool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_404
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_405
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_406
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_407
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_404
- - *ref_405
- - *ref_406
- - *ref_407
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: get
- description: Get a userSession.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_408
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_409
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_410
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_411
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_412
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_408
- - *ref_409
- - *ref_410
- - *ref_411
- - *ref_412
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: delete
- description: Remove a userSession.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_413
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_414
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_415
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_413
- - *ref_414
- - *ref_415
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_416
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_417
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_418
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_419
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_416
- - *ref_417
- - *ref_418
- - *ref_419
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: disconnect
- description: Disconnect a userSession.
- cli:
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_428
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_429
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_430
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_431
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_421
- schema: *ref_420
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _send_message
- description: Object containing message includes title and message body
- cli:
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- - &ref_426
- schema: *ref_116
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_422
- language:
- default:
- name: message_title
- description: Title of message.
- cli: *ref_423
- protocol: {}
- - &ref_427
- schema: *ref_117
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_424
- language:
- default:
- name: message_body
- description: Body of message.
- cli: *ref_425
- protocol: {}
- signatureParameters:
- - *ref_426
- - *ref_427
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_428
- - *ref_429
- - *ref_430
- - *ref_431
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: send_message
- description: Send a message to a user.
- cli:
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: user_sessions
- description: ''
- cli:
- cliKey: UserSessions
- hidden: true
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_432
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_433
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_434
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_432
- - *ref_433
- - *ref_434
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: get
- description: Get a session host.
- cli:
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_435
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_436
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_437
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_438
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_435
- - *ref_436
- - *ref_437
- - *ref_438
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: delete
- description: Remove a SessionHost.
- cli:
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_446
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_447
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_448
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_439
- schema: *ref_90
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _session_host
- description: Object containing SessionHost definitions.
- cli:
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- - &ref_444
- schema: *ref_73
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_440
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: *ref_441
- protocol: {}
- - &ref_445
- schema: *ref_82
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_442
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: *ref_443
- protocol: {}
- signatureParameters:
- - *ref_444
- - *ref_445
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_446
- - *ref_447
- - *ref_448
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: update
- description: Update a session host.
- cli:
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_449
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_450
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_449
- - *ref_450
- responses:
- - schema: *ref_451
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: List
- protocol: {}
- language:
- default:
- name: session_hosts
- description: ''
- cli:
- cliKey: SessionHosts
- hidden: true
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_452
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_453
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_454
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_455
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_452
- - *ref_453
- - *ref_454
- - *ref_455
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_session_host
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: active_applications
- description: ''
- cli:
- cliKey: ActiveApplications
- hidden: true
- protocol: {}
-language:
- default:
- name: DesktopVirtualizationAPIClient
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000090-namer-post-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000090-namer-post-simplified.yaml
deleted file mode 100644
index 60ff4563487..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000090-namer-post-simplified.yaml
+++ /dev/null
@@ -1,2383 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operation
- cli:
- cliKey: Operations
- operations:
- - operationName: list
- cli:
- cliKey: List
- hidden: true
- name: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - operationGroupName: Workspace
- cli:
- cliKey: Workspaces
- operations:
- - operationName: get
- cli:
- cliKey: Get
- name: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- cliKey: workspaceName
- name: workspaceName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- name: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- cliKey: workspaceName
- name: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _workspace(Workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: Workspace
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - parameterName[0]: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- name: applicationGroupReferences
- - operationName: delete
- cli:
- cliKey: Delete
- name: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- cliKey: workspaceName
- name: workspaceName
- - operationName: update
- cli:
- cliKey: Update
- name: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- cliKey: workspaceName
- name: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: WorkspacePatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - parameterName[0]: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- name: applicationGroupReferences
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- name: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - operationName: list_by_subscription
- cli:
- cliKey: ListBySubscription
- name: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - operationGroupName: ApplicationGroupAssignment
- cli:
- cliKey: ApplicationGroupAssignments
- hidden: true
- operations:
- - operationName: workspace_level_list
- cli:
- cliKey: WorkspaceLevelList
- name: WorkspaceLevelList
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- cliKey: workspaceName
- name: workspaceName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroup
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: get
- cli:
- cliKey: Get
- name: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- name: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _application_group(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroup
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - parameterName[0]: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- cliKey: hostPoolArmPath
- name: hostPoolArmPath
- - parameterName[0]: application_group_type(ApplicationGroupType^choice)
- cli:
- cliKey: applicationGroupType
- name: applicationGroupType
- - operationName: delete
- cli:
- cliKey: Delete
- name: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - operationName: update
- cli:
- cliKey: Update
- name: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _application_group(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroupPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- name: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: list_by_subscription
- cli:
- cliKey: ListBySubscription
- name: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItem
- cli:
- cliKey: StartMenuItems
- hidden: true
- operations:
- - operationName: list
- cli:
- cliKey: List
- name: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - operationGroupName: Application
- cli:
- cliKey: Applications
- hidden: true
- operations:
- - operationName: get
- cli:
- cliKey: Get
- name: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- cliKey: applicationName
- name: applicationName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- name: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- cliKey: applicationName
- name: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _application(Application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: Application
- - parameterName[0]: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - parameterName[0]: file_path(ApplicationPropertiesFilePath^string)
- cli:
- cliKey: filePath
- name: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- name: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- name: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- name: showInPortal
- - parameterName[0]: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- cliKey: iconPath
- name: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- cliKey: iconIndex
- name: iconIndex
- - operationName: delete
- cli:
- cliKey: Delete
- name: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- cliKey: applicationName
- name: applicationName
- - operationName: update
- cli:
- cliKey: Update
- name: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- cliKey: applicationName
- name: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _application(ApplicationPatch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: ApplicationPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - parameterName[0]: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- cliKey: filePath
- name: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- name: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- name: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- name: showInPortal
- - parameterName[0]: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- cliKey: iconPath
- name: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- cliKey: iconIndex
- name: iconIndex
- - operationName: list
- cli:
- cliKey: List
- name: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - operationGroupName: Desktop
- cli:
- cliKey: Desktops
- hidden: true
- operations:
- - operationName: get
- cli:
- cliKey: Get
- name: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- cliKey: desktopName
- name: desktopName
- - operationName: update
- cli:
- cliKey: Update
- name: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- cliKey: desktopName
- name: desktopName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: DesktopPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - operationName: list
- cli:
- cliKey: List
- name: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- cliKey: applicationGroupName
- name: applicationGroupName
- - operationGroupName: HostPool
- cli:
- cliKey: HostPools
- operations:
- - operationName: get
- cli:
- cliKey: Get
- name: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - operationName: create_or_update
- cli:
- cliKey: CreateOrUpdate
- name: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _host_pool(HostPool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPool
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - parameterName[0]: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: host_pool_type(HostPoolType^choice)
- cli:
- cliKey: hostPoolType
- name: hostPoolType
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- name: personalDesktopAssignmentType
- - parameterName[0]: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- name: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- cliKey: maxSessionLimit
- name: maxSessionLimit
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- name: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- name: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfo^object)
- cli:
- cliKey: registrationInfo
- name: registrationInfo
- - parameterName[0]: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- cliKey: vmTemplate
- name: vmTemplate
- - parameterName[0]: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- cliKey: ssoContext
- name: ssoContext
- - operationName: delete
- cli:
- cliKey: Delete
- name: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- cliKey: Update
- name: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _host_pool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPoolPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - parameterName[0]: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- name: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- cliKey: maxSessionLimit
- name: maxSessionLimit
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- name: personalDesktopAssignmentType
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- name: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- name: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfoPatch^object)
- cli:
- cliKey: registrationInfo
- name: registrationInfo
- - parameterName[0]: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- cliKey: ssoContext
- name: ssoContext
- - operationName: list_by_resource_group
- cli:
- cliKey: ListByResourceGroup
- name: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - operationName: list
- cli:
- cliKey: List
- name: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - operationGroupName: UserSession
- cli:
- cliKey: UserSessions
- hidden: true
- operations:
- - operationName: list_by_host_pool
- cli:
- cliKey: ListByHostPool
- name: ListByHostPool
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: get
- cli:
- cliKey: Get
- name: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- cliKey: userSessionId
- name: userSessionId
- - operationName: delete
- cli:
- cliKey: Delete
- name: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- cliKey: userSessionId
- name: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: list
- cli:
- cliKey: List
- name: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - operationName: disconnect
- cli:
- cliKey: Disconnect
- name: Disconnect
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- cliKey: userSessionId
- name: userSessionId
- - operationName: send_message
- cli:
- cliKey: SendMessage
- name: SendMessage
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- cliKey: userSessionId
- name: userSessionId
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _send_message(SendMessage^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: SendMessage
- - parameterName[0]: message_title(SendMessageTitle^string)
- cli:
- cliKey: messageTitle
- name: messageTitle
- - parameterName[0]: message_body(SendMessageBody^string)
- cli:
- cliKey: messageBody
- name: messageBody
- - operationGroupName: SessionHost
- cli:
- cliKey: SessionHosts
- hidden: true
- operations:
- - operationName: get
- cli:
- cliKey: Get
- name: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - operationName: delete
- cli:
- cliKey: Delete
- name: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- cliKey: Update
- name: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- cliKey: content-type
- name: ContentType
- - parameterName[0]: _session_host(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: SessionHostPatch
- - parameterName[0]: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- name: allowNewSession
- - parameterName[0]: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- cliKey: assignedUser
- name: assignedUser
- - operationName: list
- cli:
- cliKey: List
- name: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - operationGroupName: ActiveApplication
- cli:
- cliKey: ActiveApplications
- hidden: true
- operations:
- - operationName: list_by_session_host
- cli:
- cliKey: ListBySessionHost
- name: ListBySessionHost
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- cliKey: ApiVersion
- name: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- cliKey: subscriptionId
- name: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- cliKey: resourceGroupName
- name: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- cliKey: hostPoolName
- name: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- cliKey: sessionHostName
- name: sessionHostName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationListValue^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperationName^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperationDisplay^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperationDisplay
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperationDisplayProvider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperationDisplayResource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperationDisplayOperation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperationDisplayDescription^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(ResourceId^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(ResourceName^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(ResourceType^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- name: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(CloudErrorCode^string)
- cli:
- cliKey: code
- - propertyName: message(CloudErrorMessage^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- name: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(WorkspaceListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationGroupListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- cliKey: hostPoolArmPath
- name: hostPoolArmPath
- - propertyName: workspace_arm_path(ApplicationGroupPropertiesWorkspaceArmPath^string)
- cli:
- cliKey: workspaceArmPath
- name: workspaceArmPath
- readOnly: true
- - propertyName: application_group_type(ApplicationGroupType^choice)
- cli:
- cliKey: applicationGroupType
- name: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(StartMenuItemListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: app_alias(StartMenuItemPropertiesAppAlias^string)
- cli:
- cliKey: appAlias
- name: appAlias
- - propertyName: friendly_name(StartMenuItemPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: file_path(StartMenuItemPropertiesFilePath^string)
- cli:
- cliKey: filePath
- name: filePath
- - propertyName: command_line_arguments(StartMenuItemPropertiesCommandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- name: commandLineArguments
- - propertyName: icon_path(StartMenuItemPropertiesIconPath^string)
- cli:
- cliKey: iconPath
- name: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- cliKey: iconIndex
- name: iconIndex
- - schemaName: Application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: file_path(ApplicationPropertiesFilePath^string)
- cli:
- cliKey: filePath
- name: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- name: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- name: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- name: showInPortal
- - propertyName: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- cliKey: iconPath
- name: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- cliKey: iconIndex
- name: iconIndex
- - propertyName: icon_hash(ApplicationPropertiesIconHash^string)
- cli:
- cliKey: iconHash
- name: iconHash
- readOnly: true
- - propertyName: icon_content(application_properties_icon_content^byte-array)
- cli:
- cliKey: iconContent
- name: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- cliKey: filePath
- name: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- cliKey: commandLineSetting
- name: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- cliKey: commandLineArguments
- name: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- cliKey: showInPortal
- name: showInPortal
- - propertyName: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- cliKey: iconPath
- name: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- cliKey: iconIndex
- name: iconIndex
- - schemaName: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: description(DesktopPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: icon_hash(DesktopPropertiesIconHash^string)
- cli:
- cliKey: iconHash
- name: iconHash
- readOnly: true
- - propertyName: icon_content(desktop_properties_icon_content^byte-array)
- cli:
- cliKey: iconContent
- name: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - schemaName: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(DesktopListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: host_pool_type(HostPoolType^choice)
- cli:
- cliKey: hostPoolType
- name: hostPoolType
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- name: personalDesktopAssignmentType
- - propertyName: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- name: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- cliKey: maxSessionLimit
- name: maxSessionLimit
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- name: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- name: validationEnvironment
- - propertyName: registration_info(RegistrationInfo^object)
- cli:
- cliKey: registrationInfo
- name: registrationInfo
- - propertyName: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- cliKey: vmTemplate
- name: vmTemplate
- - propertyName: application_group_references(HostPoolPropertiesApplicationGroupReferences^array)
- cli:
- cliKey: applicationGroupReferences
- name: applicationGroupReferences
- readOnly: true
- - propertyName: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- cliKey: ssoContext
- name: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expiration_time(registration_info_expiration_time^date-time)
- cli:
- cliKey: expirationTime
- name: expirationTime
- - propertyName: token(RegistrationInfoToken^string)
- cli:
- cliKey: token
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- name: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- cliKey: friendlyName
- name: friendlyName
- - propertyName: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- cliKey: customRdpProperty
- name: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- cliKey: maxSessionLimit
- name: maxSessionLimit
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- cliKey: personalDesktopAssignmentType
- name: personalDesktopAssignmentType
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- cliKey: loadBalancerType
- name: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- cliKey: validationEnvironment
- name: validationEnvironment
- - propertyName: registration_info(RegistrationInfoPatch^object)
- cli:
- cliKey: registrationInfo
- name: registrationInfo
- - propertyName: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- cliKey: ssoContext
- name: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- cliKey: registrationTokenOperation
- name: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(HostPoolListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(UserSessionListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: user_principal_name(UserSessionPropertiesUserPrincipalName^string)
- cli:
- cliKey: userPrincipalName
- name: userPrincipalName
- - propertyName: application_type(ApplicationType^choice)
- cli:
- cliKey: applicationType
- name: applicationType
- - propertyName: session_state(SessionState^choice)
- cli:
- cliKey: sessionState
- name: sessionState
- - propertyName: active_directory_user_name(UserSessionPropertiesActiveDirectoryUserName^string)
- cli:
- cliKey: activeDirectoryUserName
- name: activeDirectoryUserName
- - propertyName: create_time(user_session_properties_create_time^date-time)
- cli:
- cliKey: createTime
- name: createTime
- - schemaName: SessionHost
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: last_heart_beat(session_host_properties_last_heart_beat^date-time)
- cli:
- cliKey: lastHeartBeat
- name: lastHeartBeat
- - propertyName: sessions(Integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agent_version(SessionHostPropertiesAgentVersion^string)
- cli:
- cliKey: agentVersion
- name: agentVersion
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- name: allowNewSession
- - propertyName: assigned_user(SessionHostPropertiesAssignedUser^string)
- cli:
- cliKey: assignedUser
- name: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: status_timestamp(session_host_properties_status_timestamp^date-time)
- cli:
- cliKey: statusTimestamp
- name: statusTimestamp
- readOnly: true
- - propertyName: os_version(SessionHostPropertiesOsVersion^string)
- cli:
- cliKey: osVersion
- name: osVersion
- - propertyName: sx_s_stack_version(SessionHostPropertiesSxSStackVersion^string)
- cli:
- cliKey: sxSStackVersion
- name: sxSStackVersion
- - propertyName: update_state(UpdateState^choice)
- cli:
- cliKey: updateState
- name: updateState
- - propertyName: last_update_time(session_host_properties_last_update_time^date-time)
- cli:
- cliKey: lastUpdateTime
- name: lastUpdateTime
- readOnly: true
- - propertyName: update_error_message(SessionHostPropertiesUpdateErrorMessage^string)
- cli:
- cliKey: updateErrorMessage
- name: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- cliKey: allowNewSession
- name: allowNewSession
- - propertyName: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- cliKey: assignedUser
- name: assignedUser
- - schemaName: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(SessionHostListNextLink^string)
- cli:
- cliKey: nextLink
- name: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: message_title(SendMessageTitle^string)
- cli:
- cliKey: messageTitle
- name: messageTitle
- - propertyName: message_body(SendMessageBody^string)
- cli:
- cliKey: messageBody
- name: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: remote_app
- cli:
- cliKey: RemoteApp
- name: RemoteApp
- - choiceValue: desktop
- cli:
- cliKey: Desktop
- name: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: do_not_allow
- cli:
- cliKey: DoNotAllow
- name: DoNotAllow
- - choiceValue: allow
- cli:
- cliKey: Allow
- name: Allow
- - choiceValue: require
- cli:
- cliKey: Require
- name: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: personal
- cli:
- cliKey: Personal
- name: Personal
- - choiceValue: pooled
- cli:
- cliKey: Pooled
- name: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: automatic
- cli:
- cliKey: Automatic
- name: Automatic
- - choiceValue: direct
- cli:
- cliKey: Direct
- name: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: breadth_first
- cli:
- cliKey: BreadthFirst
- name: BreadthFirst
- - choiceValue: depth_first
- cli:
- cliKey: DepthFirst
- name: DepthFirst
- - choiceValue: persistent
- cli:
- cliKey: Persistent
- name: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: delete
- cli:
- cliKey: Delete
- name: Delete
- - choiceValue: none
- cli:
- cliKey: None
- name: None
- - choiceValue: update
- cli:
- cliKey: Update
- name: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: remote_app
- cli:
- cliKey: RemoteApp
- name: RemoteApp
- - choiceValue: desktop
- cli:
- cliKey: Desktop
- name: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: unknown
- cli:
- cliKey: Unknown
- name: Unknown
- - choiceValue: active
- cli:
- cliKey: Active
- name: Active
- - choiceValue: disconnected
- cli:
- cliKey: Disconnected
- name: Disconnected
- - choiceValue: pending
- cli:
- cliKey: Pending
- name: Pending
- - choiceValue: log_off
- cli:
- cliKey: LogOff
- name: LogOff
- - choiceValue: user_profile_disk_mounted
- cli:
- cliKey: UserProfileDiskMounted
- name: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: available
- cli:
- cliKey: Available
- name: Available
- - choiceValue: unavailable
- cli:
- cliKey: Unavailable
- name: Unavailable
- - choiceValue: shutdown
- cli:
- cliKey: Shutdown
- name: Shutdown
- - choiceValue: disconnected
- cli:
- cliKey: Disconnected
- name: Disconnected
- - choiceValue: upgrading
- cli:
- cliKey: Upgrading
- name: Upgrading
- - choiceValue: upgrade_failed
- cli:
- cliKey: UpgradeFailed
- name: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: initial
- cli:
- cliKey: Initial
- name: Initial
- - choiceValue: pending
- cli:
- cliKey: Pending
- name: Pending
- - choiceValue: started
- cli:
- cliKey: Started
- name: Started
- - choiceValue: succeeded
- cli:
- cliKey: Succeeded
- name: Succeeded
- - choiceValue: failed
- cli:
- cliKey: Failed
- name: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000090-namer-post.yaml b/src/desktopvirtualization/_az_debug/clicommon-000090-namer-post.yaml
deleted file mode 100644
index db46b90e4ae..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000090-namer-post.yaml
+++ /dev/null
@@ -1,11138 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 90
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_356
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Index of the icon.
- cli:
- name: Integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The max session limit of HostPool.
- cli:
- name: Integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The ring number of HostPool.
- cli:
- name: Integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Number of sessions on SessionHost.
- cli:
- name: Integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: String
- description: simple string
- cli:
- name: String
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- cli:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- cli:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_136
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_137
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceName
- description: The name of the resource
- cli:
- name: ResourceName
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- cli:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_94
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorCode
- description: Error code
- cli:
- name: CloudErrorCode
- description: Error code
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- cli:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- cli:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_180
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_100
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- cli:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- cli:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_103
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_104
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_106
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_107
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopListNextLink
- description: Link to the next page of results.
- cli:
- name: DesktopListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- cli:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_113
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- cli:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- cli:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- cli:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- cli:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_402
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- cli:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- cli:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- cli:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_115
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- cli:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_403
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageTitle
- description: Title of message.
- cli:
- name: SendMessageTitle
- description: Title of message.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageBody
- description: Body of message.
- cli:
- name: SendMessageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: do_not_allow
- description: ''
- cli:
- name: DoNotAllow
- description: ''
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: allow
- description: ''
- cli:
- name: Allow
- description: ''
- cliKey: Allow
- - value: Require
- language:
- default:
- name: require
- description: ''
- cli:
- name: Require
- description: ''
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- name: 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.'
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: personal
- description: ''
- cli:
- name: Personal
- description: ''
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: pooled
- description: ''
- cli:
- name: Pooled
- description: ''
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- name: HostPoolType
- description: HostPool type for desktop.
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: automatic
- description: ''
- cli:
- name: Automatic
- description: ''
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: direct
- description: ''
- cli:
- name: Direct
- description: ''
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: breadth_first
- description: ''
- cli:
- name: BreadthFirst
- description: ''
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: depth_first
- description: ''
- cli:
- name: DepthFirst
- description: ''
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: persistent
- description: ''
- cli:
- name: Persistent
- description: ''
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- name: LoadBalancerType
- description: The type of the load balancer.
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: delete
- description: ''
- cli:
- name: Delete
- description: ''
- cliKey: Delete
- - value: None
- language:
- default:
- name: none
- description: ''
- cli:
- name: None
- description: ''
- cliKey: None
- - value: Update
- language:
- default:
- name: update
- description: ''
- cli:
- name: Update
- description: ''
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- name: ApplicationType
- description: Application type of application.
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: unknown
- description: ''
- cli:
- name: Unknown
- description: ''
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: active
- description: ''
- cli:
- name: Active
- description: ''
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: log_off
- description: ''
- cli:
- name: LogOff
- description: ''
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: user_profile_disk_mounted
- description: ''
- cli:
- name: UserProfileDiskMounted
- description: ''
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- name: SessionState
- description: State of user session.
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: available
- description: ''
- cli:
- name: Available
- description: ''
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: unavailable
- description: ''
- cli:
- name: Unavailable
- description: ''
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: shutdown
- description: ''
- cli:
- name: Shutdown
- description: ''
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: upgrading
- description: ''
- cli:
- name: Upgrading
- description: ''
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: upgrade_failed
- description: ''
- cli:
- name: UpgradeFailed
- description: ''
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- name: Status
- description: Status for a SessionHost.
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: initial
- description: ''
- cli:
- name: Initial
- description: ''
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: Started
- language:
- default:
- name: started
- description: ''
- cli:
- name: Started
- description: ''
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: succeeded
- description: ''
- cli:
- name: Succeeded
- description: ''
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: failed
- description: ''
- cli:
- name: Failed
- description: ''
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- name: UpdateState
- description: Update state of a SessionHost.
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_131
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: api_version2019_12_10_preview
- description: Api Version (2019-12-10-preview)
- cli:
- name: ApiVersion20191210Preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_141
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application_json
- description: Content Type 'application/json'
- cli:
- name: ApplicationJson
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResourceTags
- description: Resource tags.
- cli:
- name: TrackedResourceTags
- description: Resource tags.
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_content
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_content
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_expiration_time
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_create_time
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_heart_beat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_status_timestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_update_time
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_134
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_118
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- name: resource
- description: Resource on which the operation is performed.
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- name: description
- description: Description of this operation.
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- name: display
- description: Display metadata associated with the operation.
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- name: value
- description: List of operations supported by this resource provider.
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_147
- schema: *ref_11
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_148
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_149
- schema: *ref_12
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_150
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_151
- schema: &ref_119
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: &ref_152
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- name: Workspace
- description: Represents a Workspace definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_188
- schema: *ref_14
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_189
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_190
- schema: *ref_15
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_191
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- - &ref_192
- schema: *ref_16
- flattenedNames:
- - properties
- - hostPoolArmPath
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: &ref_193
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- flattenedNames:
- - properties
- - workspaceArmPath
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cliKey: workspaceArmPath
- protocol: {}
- - &ref_194
- schema: *ref_18
- flattenedNames:
- - properties
- - applicationGroupType
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: &ref_195
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_316
- schema: *ref_19
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_317
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_318
- schema: *ref_20
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_319
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_320
- schema: *ref_21
- flattenedNames:
- - properties
- - hostPoolType
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: &ref_321
- name: hostPoolType
- description: HostPool type for desktop.
- cliKey: hostPoolType
- protocol: {}
- - &ref_322
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_323
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_324
- schema: *ref_23
- flattenedNames:
- - properties
- - customRdpProperty
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_325
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_326
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_327
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_328
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_329
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_330
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_331
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_332
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_333
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_334
- schema: &ref_111
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expiration_time
- description: Expiration time of registration token.
- cli:
- name: expirationTime
- description: Expiration time of registration token.
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- name: token
- description: The registration token base64 encoded string.
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_335
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_336
- schema: *ref_31
- flattenedNames:
- - properties
- - vmTemplate
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: &ref_337
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_126
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- - &ref_338
- schema: *ref_33
- flattenedNames:
- - properties
- - ssoContext
- required: false
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_339
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- name: HostPool
- description: Represents a HostPool definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_143
- schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli: &ref_144
- name: tags
- description: Resource tags.
- cliKey: tags
- protocol: {}
- - &ref_145
- schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: &ref_146
- name: location
- description: The geo-location where the resource lives
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_207
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_208
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_209
- schema: *ref_40
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_210
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_211
- schema: *ref_41
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_212
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_42
- flattenedNames:
- - properties
- - appAlias
- serializedName: appAlias
- language:
- default:
- name: app_alias
- description: Alias of StartMenuItem.
- cli:
- name: appAlias
- description: Alias of StartMenuItem.
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of StartMenuItem.
- cli:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Path to the file of StartMenuItem.
- cli:
- name: filePath
- description: Path to the file of StartMenuItem.
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to the icon.
- cli:
- name: iconPath
- description: Path to the icon.
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli:
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_228
- schema: *ref_48
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_229
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_230
- schema: *ref_49
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_231
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_232
- schema: *ref_50
- flattenedNames:
- - properties
- - filePath
- required: false
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_233
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_234
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_235
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_236
- schema: *ref_52
- flattenedNames:
- - properties
- - commandLineArguments
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_237
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_238
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- required: false
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_239
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_240
- schema: *ref_54
- flattenedNames:
- - properties
- - iconPath
- required: false
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_241
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_242
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- required: false
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_243
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: the icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- name: Application
- description: Schema for Application properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_57
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - schema: *ref_58
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli:
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: The icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- name: Desktop
- description: Schema for Desktop properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_361
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_362
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_363
- schema: *ref_61
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_364
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_365
- schema: *ref_62
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_366
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_367
- schema: *ref_63
- flattenedNames:
- - properties
- - customRdpProperty
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_368
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_369
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_370
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_371
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_372
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_373
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_374
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_375
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_376
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_377
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_378
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_379
- schema: &ref_112
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_380
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_381
- schema: *ref_64
- flattenedNames:
- - properties
- - ssoContext
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_382
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_65
- flattenedNames:
- - properties
- - userPrincipalName
- serializedName: userPrincipalName
- language:
- default:
- name: user_principal_name
- description: The user principal name.
- cli:
- name: userPrincipalName
- description: The user principal name.
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- flattenedNames:
- - properties
- - applicationType
- serializedName: applicationType
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- name: applicationType
- description: Application type of application.
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- flattenedNames:
- - properties
- - sessionState
- serializedName: sessionState
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- name: sessionState
- description: State of user session.
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- flattenedNames:
- - properties
- - activeDirectoryUserName
- serializedName: activeDirectoryUserName
- language:
- default:
- name: active_directory_user_name
- description: The active directory user name.
- cli:
- name: activeDirectoryUserName
- description: The active directory user name.
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- flattenedNames:
- - properties
- - createTime
- serializedName: createTime
- language:
- default:
- name: create_time
- description: The timestamp of the user session create.
- cli:
- name: createTime
- description: The timestamp of the user session create.
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- name: UserSession
- description: Represents a UserSession definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_70
- flattenedNames:
- - properties
- - lastHeartBeat
- serializedName: lastHeartBeat
- language:
- default:
- name: last_heart_beat
- description: Last heart beat from SessionHost.
- cli:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- flattenedNames:
- - properties
- - sessions
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- name: sessions
- description: Number of sessions on SessionHost.
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- flattenedNames:
- - properties
- - agentVersion
- serializedName: agentVersion
- language:
- default:
- name: agent_version
- description: Version of agent on SessionHost.
- cli:
- name: agentVersion
- description: Version of agent on SessionHost.
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli:
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli:
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- flattenedNames:
- - properties
- - status
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- name: status
- description: Status for a SessionHost.
- cliKey: status
- protocol: {}
- - schema: *ref_76
- flattenedNames:
- - properties
- - statusTimestamp
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: status_timestamp
- description: The timestamp of the status.
- cli:
- name: statusTimestamp
- description: The timestamp of the status.
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- flattenedNames:
- - properties
- - osVersion
- serializedName: osVersion
- language:
- default:
- name: os_version
- description: The version of the OS on the session host.
- cli:
- name: osVersion
- description: The version of the OS on the session host.
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- flattenedNames:
- - properties
- - sxSStackVersion
- serializedName: sxSStackVersion
- language:
- default:
- name: sx_s_stack_version
- description: The version of the side by side stack on the session host.
- cli:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- flattenedNames:
- - properties
- - updateState
- serializedName: updateState
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- name: updateState
- description: Update state of a SessionHost.
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- flattenedNames:
- - properties
- - lastUpdateTime
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: last_update_time
- description: The timestamp of the last update.
- cli:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- flattenedNames:
- - properties
- - updateErrorMessage
- serializedName: updateErrorMessage
- language:
- default:
- name: update_error_message
- description: The error message.
- cli:
- name: updateErrorMessage
- description: The error message.
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- name: SessionHost
- description: Represents a SessionHost definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_440
- schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: &ref_441
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - &ref_442
- schema: *ref_82
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: &ref_443
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- name: name
- description: The name of the resource
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- name: Resource
- description: ''
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - &ref_140
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_94
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- name: code
- description: Error code
- cliKey: code
- protocol: {}
- - schema: *ref_95
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- name: message
- description: Error message indicating why the operation failed.
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- name: CloudError
- description: Error response of an operation failure
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_162
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_164
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_165
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_166
- schema: *ref_96
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_167
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_168
- schema: *ref_97
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_169
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_170
- schema: &ref_120
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_98
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: &ref_171
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - &ref_179
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_121
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- name: value
- description: List of Workspace definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_99
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- name: WorkspaceList
- description: List of Workspace definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_184
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_122
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- name: value
- description: List of ApplicationGroup definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_100
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_83
- - &ref_223
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_123
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- name: value
- description: List of StartMenuItem definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_85
- - &ref_258
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_260
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_261
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_262
- schema: *ref_102
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_263
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_264
- schema: *ref_103
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_265
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_266
- schema: *ref_104
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_267
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_268
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_269
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_270
- schema: *ref_105
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_271
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_272
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_273
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_274
- schema: *ref_106
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_275
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_276
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_277
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationPatch
- description: Application properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - &ref_292
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_124
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationListValue
- description: List of Application definitions.
- cli:
- name: ApplicationListValue
- description: List of Application definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- name: value
- description: List of Application definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_107
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- name: ApplicationList
- description: List of Application definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - &ref_296
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_298
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_299
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_300
- schema: *ref_108
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: &ref_301
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - &ref_302
- schema: *ref_109
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: &ref_303
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - &ref_312
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_125
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- name: value
- description: List of Desktop definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_110
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- name: DesktopList
- description: List of Desktop definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_111
- - *ref_87
- - *ref_112
- - &ref_397
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_127
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- name: value
- description: List of HostPool definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_113
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- name: HostPoolList
- description: List of HostPool definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_401
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_128
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- name: value
- description: List of UserSession definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- name: UserSessionList
- description: List of UserSession definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_89
- - *ref_90
- - &ref_451
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_129
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- name: value
- description: List of SessionHost definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_115
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- name: SessionHostList
- description: List of SessionHost definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_420
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_422
- schema: *ref_116
- serializedName: messageTitle
- language:
- default:
- name: message_title
- description: Title of message.
- cli: &ref_423
- name: messageTitle
- description: Title of message.
- cliKey: messageTitle
- protocol: {}
- - &ref_424
- schema: *ref_117
- serializedName: messageBody
- language:
- default:
- name: message_body
- description: Body of message.
- cli: &ref_425
- name: messageBody
- description: Body of message.
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- name: SendMessage
- description: Represents message sent to a UserSession.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_118
- - *ref_119
- - *ref_120
- - *ref_121
- - *ref_122
- - *ref_123
- - *ref_124
- - *ref_125
- - *ref_126
- - *ref_127
- - *ref_128
- - *ref_129
-globalParameters:
- - &ref_135
- schema: *ref_130
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscription_id
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- name: subscriptionId
- description: The ID of the target subscription.
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_132
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- name: $host
- description: server parameter
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_133
- schema: *ref_131
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: api_version
- description: Api Version
- serializedName: api-version
- cli:
- name: ApiVersion
- description: Api Version
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_134
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: list
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cliKey: List
- hidden: true
- protocol: {}
- language:
- default:
- name: Operation
- description: ''
- cli:
- name: Operation
- description: ''
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_138
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_139
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_138
- - *ref_139
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a workspace.
- cli:
- name: Get
- description: Get a workspace.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_158
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_159
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_142
- schema: *ref_34
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_153
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_154
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_155
- schema: *ref_11
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_147
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_148
- protocol: {}
- - &ref_156
- schema: *ref_12
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_149
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_150
- protocol: {}
- - &ref_157
- schema: *ref_119
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_151
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: *ref_152
- protocol: {}
- signatureParameters:
- - *ref_153
- - *ref_154
- - *ref_155
- - *ref_156
- - *ref_157
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_158
- - *ref_159
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a workspace.
- cli:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_160
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_161
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_160
- - *ref_161
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a workspace.
- cli:
- name: Delete
- description: Remove a workspace.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_176
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_177
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_163
- schema: *ref_162
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_172
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_164
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_165
- protocol: {}
- - &ref_173
- schema: *ref_96
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_166
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_167
- protocol: {}
- - &ref_174
- schema: *ref_97
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_168
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_169
- protocol: {}
- - &ref_175
- schema: *ref_120
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_170
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: *ref_171
- protocol: {}
- signatureParameters:
- - *ref_172
- - *ref_173
- - *ref_174
- - *ref_175
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_176
- - *ref_177
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a workspace.
- cli:
- name: Update
- description: Update a workspace.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_178
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_178
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List workspaces.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List workspaces in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspace
- description: ''
- cli:
- name: Workspace
- description: ''
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_181
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_182
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_181
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: workspace_level_list
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- name: WorkspaceLevelList
- description: List application group that user can use.
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignment
- description: ''
- cli:
- name: ApplicationGroupAssignment
- description: ''
- cliKey: ApplicationGroupAssignments
- hidden: true
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_185
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get an application group.
- cli:
- name: Get
- description: Get an application group.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_202
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_203
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_187
- schema: *ref_35
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_196
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_197
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_198
- schema: *ref_14
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_188
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_189
- protocol: {}
- - &ref_199
- schema: *ref_15
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_190
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_191
- protocol: {}
- - &ref_200
- schema: *ref_16
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_192
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: *ref_193
- protocol: {}
- - &ref_201
- schema: *ref_18
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_194
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: *ref_195
- protocol: {}
- signatureParameters:
- - *ref_196
- - *ref_197
- - *ref_198
- - *ref_199
- - *ref_200
- - *ref_201
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_202
- - *ref_203
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update an applicationGroup.
- cli:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_204
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_205
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_204
- - *ref_205
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove an applicationGroup.
- cli:
- name: Delete
- description: Remove an applicationGroup.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_216
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_217
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_206
- schema: *ref_83
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_213
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_207
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_208
- protocol: {}
- - &ref_214
- schema: *ref_40
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_209
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_210
- protocol: {}
- - &ref_215
- schema: *ref_41
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_211
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_212
- protocol: {}
- signatureParameters:
- - *ref_213
- - *ref_214
- - *ref_215
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_216
- - *ref_217
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update an applicationGroup.
- cli:
- name: Update
- description: Update an applicationGroup.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_218
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_219
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_218
- - *ref_219
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List applicationGroups.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_220
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroup
- description: ''
- cli:
- name: ApplicationGroup
- description: ''
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_221
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_222
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_221
- - *ref_222
- responses:
- - schema: *ref_223
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List start menu items in the given application group.
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItem
- description: ''
- cli:
- name: StartMenuItem
- description: ''
- cliKey: StartMenuItems
- hidden: true
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_224
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_226
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_224
- - *ref_225
- - *ref_226
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: get
- description: Get an application.
- cli:
- name: Get
- description: Get an application.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_252
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_253
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_254
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_227
- schema: *ref_85
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_244
- schema: *ref_48
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_228
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_229
- protocol: {}
- - &ref_245
- schema: *ref_49
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_230
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_231
- protocol: {}
- - &ref_246
- schema: *ref_50
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_232
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_233
- protocol: {}
- - &ref_247
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: true
- targetProperty: *ref_234
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_235
- protocol: {}
- - &ref_248
- schema: *ref_52
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_236
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_237
- protocol: {}
- - &ref_249
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_238
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_239
- protocol: {}
- - &ref_250
- schema: *ref_54
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_240
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_241
- protocol: {}
- - &ref_251
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_242
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_243
- protocol: {}
- signatureParameters:
- - *ref_244
- - *ref_245
- - *ref_246
- - *ref_247
- - *ref_248
- - *ref_249
- - *ref_250
- - *ref_251
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_252
- - *ref_253
- - *ref_254
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: create_or_update
- description: Create or update an application.
- cli:
- name: CreateOrUpdate
- description: Create or update an application.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_255
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: delete
- description: Remove an application.
- cli:
- name: Delete
- description: Remove an application.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_287
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_288
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_289
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_259
- schema: *ref_258
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_278
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_260
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_261
- protocol: {}
- - &ref_279
- schema: *ref_102
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_262
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_263
- protocol: {}
- - &ref_280
- schema: *ref_103
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_264
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_265
- protocol: {}
- - &ref_281
- schema: *ref_104
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_266
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_267
- protocol: {}
- - &ref_282
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_268
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_269
- protocol: {}
- - &ref_283
- schema: *ref_105
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_270
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_271
- protocol: {}
- - &ref_284
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_272
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_273
- protocol: {}
- - &ref_285
- schema: *ref_106
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_274
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_275
- protocol: {}
- - &ref_286
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_276
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_277
- protocol: {}
- signatureParameters:
- - *ref_278
- - *ref_279
- - *ref_280
- - *ref_281
- - *ref_282
- - *ref_283
- - *ref_284
- - *ref_285
- - *ref_286
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_287
- - *ref_288
- - *ref_289
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: update
- description: Update an application.
- cli:
- name: Update
- description: Update an application.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_290
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_291
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_290
- - *ref_291
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List applications.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Application
- description: ''
- cli:
- name: Application
- description: ''
- cliKey: Applications
- hidden: true
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_293
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_294
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_295
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_293
- - *ref_294
- - *ref_295
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: get
- description: Get a desktop.
- cli:
- name: Get
- description: Get a desktop.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_307
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_308
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_309
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_297
- schema: *ref_296
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _desktop
- description: Object containing Desktop definitions.
- cli:
- name: _desktop
- description: Object containing Desktop definitions.
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- - &ref_304
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_298
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_299
- protocol: {}
- - &ref_305
- schema: *ref_108
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_300
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: *ref_301
- protocol: {}
- - &ref_306
- schema: *ref_109
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_302
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: *ref_303
- protocol: {}
- signatureParameters:
- - *ref_304
- - *ref_305
- - *ref_306
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_307
- - *ref_308
- - *ref_309
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: update
- description: Update a desktop.
- cli:
- name: Update
- description: Update a desktop.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_310
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_311
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_310
- - *ref_311
- responses:
- - schema: *ref_312
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: list
- description: List desktops.
- cli:
- name: List
- description: List desktops.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktops
- hidden: true
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_313
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_314
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_313
- - *ref_314
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a host pool.
- cli:
- name: Get
- description: Get a host pool.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_354
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_355
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_315
- schema: *ref_36
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_340
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_341
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_342
- schema: *ref_19
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_316
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_317
- protocol: {}
- - &ref_343
- schema: *ref_20
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_318
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_319
- protocol: {}
- - &ref_344
- schema: *ref_21
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_320
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: *ref_321
- protocol: {}
- - &ref_345
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_322
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_323
- protocol: {}
- - &ref_346
- schema: *ref_23
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_324
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_325
- protocol: {}
- - &ref_347
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_326
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_327
- protocol: {}
- - &ref_348
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_328
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_329
- protocol: {}
- - &ref_349
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_330
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_331
- protocol: {}
- - &ref_350
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_332
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_333
- protocol: {}
- - &ref_351
- schema: *ref_111
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_334
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_335
- protocol: {}
- - &ref_352
- schema: *ref_31
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_336
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: *ref_337
- protocol: {}
- - &ref_353
- schema: *ref_33
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_338
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_339
- protocol: {}
- signatureParameters:
- - *ref_340
- - *ref_341
- - *ref_342
- - *ref_343
- - *ref_344
- - *ref_345
- - *ref_346
- - *ref_347
- - *ref_348
- - *ref_349
- - *ref_350
- - *ref_351
- - *ref_352
- - *ref_353
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_354
- - *ref_355
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a host pool.
- cli:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_357
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_358
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_359
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- name: force
- description: Force flag to delete sessionHost.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_357
- - *ref_358
- - *ref_359
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a host pool.
- cli:
- name: Delete
- description: Remove a host pool.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_394
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_395
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_360
- schema: *ref_87
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_383
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_361
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_362
- protocol: {}
- - &ref_384
- schema: *ref_61
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_363
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_364
- protocol: {}
- - &ref_385
- schema: *ref_62
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_365
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_366
- protocol: {}
- - &ref_386
- schema: *ref_63
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_367
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_368
- protocol: {}
- - &ref_387
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_369
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_370
- protocol: {}
- - &ref_388
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_371
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_372
- protocol: {}
- - &ref_389
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_373
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_374
- protocol: {}
- - &ref_390
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_375
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_376
- protocol: {}
- - &ref_391
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_377
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_378
- protocol: {}
- - &ref_392
- schema: *ref_112
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_379
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_380
- protocol: {}
- - &ref_393
- schema: *ref_64
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_381
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_382
- protocol: {}
- signatureParameters:
- - *ref_383
- - *ref_384
- - *ref_385
- - *ref_386
- - *ref_387
- - *ref_388
- - *ref_389
- - *ref_390
- - *ref_391
- - *ref_392
- - *ref_393
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_394
- - *ref_395
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a host pool.
- cli:
- name: Update
- description: Update a host pool.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_396
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_396
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List hostPools.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List hostPools in subscription.
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPool
- description: ''
- cli:
- name: HostPool
- description: ''
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_398
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_399
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_400
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_398
- - *ref_399
- - *ref_400
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_host_pool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByHostPool
- description: List userSessions.
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_404
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_405
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_406
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_407
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_404
- - *ref_405
- - *ref_406
- - *ref_407
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: get
- description: Get a userSession.
- cli:
- name: Get
- description: Get a userSession.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_408
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_409
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_410
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_411
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_412
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- name: force
- description: Force flag to login off userSession.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_408
- - *ref_409
- - *ref_410
- - *ref_411
- - *ref_412
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: delete
- description: Remove a userSession.
- cli:
- name: Delete
- description: Remove a userSession.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_413
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_414
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_415
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_413
- - *ref_414
- - *ref_415
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List userSessions.
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_416
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_417
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_418
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_419
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_416
- - *ref_417
- - *ref_418
- - *ref_419
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: disconnect
- description: Disconnect a userSession.
- cli:
- name: Disconnect
- description: Disconnect a userSession.
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_428
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_429
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_430
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_431
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_421
- schema: *ref_420
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _send_message
- description: Object containing message includes title and message body
- cli:
- name: _send_message
- description: Object containing message includes title and message body
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- - &ref_426
- schema: *ref_116
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_422
- language:
- default:
- name: message_title
- description: Title of message.
- cli: *ref_423
- protocol: {}
- - &ref_427
- schema: *ref_117
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_424
- language:
- default:
- name: message_body
- description: Body of message.
- cli: *ref_425
- protocol: {}
- signatureParameters:
- - *ref_426
- - *ref_427
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_428
- - *ref_429
- - *ref_430
- - *ref_431
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: send_message
- description: Send a message to a user.
- cli:
- name: SendMessage
- description: Send a message to a user.
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSession
- description: ''
- cli:
- name: UserSession
- description: ''
- cliKey: UserSessions
- hidden: true
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_432
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_433
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_434
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_432
- - *ref_433
- - *ref_434
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: get
- description: Get a session host.
- cli:
- name: Get
- description: Get a session host.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_435
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_436
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_437
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_438
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_435
- - *ref_436
- - *ref_437
- - *ref_438
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: delete
- description: Remove a SessionHost.
- cli:
- name: Delete
- description: Remove a SessionHost.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_446
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_447
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_448
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_439
- schema: *ref_90
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _session_host
- description: Object containing SessionHost definitions.
- cli:
- name: _session_host
- description: Object containing SessionHost definitions.
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- - &ref_444
- schema: *ref_73
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_440
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: *ref_441
- protocol: {}
- - &ref_445
- schema: *ref_82
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_442
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: *ref_443
- protocol: {}
- signatureParameters:
- - *ref_444
- - *ref_445
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_446
- - *ref_447
- - *ref_448
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: update
- description: Update a session host.
- cli:
- name: Update
- description: Update a session host.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_449
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_450
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_449
- - *ref_450
- responses:
- - schema: *ref_451
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List sessionHosts.
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHost
- description: ''
- cli:
- name: SessionHost
- description: ''
- cliKey: SessionHosts
- hidden: true
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_452
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_453
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_454
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_455
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_452
- - *ref_453
- - *ref_454
- - *ref_455
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_session_host
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySessionHost
- description: List applications for the given session host.
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplication
- description: ''
- cli:
- name: ActiveApplication
- description: ''
- cliKey: ActiveApplications
- hidden: true
- protocol: {}
-language:
- default:
- name: DesktopVirtualizationAPIClient
- description: ''
- cli:
- name: DesktopVirtualizationAPIClient
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre-simplified.yaml
deleted file mode 100644
index 893109e1471..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre-simplified.yaml
+++ /dev/null
@@ -1,2383 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operation
- cli:
- cliKey: Operations
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- hidden: true
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - operationGroupName: Workspace
- cli:
- cliKey: Workspaces
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(Workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: Workspace
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: WorkspacePatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignment
- cli:
- cliKey: ApplicationGroupAssignments
- hidden: true
- operations:
- - operationName: workspace_level_list
- cli:
- name: WorkspaceLevelList
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroup
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroup
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - parameterName[0]: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroupPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItem
- cli:
- cliKey: StartMenuItems
- hidden: true
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Application
- cli:
- cliKey: Applications
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(Application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: Application
- - parameterName[0]: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(ApplicationPatch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: ApplicationPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Desktop
- cli:
- cliKey: Desktops
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: DesktopPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: HostPool
- cli:
- cliKey: HostPools
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPool
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - parameterName[0]: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPoolPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: UserSession
- cli:
- cliKey: UserSessions
- hidden: true
- operations:
- - operationName: list_by_host_pool
- cli:
- name: ListByHostPool
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: disconnect
- cli:
- name: Disconnect
- cliKey: Disconnect
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: send_message
- cli:
- name: SendMessage
- cliKey: SendMessage
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _send_message(SendMessage^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: SendMessage
- - parameterName[0]: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - parameterName[0]: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- - operationGroupName: SessionHost
- cli:
- cliKey: SessionHosts
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _session_host(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: SessionHostPatch
- - parameterName[0]: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - parameterName[0]: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationGroupName: ActiveApplication
- cli:
- cliKey: ActiveApplications
- hidden: true
- operations:
- - operationName: list_by_session_host
- cli:
- name: ListBySessionHost
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationListValue^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperationName^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperationDisplay^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperationDisplay
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperationDisplayProvider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperationDisplayResource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperationDisplayOperation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperationDisplayDescription^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(ResourceId^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(ResourceName^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(ResourceType^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(CloudErrorCode^string)
- cli:
- cliKey: code
- - propertyName: message(CloudErrorMessage^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(WorkspaceListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationGroupListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - propertyName: workspace_arm_path(ApplicationGroupPropertiesWorkspaceArmPath^string)
- cli:
- name: workspaceArmPath
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(StartMenuItemListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: app_alias(StartMenuItemPropertiesAppAlias^string)
- cli:
- name: appAlias
- cliKey: appAlias
- - propertyName: friendly_name(StartMenuItemPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(StartMenuItemPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_arguments(StartMenuItemPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: icon_path(StartMenuItemPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - propertyName: icon_hash(ApplicationPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(application_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: description(DesktopPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: icon_hash(DesktopPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(desktop_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(DesktopListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - propertyName: application_group_references(HostPoolPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expiration_time(registration_info_expiration_time^date-time)
- cli:
- name: expirationTime
- cliKey: expirationTime
- - propertyName: token(RegistrationInfoToken^string)
- cli:
- cliKey: token
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(HostPoolListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(UserSessionListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: user_principal_name(UserSessionPropertiesUserPrincipalName^string)
- cli:
- name: userPrincipalName
- cliKey: userPrincipalName
- - propertyName: application_type(ApplicationType^choice)
- cli:
- name: applicationType
- cliKey: applicationType
- - propertyName: session_state(SessionState^choice)
- cli:
- name: sessionState
- cliKey: sessionState
- - propertyName: active_directory_user_name(UserSessionPropertiesActiveDirectoryUserName^string)
- cli:
- name: activeDirectoryUserName
- cliKey: activeDirectoryUserName
- - propertyName: create_time(user_session_properties_create_time^date-time)
- cli:
- name: createTime
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: last_heart_beat(session_host_properties_last_heart_beat^date-time)
- cli:
- name: lastHeartBeat
- cliKey: lastHeartBeat
- - propertyName: sessions(Integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agent_version(SessionHostPropertiesAgentVersion^string)
- cli:
- name: agentVersion
- cliKey: agentVersion
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: status_timestamp(session_host_properties_status_timestamp^date-time)
- cli:
- name: statusTimestamp
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: os_version(SessionHostPropertiesOsVersion^string)
- cli:
- name: osVersion
- cliKey: osVersion
- - propertyName: sx_s_stack_version(SessionHostPropertiesSxSStackVersion^string)
- cli:
- name: sxSStackVersion
- cliKey: sxSStackVersion
- - propertyName: update_state(UpdateState^choice)
- cli:
- name: updateState
- cliKey: updateState
- - propertyName: last_update_time(session_host_properties_last_update_time^date-time)
- cli:
- name: lastUpdateTime
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: update_error_message(SessionHostPropertiesUpdateErrorMessage^string)
- cli:
- name: updateErrorMessage
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(SessionHostListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - propertyName: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: do_not_allow
- cli:
- name: DoNotAllow
- cliKey: DoNotAllow
- - choiceValue: allow
- cli:
- name: Allow
- cliKey: Allow
- - choiceValue: require
- cli:
- name: Require
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: personal
- cli:
- name: Personal
- cliKey: Personal
- - choiceValue: pooled
- cli:
- name: Pooled
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: automatic
- cli:
- name: Automatic
- cliKey: Automatic
- - choiceValue: direct
- cli:
- name: Direct
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: breadth_first
- cli:
- name: BreadthFirst
- cliKey: BreadthFirst
- - choiceValue: depth_first
- cli:
- name: DepthFirst
- cliKey: DepthFirst
- - choiceValue: persistent
- cli:
- name: Persistent
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: delete
- cli:
- name: Delete
- cliKey: Delete
- - choiceValue: none
- cli:
- name: None
- cliKey: None
- - choiceValue: update
- cli:
- name: Update
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: unknown
- cli:
- name: Unknown
- cliKey: Unknown
- - choiceValue: active
- cli:
- name: Active
- cliKey: Active
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: log_off
- cli:
- name: LogOff
- cliKey: LogOff
- - choiceValue: user_profile_disk_mounted
- cli:
- name: UserProfileDiskMounted
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: available
- cli:
- name: Available
- cliKey: Available
- - choiceValue: unavailable
- cli:
- name: Unavailable
- cliKey: Unavailable
- - choiceValue: shutdown
- cli:
- name: Shutdown
- cliKey: Shutdown
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: upgrading
- cli:
- name: Upgrading
- cliKey: Upgrading
- - choiceValue: upgrade_failed
- cli:
- name: UpgradeFailed
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: initial
- cli:
- name: Initial
- cliKey: Initial
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: started
- cli:
- name: Started
- cliKey: Started
- - choiceValue: succeeded
- cli:
- name: Succeeded
- cliKey: Succeeded
- - choiceValue: failed
- cli:
- name: Failed
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre.yaml b/src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre.yaml
deleted file mode 100644
index 96d8540f7d4..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre.yaml
+++ /dev/null
@@ -1,11138 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 100
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_356
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Index of the icon.
- cli:
- name: Integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The max session limit of HostPool.
- cli:
- name: Integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The ring number of HostPool.
- cli:
- name: Integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Number of sessions on SessionHost.
- cli:
- name: Integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: String
- description: simple string
- cli:
- name: String
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- cli:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- cli:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_136
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_137
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceName
- description: The name of the resource
- cli:
- name: ResourceName
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- cli:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_94
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorCode
- description: Error code
- cli:
- name: CloudErrorCode
- description: Error code
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- cli:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- cli:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_180
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_100
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- cli:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- cli:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_103
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_104
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_106
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_107
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopListNextLink
- description: Link to the next page of results.
- cli:
- name: DesktopListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- cli:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_113
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- cli:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- cli:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- cli:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- cli:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_402
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- cli:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- cli:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- cli:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_115
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- cli:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_403
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageTitle
- description: Title of message.
- cli:
- name: SendMessageTitle
- description: Title of message.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageBody
- description: Body of message.
- cli:
- name: SendMessageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: do_not_allow
- description: ''
- cli:
- name: DoNotAllow
- description: ''
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: allow
- description: ''
- cli:
- name: Allow
- description: ''
- cliKey: Allow
- - value: Require
- language:
- default:
- name: require
- description: ''
- cli:
- name: Require
- description: ''
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- name: 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.'
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: personal
- description: ''
- cli:
- name: Personal
- description: ''
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: pooled
- description: ''
- cli:
- name: Pooled
- description: ''
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- name: HostPoolType
- description: HostPool type for desktop.
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: automatic
- description: ''
- cli:
- name: Automatic
- description: ''
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: direct
- description: ''
- cli:
- name: Direct
- description: ''
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: breadth_first
- description: ''
- cli:
- name: BreadthFirst
- description: ''
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: depth_first
- description: ''
- cli:
- name: DepthFirst
- description: ''
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: persistent
- description: ''
- cli:
- name: Persistent
- description: ''
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- name: LoadBalancerType
- description: The type of the load balancer.
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: delete
- description: ''
- cli:
- name: Delete
- description: ''
- cliKey: Delete
- - value: None
- language:
- default:
- name: none
- description: ''
- cli:
- name: None
- description: ''
- cliKey: None
- - value: Update
- language:
- default:
- name: update
- description: ''
- cli:
- name: Update
- description: ''
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- name: ApplicationType
- description: Application type of application.
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: unknown
- description: ''
- cli:
- name: Unknown
- description: ''
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: active
- description: ''
- cli:
- name: Active
- description: ''
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: log_off
- description: ''
- cli:
- name: LogOff
- description: ''
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: user_profile_disk_mounted
- description: ''
- cli:
- name: UserProfileDiskMounted
- description: ''
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- name: SessionState
- description: State of user session.
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: available
- description: ''
- cli:
- name: Available
- description: ''
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: unavailable
- description: ''
- cli:
- name: Unavailable
- description: ''
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: shutdown
- description: ''
- cli:
- name: Shutdown
- description: ''
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: upgrading
- description: ''
- cli:
- name: Upgrading
- description: ''
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: upgrade_failed
- description: ''
- cli:
- name: UpgradeFailed
- description: ''
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- name: Status
- description: Status for a SessionHost.
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: initial
- description: ''
- cli:
- name: Initial
- description: ''
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: Started
- language:
- default:
- name: started
- description: ''
- cli:
- name: Started
- description: ''
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: succeeded
- description: ''
- cli:
- name: Succeeded
- description: ''
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: failed
- description: ''
- cli:
- name: Failed
- description: ''
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- name: UpdateState
- description: Update state of a SessionHost.
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_131
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: api_version2019_12_10_preview
- description: Api Version (2019-12-10-preview)
- cli:
- name: ApiVersion20191210Preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_141
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application_json
- description: Content Type 'application/json'
- cli:
- name: ApplicationJson
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResourceTags
- description: Resource tags.
- cli:
- name: TrackedResourceTags
- description: Resource tags.
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_content
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_content
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_expiration_time
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_create_time
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_heart_beat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_status_timestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_update_time
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_134
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_118
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- name: resource
- description: Resource on which the operation is performed.
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- name: description
- description: Description of this operation.
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- name: display
- description: Display metadata associated with the operation.
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- name: value
- description: List of operations supported by this resource provider.
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_147
- schema: *ref_11
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_148
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_149
- schema: *ref_12
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_150
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_151
- schema: &ref_119
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: &ref_152
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- name: Workspace
- description: Represents a Workspace definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_188
- schema: *ref_14
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_189
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_190
- schema: *ref_15
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_191
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- - &ref_192
- schema: *ref_16
- flattenedNames:
- - properties
- - hostPoolArmPath
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: &ref_193
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- flattenedNames:
- - properties
- - workspaceArmPath
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cliKey: workspaceArmPath
- protocol: {}
- - &ref_194
- schema: *ref_18
- flattenedNames:
- - properties
- - applicationGroupType
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: &ref_195
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_316
- schema: *ref_19
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_317
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_318
- schema: *ref_20
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_319
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_320
- schema: *ref_21
- flattenedNames:
- - properties
- - hostPoolType
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: &ref_321
- name: hostPoolType
- description: HostPool type for desktop.
- cliKey: hostPoolType
- protocol: {}
- - &ref_322
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_323
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_324
- schema: *ref_23
- flattenedNames:
- - properties
- - customRdpProperty
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_325
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_326
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_327
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_328
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_329
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_330
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_331
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_332
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_333
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_334
- schema: &ref_111
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expiration_time
- description: Expiration time of registration token.
- cli:
- name: expirationTime
- description: Expiration time of registration token.
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- name: token
- description: The registration token base64 encoded string.
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_335
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_336
- schema: *ref_31
- flattenedNames:
- - properties
- - vmTemplate
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: &ref_337
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_126
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- - &ref_338
- schema: *ref_33
- flattenedNames:
- - properties
- - ssoContext
- required: false
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_339
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- name: HostPool
- description: Represents a HostPool definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_143
- schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli: &ref_144
- name: tags
- description: Resource tags.
- cliKey: tags
- protocol: {}
- - &ref_145
- schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: &ref_146
- name: location
- description: The geo-location where the resource lives
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_207
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_208
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_209
- schema: *ref_40
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_210
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_211
- schema: *ref_41
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_212
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_42
- flattenedNames:
- - properties
- - appAlias
- serializedName: appAlias
- language:
- default:
- name: app_alias
- description: Alias of StartMenuItem.
- cli:
- name: appAlias
- description: Alias of StartMenuItem.
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of StartMenuItem.
- cli:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Path to the file of StartMenuItem.
- cli:
- name: filePath
- description: Path to the file of StartMenuItem.
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to the icon.
- cli:
- name: iconPath
- description: Path to the icon.
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli:
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_228
- schema: *ref_48
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_229
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_230
- schema: *ref_49
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_231
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_232
- schema: *ref_50
- flattenedNames:
- - properties
- - filePath
- required: false
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_233
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_234
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_235
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_236
- schema: *ref_52
- flattenedNames:
- - properties
- - commandLineArguments
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_237
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_238
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- required: false
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_239
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_240
- schema: *ref_54
- flattenedNames:
- - properties
- - iconPath
- required: false
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_241
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_242
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- required: false
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_243
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: the icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- name: Application
- description: Schema for Application properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_57
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - schema: *ref_58
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli:
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: The icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- name: Desktop
- description: Schema for Desktop properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_361
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_362
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_363
- schema: *ref_61
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_364
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_365
- schema: *ref_62
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_366
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_367
- schema: *ref_63
- flattenedNames:
- - properties
- - customRdpProperty
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_368
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_369
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_370
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_371
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_372
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_373
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_374
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_375
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_376
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_377
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_378
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_379
- schema: &ref_112
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_380
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_381
- schema: *ref_64
- flattenedNames:
- - properties
- - ssoContext
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_382
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_65
- flattenedNames:
- - properties
- - userPrincipalName
- serializedName: userPrincipalName
- language:
- default:
- name: user_principal_name
- description: The user principal name.
- cli:
- name: userPrincipalName
- description: The user principal name.
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- flattenedNames:
- - properties
- - applicationType
- serializedName: applicationType
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- name: applicationType
- description: Application type of application.
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- flattenedNames:
- - properties
- - sessionState
- serializedName: sessionState
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- name: sessionState
- description: State of user session.
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- flattenedNames:
- - properties
- - activeDirectoryUserName
- serializedName: activeDirectoryUserName
- language:
- default:
- name: active_directory_user_name
- description: The active directory user name.
- cli:
- name: activeDirectoryUserName
- description: The active directory user name.
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- flattenedNames:
- - properties
- - createTime
- serializedName: createTime
- language:
- default:
- name: create_time
- description: The timestamp of the user session create.
- cli:
- name: createTime
- description: The timestamp of the user session create.
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- name: UserSession
- description: Represents a UserSession definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_70
- flattenedNames:
- - properties
- - lastHeartBeat
- serializedName: lastHeartBeat
- language:
- default:
- name: last_heart_beat
- description: Last heart beat from SessionHost.
- cli:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- flattenedNames:
- - properties
- - sessions
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- name: sessions
- description: Number of sessions on SessionHost.
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- flattenedNames:
- - properties
- - agentVersion
- serializedName: agentVersion
- language:
- default:
- name: agent_version
- description: Version of agent on SessionHost.
- cli:
- name: agentVersion
- description: Version of agent on SessionHost.
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli:
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli:
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- flattenedNames:
- - properties
- - status
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- name: status
- description: Status for a SessionHost.
- cliKey: status
- protocol: {}
- - schema: *ref_76
- flattenedNames:
- - properties
- - statusTimestamp
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: status_timestamp
- description: The timestamp of the status.
- cli:
- name: statusTimestamp
- description: The timestamp of the status.
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- flattenedNames:
- - properties
- - osVersion
- serializedName: osVersion
- language:
- default:
- name: os_version
- description: The version of the OS on the session host.
- cli:
- name: osVersion
- description: The version of the OS on the session host.
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- flattenedNames:
- - properties
- - sxSStackVersion
- serializedName: sxSStackVersion
- language:
- default:
- name: sx_s_stack_version
- description: The version of the side by side stack on the session host.
- cli:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- flattenedNames:
- - properties
- - updateState
- serializedName: updateState
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- name: updateState
- description: Update state of a SessionHost.
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- flattenedNames:
- - properties
- - lastUpdateTime
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: last_update_time
- description: The timestamp of the last update.
- cli:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- flattenedNames:
- - properties
- - updateErrorMessage
- serializedName: updateErrorMessage
- language:
- default:
- name: update_error_message
- description: The error message.
- cli:
- name: updateErrorMessage
- description: The error message.
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- name: SessionHost
- description: Represents a SessionHost definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_440
- schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: &ref_441
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - &ref_442
- schema: *ref_82
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: &ref_443
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- name: name
- description: The name of the resource
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- name: Resource
- description: ''
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - &ref_140
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_94
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- name: code
- description: Error code
- cliKey: code
- protocol: {}
- - schema: *ref_95
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- name: message
- description: Error message indicating why the operation failed.
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- name: CloudError
- description: Error response of an operation failure
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_162
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_164
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_165
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_166
- schema: *ref_96
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_167
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_168
- schema: *ref_97
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_169
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_170
- schema: &ref_120
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_98
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: &ref_171
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - &ref_179
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_121
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- name: value
- description: List of Workspace definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_99
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- name: WorkspaceList
- description: List of Workspace definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_184
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_122
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- name: value
- description: List of ApplicationGroup definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_100
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_83
- - &ref_223
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_123
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- name: value
- description: List of StartMenuItem definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_85
- - &ref_258
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_260
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_261
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_262
- schema: *ref_102
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_263
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_264
- schema: *ref_103
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_265
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_266
- schema: *ref_104
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_267
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_268
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_269
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_270
- schema: *ref_105
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_271
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_272
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_273
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_274
- schema: *ref_106
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_275
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_276
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_277
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationPatch
- description: Application properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - &ref_292
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_124
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationListValue
- description: List of Application definitions.
- cli:
- name: ApplicationListValue
- description: List of Application definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- name: value
- description: List of Application definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_107
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- name: ApplicationList
- description: List of Application definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - &ref_296
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_298
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_299
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_300
- schema: *ref_108
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: &ref_301
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - &ref_302
- schema: *ref_109
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: &ref_303
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - &ref_312
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_125
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- name: value
- description: List of Desktop definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_110
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- name: DesktopList
- description: List of Desktop definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_111
- - *ref_87
- - *ref_112
- - &ref_397
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_127
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- name: value
- description: List of HostPool definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_113
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- name: HostPoolList
- description: List of HostPool definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_401
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_128
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- name: value
- description: List of UserSession definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- name: UserSessionList
- description: List of UserSession definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_89
- - *ref_90
- - &ref_451
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_129
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- name: value
- description: List of SessionHost definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_115
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- name: SessionHostList
- description: List of SessionHost definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_420
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_422
- schema: *ref_116
- serializedName: messageTitle
- language:
- default:
- name: message_title
- description: Title of message.
- cli: &ref_423
- name: messageTitle
- description: Title of message.
- cliKey: messageTitle
- protocol: {}
- - &ref_424
- schema: *ref_117
- serializedName: messageBody
- language:
- default:
- name: message_body
- description: Body of message.
- cli: &ref_425
- name: messageBody
- description: Body of message.
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- name: SendMessage
- description: Represents message sent to a UserSession.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_118
- - *ref_119
- - *ref_120
- - *ref_121
- - *ref_122
- - *ref_123
- - *ref_124
- - *ref_125
- - *ref_126
- - *ref_127
- - *ref_128
- - *ref_129
-globalParameters:
- - &ref_135
- schema: *ref_130
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscription_id
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- name: subscriptionId
- description: The ID of the target subscription.
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_132
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- name: $host
- description: server parameter
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_133
- schema: *ref_131
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: api_version
- description: Api Version
- serializedName: api-version
- cli:
- name: ApiVersion
- description: Api Version
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_134
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: list
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cliKey: List
- hidden: true
- protocol: {}
- language:
- default:
- name: Operation
- description: ''
- cli:
- name: Operation
- description: ''
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_138
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_139
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_138
- - *ref_139
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a workspace.
- cli:
- name: Get
- description: Get a workspace.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_158
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_159
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_142
- schema: *ref_34
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_153
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_154
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_155
- schema: *ref_11
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_147
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_148
- protocol: {}
- - &ref_156
- schema: *ref_12
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_149
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_150
- protocol: {}
- - &ref_157
- schema: *ref_119
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_151
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: *ref_152
- protocol: {}
- signatureParameters:
- - *ref_153
- - *ref_154
- - *ref_155
- - *ref_156
- - *ref_157
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_158
- - *ref_159
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a workspace.
- cli:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_160
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_161
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_160
- - *ref_161
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a workspace.
- cli:
- name: Delete
- description: Remove a workspace.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_176
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_177
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_163
- schema: *ref_162
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_172
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_164
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_165
- protocol: {}
- - &ref_173
- schema: *ref_96
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_166
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_167
- protocol: {}
- - &ref_174
- schema: *ref_97
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_168
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_169
- protocol: {}
- - &ref_175
- schema: *ref_120
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_170
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: *ref_171
- protocol: {}
- signatureParameters:
- - *ref_172
- - *ref_173
- - *ref_174
- - *ref_175
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_176
- - *ref_177
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a workspace.
- cli:
- name: Update
- description: Update a workspace.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_178
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_178
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List workspaces.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List workspaces in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspace
- description: ''
- cli:
- name: Workspace
- description: ''
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_181
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_182
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_181
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: workspace_level_list
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- name: WorkspaceLevelList
- description: List application group that user can use.
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignment
- description: ''
- cli:
- name: ApplicationGroupAssignment
- description: ''
- cliKey: ApplicationGroupAssignments
- hidden: true
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_185
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get an application group.
- cli:
- name: Get
- description: Get an application group.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_202
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_203
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_187
- schema: *ref_35
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_196
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_197
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_198
- schema: *ref_14
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_188
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_189
- protocol: {}
- - &ref_199
- schema: *ref_15
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_190
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_191
- protocol: {}
- - &ref_200
- schema: *ref_16
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_192
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: *ref_193
- protocol: {}
- - &ref_201
- schema: *ref_18
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_194
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: *ref_195
- protocol: {}
- signatureParameters:
- - *ref_196
- - *ref_197
- - *ref_198
- - *ref_199
- - *ref_200
- - *ref_201
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_202
- - *ref_203
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update an applicationGroup.
- cli:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_204
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_205
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_204
- - *ref_205
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove an applicationGroup.
- cli:
- name: Delete
- description: Remove an applicationGroup.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_216
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_217
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_206
- schema: *ref_83
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_213
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_207
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_208
- protocol: {}
- - &ref_214
- schema: *ref_40
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_209
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_210
- protocol: {}
- - &ref_215
- schema: *ref_41
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_211
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_212
- protocol: {}
- signatureParameters:
- - *ref_213
- - *ref_214
- - *ref_215
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_216
- - *ref_217
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update an applicationGroup.
- cli:
- name: Update
- description: Update an applicationGroup.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_218
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_219
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_218
- - *ref_219
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List applicationGroups.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_220
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroup
- description: ''
- cli:
- name: ApplicationGroup
- description: ''
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_221
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_222
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_221
- - *ref_222
- responses:
- - schema: *ref_223
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List start menu items in the given application group.
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItem
- description: ''
- cli:
- name: StartMenuItem
- description: ''
- cliKey: StartMenuItems
- hidden: true
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_224
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_226
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_224
- - *ref_225
- - *ref_226
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: get
- description: Get an application.
- cli:
- name: Get
- description: Get an application.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_252
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_253
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_254
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_227
- schema: *ref_85
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_244
- schema: *ref_48
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_228
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_229
- protocol: {}
- - &ref_245
- schema: *ref_49
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_230
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_231
- protocol: {}
- - &ref_246
- schema: *ref_50
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_232
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_233
- protocol: {}
- - &ref_247
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: true
- targetProperty: *ref_234
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_235
- protocol: {}
- - &ref_248
- schema: *ref_52
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_236
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_237
- protocol: {}
- - &ref_249
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_238
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_239
- protocol: {}
- - &ref_250
- schema: *ref_54
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_240
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_241
- protocol: {}
- - &ref_251
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_242
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_243
- protocol: {}
- signatureParameters:
- - *ref_244
- - *ref_245
- - *ref_246
- - *ref_247
- - *ref_248
- - *ref_249
- - *ref_250
- - *ref_251
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_252
- - *ref_253
- - *ref_254
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: create_or_update
- description: Create or update an application.
- cli:
- name: CreateOrUpdate
- description: Create or update an application.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_255
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: delete
- description: Remove an application.
- cli:
- name: Delete
- description: Remove an application.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_287
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_288
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_289
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_259
- schema: *ref_258
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_278
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_260
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_261
- protocol: {}
- - &ref_279
- schema: *ref_102
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_262
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_263
- protocol: {}
- - &ref_280
- schema: *ref_103
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_264
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_265
- protocol: {}
- - &ref_281
- schema: *ref_104
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_266
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_267
- protocol: {}
- - &ref_282
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_268
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_269
- protocol: {}
- - &ref_283
- schema: *ref_105
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_270
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_271
- protocol: {}
- - &ref_284
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_272
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_273
- protocol: {}
- - &ref_285
- schema: *ref_106
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_274
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_275
- protocol: {}
- - &ref_286
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_276
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_277
- protocol: {}
- signatureParameters:
- - *ref_278
- - *ref_279
- - *ref_280
- - *ref_281
- - *ref_282
- - *ref_283
- - *ref_284
- - *ref_285
- - *ref_286
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_287
- - *ref_288
- - *ref_289
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: update
- description: Update an application.
- cli:
- name: Update
- description: Update an application.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_290
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_291
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_290
- - *ref_291
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List applications.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Application
- description: ''
- cli:
- name: Application
- description: ''
- cliKey: Applications
- hidden: true
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_293
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_294
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_295
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_293
- - *ref_294
- - *ref_295
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: get
- description: Get a desktop.
- cli:
- name: Get
- description: Get a desktop.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_307
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_308
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_309
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_297
- schema: *ref_296
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _desktop
- description: Object containing Desktop definitions.
- cli:
- name: _desktop
- description: Object containing Desktop definitions.
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- - &ref_304
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_298
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_299
- protocol: {}
- - &ref_305
- schema: *ref_108
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_300
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: *ref_301
- protocol: {}
- - &ref_306
- schema: *ref_109
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_302
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: *ref_303
- protocol: {}
- signatureParameters:
- - *ref_304
- - *ref_305
- - *ref_306
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_307
- - *ref_308
- - *ref_309
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: update
- description: Update a desktop.
- cli:
- name: Update
- description: Update a desktop.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_310
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_311
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_310
- - *ref_311
- responses:
- - schema: *ref_312
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: list
- description: List desktops.
- cli:
- name: List
- description: List desktops.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktops
- hidden: true
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_313
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_314
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_313
- - *ref_314
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a host pool.
- cli:
- name: Get
- description: Get a host pool.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_354
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_355
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_315
- schema: *ref_36
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_340
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_341
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_342
- schema: *ref_19
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_316
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_317
- protocol: {}
- - &ref_343
- schema: *ref_20
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_318
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_319
- protocol: {}
- - &ref_344
- schema: *ref_21
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_320
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: *ref_321
- protocol: {}
- - &ref_345
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_322
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_323
- protocol: {}
- - &ref_346
- schema: *ref_23
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_324
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_325
- protocol: {}
- - &ref_347
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_326
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_327
- protocol: {}
- - &ref_348
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_328
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_329
- protocol: {}
- - &ref_349
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_330
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_331
- protocol: {}
- - &ref_350
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_332
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_333
- protocol: {}
- - &ref_351
- schema: *ref_111
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_334
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_335
- protocol: {}
- - &ref_352
- schema: *ref_31
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_336
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: *ref_337
- protocol: {}
- - &ref_353
- schema: *ref_33
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_338
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_339
- protocol: {}
- signatureParameters:
- - *ref_340
- - *ref_341
- - *ref_342
- - *ref_343
- - *ref_344
- - *ref_345
- - *ref_346
- - *ref_347
- - *ref_348
- - *ref_349
- - *ref_350
- - *ref_351
- - *ref_352
- - *ref_353
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_354
- - *ref_355
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a host pool.
- cli:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_357
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_358
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_359
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- name: force
- description: Force flag to delete sessionHost.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_357
- - *ref_358
- - *ref_359
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a host pool.
- cli:
- name: Delete
- description: Remove a host pool.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_394
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_395
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_360
- schema: *ref_87
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_383
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_361
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_362
- protocol: {}
- - &ref_384
- schema: *ref_61
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_363
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_364
- protocol: {}
- - &ref_385
- schema: *ref_62
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_365
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_366
- protocol: {}
- - &ref_386
- schema: *ref_63
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_367
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_368
- protocol: {}
- - &ref_387
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_369
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_370
- protocol: {}
- - &ref_388
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_371
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_372
- protocol: {}
- - &ref_389
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_373
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_374
- protocol: {}
- - &ref_390
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_375
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_376
- protocol: {}
- - &ref_391
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_377
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_378
- protocol: {}
- - &ref_392
- schema: *ref_112
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_379
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_380
- protocol: {}
- - &ref_393
- schema: *ref_64
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_381
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_382
- protocol: {}
- signatureParameters:
- - *ref_383
- - *ref_384
- - *ref_385
- - *ref_386
- - *ref_387
- - *ref_388
- - *ref_389
- - *ref_390
- - *ref_391
- - *ref_392
- - *ref_393
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_394
- - *ref_395
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a host pool.
- cli:
- name: Update
- description: Update a host pool.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_396
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_396
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List hostPools.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List hostPools in subscription.
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPool
- description: ''
- cli:
- name: HostPool
- description: ''
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_398
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_399
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_400
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_398
- - *ref_399
- - *ref_400
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_host_pool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByHostPool
- description: List userSessions.
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_404
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_405
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_406
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_407
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_404
- - *ref_405
- - *ref_406
- - *ref_407
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: get
- description: Get a userSession.
- cli:
- name: Get
- description: Get a userSession.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_408
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_409
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_410
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_411
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_412
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- name: force
- description: Force flag to login off userSession.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_408
- - *ref_409
- - *ref_410
- - *ref_411
- - *ref_412
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: delete
- description: Remove a userSession.
- cli:
- name: Delete
- description: Remove a userSession.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_413
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_414
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_415
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_413
- - *ref_414
- - *ref_415
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List userSessions.
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_416
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_417
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_418
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_419
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_416
- - *ref_417
- - *ref_418
- - *ref_419
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: disconnect
- description: Disconnect a userSession.
- cli:
- name: Disconnect
- description: Disconnect a userSession.
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_428
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_429
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_430
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_431
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_421
- schema: *ref_420
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _send_message
- description: Object containing message includes title and message body
- cli:
- name: _send_message
- description: Object containing message includes title and message body
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- - &ref_426
- schema: *ref_116
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_422
- language:
- default:
- name: message_title
- description: Title of message.
- cli: *ref_423
- protocol: {}
- - &ref_427
- schema: *ref_117
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_424
- language:
- default:
- name: message_body
- description: Body of message.
- cli: *ref_425
- protocol: {}
- signatureParameters:
- - *ref_426
- - *ref_427
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_428
- - *ref_429
- - *ref_430
- - *ref_431
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: send_message
- description: Send a message to a user.
- cli:
- name: SendMessage
- description: Send a message to a user.
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSession
- description: ''
- cli:
- name: UserSession
- description: ''
- cliKey: UserSessions
- hidden: true
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_432
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_433
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_434
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_432
- - *ref_433
- - *ref_434
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: get
- description: Get a session host.
- cli:
- name: Get
- description: Get a session host.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_435
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_436
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_437
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_438
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_435
- - *ref_436
- - *ref_437
- - *ref_438
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: delete
- description: Remove a SessionHost.
- cli:
- name: Delete
- description: Remove a SessionHost.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_446
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_447
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_448
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_439
- schema: *ref_90
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _session_host
- description: Object containing SessionHost definitions.
- cli:
- name: _session_host
- description: Object containing SessionHost definitions.
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- - &ref_444
- schema: *ref_73
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_440
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: *ref_441
- protocol: {}
- - &ref_445
- schema: *ref_82
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_442
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: *ref_443
- protocol: {}
- signatureParameters:
- - *ref_444
- - *ref_445
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_446
- - *ref_447
- - *ref_448
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: update
- description: Update a session host.
- cli:
- name: Update
- description: Update a session host.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_449
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_450
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_449
- - *ref_450
- responses:
- - schema: *ref_451
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List sessionHosts.
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHost
- description: ''
- cli:
- name: SessionHost
- description: ''
- cliKey: SessionHosts
- hidden: true
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_452
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_453
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_454
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_455
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_452
- - *ref_453
- - *ref_454
- - *ref_455
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_session_host
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySessionHost
- description: List applications for the given session host.
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplication
- description: ''
- cli:
- name: ActiveApplication
- description: ''
- cliKey: ActiveApplications
- hidden: true
- protocol: {}
-language:
- default:
- name: DesktopVirtualizationAPIClient
- description: ''
- cli:
- name: DesktopVirtualizationAPIClient
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post-simplified.yaml
deleted file mode 100644
index 893109e1471..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post-simplified.yaml
+++ /dev/null
@@ -1,2383 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operation
- cli:
- cliKey: Operations
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- hidden: true
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - operationGroupName: Workspace
- cli:
- cliKey: Workspaces
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(Workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: Workspace
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: WorkspacePatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignment
- cli:
- cliKey: ApplicationGroupAssignments
- hidden: true
- operations:
- - operationName: workspace_level_list
- cli:
- name: WorkspaceLevelList
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroup
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroup
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - parameterName[0]: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroupPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItem
- cli:
- cliKey: StartMenuItems
- hidden: true
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Application
- cli:
- cliKey: Applications
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(Application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: Application
- - parameterName[0]: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(ApplicationPatch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: ApplicationPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Desktop
- cli:
- cliKey: Desktops
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: DesktopPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: HostPool
- cli:
- cliKey: HostPools
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPool
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - parameterName[0]: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPoolPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: UserSession
- cli:
- cliKey: UserSessions
- hidden: true
- operations:
- - operationName: list_by_host_pool
- cli:
- name: ListByHostPool
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: disconnect
- cli:
- name: Disconnect
- cliKey: Disconnect
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: send_message
- cli:
- name: SendMessage
- cliKey: SendMessage
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _send_message(SendMessage^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: SendMessage
- - parameterName[0]: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - parameterName[0]: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- - operationGroupName: SessionHost
- cli:
- cliKey: SessionHosts
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _session_host(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: SessionHostPatch
- - parameterName[0]: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - parameterName[0]: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationGroupName: ActiveApplication
- cli:
- cliKey: ActiveApplications
- hidden: true
- operations:
- - operationName: list_by_session_host
- cli:
- name: ListBySessionHost
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationListValue^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperationName^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperationDisplay^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperationDisplay
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperationDisplayProvider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperationDisplayResource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperationDisplayOperation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperationDisplayDescription^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(ResourceId^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(ResourceName^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(ResourceType^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(CloudErrorCode^string)
- cli:
- cliKey: code
- - propertyName: message(CloudErrorMessage^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(WorkspaceListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationGroupListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - propertyName: workspace_arm_path(ApplicationGroupPropertiesWorkspaceArmPath^string)
- cli:
- name: workspaceArmPath
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(StartMenuItemListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: app_alias(StartMenuItemPropertiesAppAlias^string)
- cli:
- name: appAlias
- cliKey: appAlias
- - propertyName: friendly_name(StartMenuItemPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(StartMenuItemPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_arguments(StartMenuItemPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: icon_path(StartMenuItemPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - propertyName: icon_hash(ApplicationPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(application_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: description(DesktopPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: icon_hash(DesktopPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(desktop_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(DesktopListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - propertyName: application_group_references(HostPoolPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expiration_time(registration_info_expiration_time^date-time)
- cli:
- name: expirationTime
- cliKey: expirationTime
- - propertyName: token(RegistrationInfoToken^string)
- cli:
- cliKey: token
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(HostPoolListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(UserSessionListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: user_principal_name(UserSessionPropertiesUserPrincipalName^string)
- cli:
- name: userPrincipalName
- cliKey: userPrincipalName
- - propertyName: application_type(ApplicationType^choice)
- cli:
- name: applicationType
- cliKey: applicationType
- - propertyName: session_state(SessionState^choice)
- cli:
- name: sessionState
- cliKey: sessionState
- - propertyName: active_directory_user_name(UserSessionPropertiesActiveDirectoryUserName^string)
- cli:
- name: activeDirectoryUserName
- cliKey: activeDirectoryUserName
- - propertyName: create_time(user_session_properties_create_time^date-time)
- cli:
- name: createTime
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: last_heart_beat(session_host_properties_last_heart_beat^date-time)
- cli:
- name: lastHeartBeat
- cliKey: lastHeartBeat
- - propertyName: sessions(Integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agent_version(SessionHostPropertiesAgentVersion^string)
- cli:
- name: agentVersion
- cliKey: agentVersion
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: status_timestamp(session_host_properties_status_timestamp^date-time)
- cli:
- name: statusTimestamp
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: os_version(SessionHostPropertiesOsVersion^string)
- cli:
- name: osVersion
- cliKey: osVersion
- - propertyName: sx_s_stack_version(SessionHostPropertiesSxSStackVersion^string)
- cli:
- name: sxSStackVersion
- cliKey: sxSStackVersion
- - propertyName: update_state(UpdateState^choice)
- cli:
- name: updateState
- cliKey: updateState
- - propertyName: last_update_time(session_host_properties_last_update_time^date-time)
- cli:
- name: lastUpdateTime
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: update_error_message(SessionHostPropertiesUpdateErrorMessage^string)
- cli:
- name: updateErrorMessage
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(SessionHostListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - propertyName: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: do_not_allow
- cli:
- name: DoNotAllow
- cliKey: DoNotAllow
- - choiceValue: allow
- cli:
- name: Allow
- cliKey: Allow
- - choiceValue: require
- cli:
- name: Require
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: personal
- cli:
- name: Personal
- cliKey: Personal
- - choiceValue: pooled
- cli:
- name: Pooled
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: automatic
- cli:
- name: Automatic
- cliKey: Automatic
- - choiceValue: direct
- cli:
- name: Direct
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: breadth_first
- cli:
- name: BreadthFirst
- cliKey: BreadthFirst
- - choiceValue: depth_first
- cli:
- name: DepthFirst
- cliKey: DepthFirst
- - choiceValue: persistent
- cli:
- name: Persistent
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: delete
- cli:
- name: Delete
- cliKey: Delete
- - choiceValue: none
- cli:
- name: None
- cliKey: None
- - choiceValue: update
- cli:
- name: Update
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: unknown
- cli:
- name: Unknown
- cliKey: Unknown
- - choiceValue: active
- cli:
- name: Active
- cliKey: Active
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: log_off
- cli:
- name: LogOff
- cliKey: LogOff
- - choiceValue: user_profile_disk_mounted
- cli:
- name: UserProfileDiskMounted
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: available
- cli:
- name: Available
- cliKey: Available
- - choiceValue: unavailable
- cli:
- name: Unavailable
- cliKey: Unavailable
- - choiceValue: shutdown
- cli:
- name: Shutdown
- cliKey: Shutdown
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: upgrading
- cli:
- name: Upgrading
- cliKey: Upgrading
- - choiceValue: upgrade_failed
- cli:
- name: UpgradeFailed
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: initial
- cli:
- name: Initial
- cliKey: Initial
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: started
- cli:
- name: Started
- cliKey: Started
- - choiceValue: succeeded
- cli:
- name: Succeeded
- cliKey: Succeeded
- - choiceValue: failed
- cli:
- name: Failed
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post.yaml b/src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post.yaml
deleted file mode 100644
index 7b789991267..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post.yaml
+++ /dev/null
@@ -1,11138 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 110
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_356
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Index of the icon.
- cli:
- name: Integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The max session limit of HostPool.
- cli:
- name: Integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The ring number of HostPool.
- cli:
- name: Integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Number of sessions on SessionHost.
- cli:
- name: Integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: String
- description: simple string
- cli:
- name: String
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- cli:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- cli:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_136
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_137
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceName
- description: The name of the resource
- cli:
- name: ResourceName
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- cli:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_94
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorCode
- description: Error code
- cli:
- name: CloudErrorCode
- description: Error code
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- cli:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- cli:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_180
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_100
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- cli:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- cli:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_103
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_104
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_106
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_107
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopListNextLink
- description: Link to the next page of results.
- cli:
- name: DesktopListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- cli:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_113
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- cli:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- cli:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- cli:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- cli:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_402
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- cli:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- cli:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- cli:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_115
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- cli:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_403
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageTitle
- description: Title of message.
- cli:
- name: SendMessageTitle
- description: Title of message.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageBody
- description: Body of message.
- cli:
- name: SendMessageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: do_not_allow
- description: ''
- cli:
- name: DoNotAllow
- description: ''
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: allow
- description: ''
- cli:
- name: Allow
- description: ''
- cliKey: Allow
- - value: Require
- language:
- default:
- name: require
- description: ''
- cli:
- name: Require
- description: ''
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- name: 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.'
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: personal
- description: ''
- cli:
- name: Personal
- description: ''
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: pooled
- description: ''
- cli:
- name: Pooled
- description: ''
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- name: HostPoolType
- description: HostPool type for desktop.
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: automatic
- description: ''
- cli:
- name: Automatic
- description: ''
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: direct
- description: ''
- cli:
- name: Direct
- description: ''
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: breadth_first
- description: ''
- cli:
- name: BreadthFirst
- description: ''
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: depth_first
- description: ''
- cli:
- name: DepthFirst
- description: ''
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: persistent
- description: ''
- cli:
- name: Persistent
- description: ''
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- name: LoadBalancerType
- description: The type of the load balancer.
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: delete
- description: ''
- cli:
- name: Delete
- description: ''
- cliKey: Delete
- - value: None
- language:
- default:
- name: none
- description: ''
- cli:
- name: None
- description: ''
- cliKey: None
- - value: Update
- language:
- default:
- name: update
- description: ''
- cli:
- name: Update
- description: ''
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- name: ApplicationType
- description: Application type of application.
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: unknown
- description: ''
- cli:
- name: Unknown
- description: ''
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: active
- description: ''
- cli:
- name: Active
- description: ''
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: log_off
- description: ''
- cli:
- name: LogOff
- description: ''
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: user_profile_disk_mounted
- description: ''
- cli:
- name: UserProfileDiskMounted
- description: ''
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- name: SessionState
- description: State of user session.
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: available
- description: ''
- cli:
- name: Available
- description: ''
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: unavailable
- description: ''
- cli:
- name: Unavailable
- description: ''
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: shutdown
- description: ''
- cli:
- name: Shutdown
- description: ''
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: upgrading
- description: ''
- cli:
- name: Upgrading
- description: ''
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: upgrade_failed
- description: ''
- cli:
- name: UpgradeFailed
- description: ''
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- name: Status
- description: Status for a SessionHost.
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: initial
- description: ''
- cli:
- name: Initial
- description: ''
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: Started
- language:
- default:
- name: started
- description: ''
- cli:
- name: Started
- description: ''
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: succeeded
- description: ''
- cli:
- name: Succeeded
- description: ''
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: failed
- description: ''
- cli:
- name: Failed
- description: ''
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- name: UpdateState
- description: Update state of a SessionHost.
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_131
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: api_version2019_12_10_preview
- description: Api Version (2019-12-10-preview)
- cli:
- name: ApiVersion20191210Preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_141
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application_json
- description: Content Type 'application/json'
- cli:
- name: ApplicationJson
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResourceTags
- description: Resource tags.
- cli:
- name: TrackedResourceTags
- description: Resource tags.
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_content
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_content
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_expiration_time
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_create_time
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_heart_beat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_status_timestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_update_time
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_134
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_118
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- name: resource
- description: Resource on which the operation is performed.
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- name: description
- description: Description of this operation.
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- name: display
- description: Display metadata associated with the operation.
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- name: value
- description: List of operations supported by this resource provider.
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_147
- schema: *ref_11
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_148
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_149
- schema: *ref_12
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_150
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_151
- schema: &ref_119
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: &ref_152
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- name: Workspace
- description: Represents a Workspace definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_188
- schema: *ref_14
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_189
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_190
- schema: *ref_15
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_191
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- - &ref_192
- schema: *ref_16
- flattenedNames:
- - properties
- - hostPoolArmPath
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: &ref_193
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- flattenedNames:
- - properties
- - workspaceArmPath
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cliKey: workspaceArmPath
- protocol: {}
- - &ref_194
- schema: *ref_18
- flattenedNames:
- - properties
- - applicationGroupType
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: &ref_195
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_316
- schema: *ref_19
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_317
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_318
- schema: *ref_20
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_319
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_320
- schema: *ref_21
- flattenedNames:
- - properties
- - hostPoolType
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: &ref_321
- name: hostPoolType
- description: HostPool type for desktop.
- cliKey: hostPoolType
- protocol: {}
- - &ref_322
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_323
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_324
- schema: *ref_23
- flattenedNames:
- - properties
- - customRdpProperty
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_325
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_326
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_327
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_328
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_329
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_330
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_331
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_332
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_333
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_334
- schema: &ref_111
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expiration_time
- description: Expiration time of registration token.
- cli:
- name: expirationTime
- description: Expiration time of registration token.
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- name: token
- description: The registration token base64 encoded string.
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_335
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_336
- schema: *ref_31
- flattenedNames:
- - properties
- - vmTemplate
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: &ref_337
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_126
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- - &ref_338
- schema: *ref_33
- flattenedNames:
- - properties
- - ssoContext
- required: false
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_339
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- name: HostPool
- description: Represents a HostPool definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_143
- schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli: &ref_144
- name: tags
- description: Resource tags.
- cliKey: tags
- protocol: {}
- - &ref_145
- schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: &ref_146
- name: location
- description: The geo-location where the resource lives
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_207
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_208
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_209
- schema: *ref_40
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_210
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_211
- schema: *ref_41
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_212
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_42
- flattenedNames:
- - properties
- - appAlias
- serializedName: appAlias
- language:
- default:
- name: app_alias
- description: Alias of StartMenuItem.
- cli:
- name: appAlias
- description: Alias of StartMenuItem.
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of StartMenuItem.
- cli:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Path to the file of StartMenuItem.
- cli:
- name: filePath
- description: Path to the file of StartMenuItem.
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to the icon.
- cli:
- name: iconPath
- description: Path to the icon.
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli:
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_228
- schema: *ref_48
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_229
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_230
- schema: *ref_49
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_231
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_232
- schema: *ref_50
- flattenedNames:
- - properties
- - filePath
- required: false
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_233
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_234
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_235
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_236
- schema: *ref_52
- flattenedNames:
- - properties
- - commandLineArguments
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_237
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_238
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- required: false
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_239
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_240
- schema: *ref_54
- flattenedNames:
- - properties
- - iconPath
- required: false
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_241
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_242
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- required: false
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_243
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: the icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- name: Application
- description: Schema for Application properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_57
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - schema: *ref_58
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli:
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: The icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- name: Desktop
- description: Schema for Desktop properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_361
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_362
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_363
- schema: *ref_61
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_364
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_365
- schema: *ref_62
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_366
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_367
- schema: *ref_63
- flattenedNames:
- - properties
- - customRdpProperty
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_368
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_369
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_370
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_371
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_372
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_373
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_374
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_375
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_376
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_377
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_378
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_379
- schema: &ref_112
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_380
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_381
- schema: *ref_64
- flattenedNames:
- - properties
- - ssoContext
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_382
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_65
- flattenedNames:
- - properties
- - userPrincipalName
- serializedName: userPrincipalName
- language:
- default:
- name: user_principal_name
- description: The user principal name.
- cli:
- name: userPrincipalName
- description: The user principal name.
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- flattenedNames:
- - properties
- - applicationType
- serializedName: applicationType
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- name: applicationType
- description: Application type of application.
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- flattenedNames:
- - properties
- - sessionState
- serializedName: sessionState
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- name: sessionState
- description: State of user session.
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- flattenedNames:
- - properties
- - activeDirectoryUserName
- serializedName: activeDirectoryUserName
- language:
- default:
- name: active_directory_user_name
- description: The active directory user name.
- cli:
- name: activeDirectoryUserName
- description: The active directory user name.
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- flattenedNames:
- - properties
- - createTime
- serializedName: createTime
- language:
- default:
- name: create_time
- description: The timestamp of the user session create.
- cli:
- name: createTime
- description: The timestamp of the user session create.
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- name: UserSession
- description: Represents a UserSession definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_70
- flattenedNames:
- - properties
- - lastHeartBeat
- serializedName: lastHeartBeat
- language:
- default:
- name: last_heart_beat
- description: Last heart beat from SessionHost.
- cli:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- flattenedNames:
- - properties
- - sessions
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- name: sessions
- description: Number of sessions on SessionHost.
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- flattenedNames:
- - properties
- - agentVersion
- serializedName: agentVersion
- language:
- default:
- name: agent_version
- description: Version of agent on SessionHost.
- cli:
- name: agentVersion
- description: Version of agent on SessionHost.
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli:
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli:
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- flattenedNames:
- - properties
- - status
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- name: status
- description: Status for a SessionHost.
- cliKey: status
- protocol: {}
- - schema: *ref_76
- flattenedNames:
- - properties
- - statusTimestamp
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: status_timestamp
- description: The timestamp of the status.
- cli:
- name: statusTimestamp
- description: The timestamp of the status.
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- flattenedNames:
- - properties
- - osVersion
- serializedName: osVersion
- language:
- default:
- name: os_version
- description: The version of the OS on the session host.
- cli:
- name: osVersion
- description: The version of the OS on the session host.
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- flattenedNames:
- - properties
- - sxSStackVersion
- serializedName: sxSStackVersion
- language:
- default:
- name: sx_s_stack_version
- description: The version of the side by side stack on the session host.
- cli:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- flattenedNames:
- - properties
- - updateState
- serializedName: updateState
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- name: updateState
- description: Update state of a SessionHost.
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- flattenedNames:
- - properties
- - lastUpdateTime
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: last_update_time
- description: The timestamp of the last update.
- cli:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- flattenedNames:
- - properties
- - updateErrorMessage
- serializedName: updateErrorMessage
- language:
- default:
- name: update_error_message
- description: The error message.
- cli:
- name: updateErrorMessage
- description: The error message.
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- name: SessionHost
- description: Represents a SessionHost definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_440
- schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: &ref_441
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - &ref_442
- schema: *ref_82
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: &ref_443
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- name: name
- description: The name of the resource
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- name: Resource
- description: ''
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - &ref_140
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_94
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- name: code
- description: Error code
- cliKey: code
- protocol: {}
- - schema: *ref_95
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- name: message
- description: Error message indicating why the operation failed.
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- name: CloudError
- description: Error response of an operation failure
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_162
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_164
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_165
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_166
- schema: *ref_96
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_167
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_168
- schema: *ref_97
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_169
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_170
- schema: &ref_120
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_98
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: &ref_171
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - &ref_179
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_121
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- name: value
- description: List of Workspace definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_99
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- name: WorkspaceList
- description: List of Workspace definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_184
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_122
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- name: value
- description: List of ApplicationGroup definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_100
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_83
- - &ref_223
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_123
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- name: value
- description: List of StartMenuItem definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_85
- - &ref_258
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_260
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_261
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_262
- schema: *ref_102
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_263
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_264
- schema: *ref_103
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_265
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_266
- schema: *ref_104
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_267
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_268
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_269
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_270
- schema: *ref_105
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_271
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_272
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_273
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_274
- schema: *ref_106
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_275
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_276
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_277
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationPatch
- description: Application properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - &ref_292
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_124
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationListValue
- description: List of Application definitions.
- cli:
- name: ApplicationListValue
- description: List of Application definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- name: value
- description: List of Application definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_107
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- name: ApplicationList
- description: List of Application definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - &ref_296
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_298
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_299
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_300
- schema: *ref_108
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: &ref_301
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - &ref_302
- schema: *ref_109
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: &ref_303
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - &ref_312
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_125
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- name: value
- description: List of Desktop definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_110
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- name: DesktopList
- description: List of Desktop definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_111
- - *ref_87
- - *ref_112
- - &ref_397
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_127
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- name: value
- description: List of HostPool definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_113
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- name: HostPoolList
- description: List of HostPool definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_401
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_128
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- name: value
- description: List of UserSession definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- name: UserSessionList
- description: List of UserSession definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_89
- - *ref_90
- - &ref_451
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_129
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- name: value
- description: List of SessionHost definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_115
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- name: SessionHostList
- description: List of SessionHost definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_420
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_422
- schema: *ref_116
- serializedName: messageTitle
- language:
- default:
- name: message_title
- description: Title of message.
- cli: &ref_423
- name: messageTitle
- description: Title of message.
- cliKey: messageTitle
- protocol: {}
- - &ref_424
- schema: *ref_117
- serializedName: messageBody
- language:
- default:
- name: message_body
- description: Body of message.
- cli: &ref_425
- name: messageBody
- description: Body of message.
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- name: SendMessage
- description: Represents message sent to a UserSession.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_118
- - *ref_119
- - *ref_120
- - *ref_121
- - *ref_122
- - *ref_123
- - *ref_124
- - *ref_125
- - *ref_126
- - *ref_127
- - *ref_128
- - *ref_129
-globalParameters:
- - &ref_135
- schema: *ref_130
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscription_id
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- name: subscriptionId
- description: The ID of the target subscription.
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_132
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- name: $host
- description: server parameter
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_133
- schema: *ref_131
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: api_version
- description: Api Version
- serializedName: api-version
- cli:
- name: ApiVersion
- description: Api Version
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_134
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: list
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cliKey: List
- hidden: true
- protocol: {}
- language:
- default:
- name: Operation
- description: ''
- cli:
- name: Operation
- description: ''
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_138
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_139
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_138
- - *ref_139
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a workspace.
- cli:
- name: Get
- description: Get a workspace.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_158
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_159
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_142
- schema: *ref_34
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_153
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_154
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_155
- schema: *ref_11
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_147
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_148
- protocol: {}
- - &ref_156
- schema: *ref_12
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_149
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_150
- protocol: {}
- - &ref_157
- schema: *ref_119
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_151
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: *ref_152
- protocol: {}
- signatureParameters:
- - *ref_153
- - *ref_154
- - *ref_155
- - *ref_156
- - *ref_157
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_158
- - *ref_159
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a workspace.
- cli:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_160
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_161
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_160
- - *ref_161
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a workspace.
- cli:
- name: Delete
- description: Remove a workspace.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_176
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_177
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_163
- schema: *ref_162
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_172
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_164
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_165
- protocol: {}
- - &ref_173
- schema: *ref_96
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_166
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_167
- protocol: {}
- - &ref_174
- schema: *ref_97
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_168
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_169
- protocol: {}
- - &ref_175
- schema: *ref_120
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_170
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: *ref_171
- protocol: {}
- signatureParameters:
- - *ref_172
- - *ref_173
- - *ref_174
- - *ref_175
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_176
- - *ref_177
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a workspace.
- cli:
- name: Update
- description: Update a workspace.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_178
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_178
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List workspaces.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List workspaces in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspace
- description: ''
- cli:
- name: Workspace
- description: ''
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_181
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_182
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_181
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: workspace_level_list
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- name: WorkspaceLevelList
- description: List application group that user can use.
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignment
- description: ''
- cli:
- name: ApplicationGroupAssignment
- description: ''
- cliKey: ApplicationGroupAssignments
- hidden: true
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_185
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get an application group.
- cli:
- name: Get
- description: Get an application group.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_202
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_203
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_187
- schema: *ref_35
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_196
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_197
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_198
- schema: *ref_14
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_188
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_189
- protocol: {}
- - &ref_199
- schema: *ref_15
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_190
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_191
- protocol: {}
- - &ref_200
- schema: *ref_16
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_192
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: *ref_193
- protocol: {}
- - &ref_201
- schema: *ref_18
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_194
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: *ref_195
- protocol: {}
- signatureParameters:
- - *ref_196
- - *ref_197
- - *ref_198
- - *ref_199
- - *ref_200
- - *ref_201
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_202
- - *ref_203
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update an applicationGroup.
- cli:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_204
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_205
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_204
- - *ref_205
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove an applicationGroup.
- cli:
- name: Delete
- description: Remove an applicationGroup.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_216
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_217
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_206
- schema: *ref_83
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_213
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_207
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_208
- protocol: {}
- - &ref_214
- schema: *ref_40
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_209
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_210
- protocol: {}
- - &ref_215
- schema: *ref_41
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_211
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_212
- protocol: {}
- signatureParameters:
- - *ref_213
- - *ref_214
- - *ref_215
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_216
- - *ref_217
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update an applicationGroup.
- cli:
- name: Update
- description: Update an applicationGroup.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_218
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_219
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_218
- - *ref_219
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List applicationGroups.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_220
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroup
- description: ''
- cli:
- name: ApplicationGroup
- description: ''
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_221
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_222
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_221
- - *ref_222
- responses:
- - schema: *ref_223
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List start menu items in the given application group.
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItem
- description: ''
- cli:
- name: StartMenuItem
- description: ''
- cliKey: StartMenuItems
- hidden: true
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_224
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_226
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_224
- - *ref_225
- - *ref_226
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: get
- description: Get an application.
- cli:
- name: Get
- description: Get an application.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_252
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_253
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_254
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_227
- schema: *ref_85
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_244
- schema: *ref_48
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_228
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_229
- protocol: {}
- - &ref_245
- schema: *ref_49
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_230
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_231
- protocol: {}
- - &ref_246
- schema: *ref_50
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_232
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_233
- protocol: {}
- - &ref_247
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: true
- targetProperty: *ref_234
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_235
- protocol: {}
- - &ref_248
- schema: *ref_52
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_236
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_237
- protocol: {}
- - &ref_249
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_238
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_239
- protocol: {}
- - &ref_250
- schema: *ref_54
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_240
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_241
- protocol: {}
- - &ref_251
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_242
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_243
- protocol: {}
- signatureParameters:
- - *ref_244
- - *ref_245
- - *ref_246
- - *ref_247
- - *ref_248
- - *ref_249
- - *ref_250
- - *ref_251
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_252
- - *ref_253
- - *ref_254
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: create_or_update
- description: Create or update an application.
- cli:
- name: CreateOrUpdate
- description: Create or update an application.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_255
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: delete
- description: Remove an application.
- cli:
- name: Delete
- description: Remove an application.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_287
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_288
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_289
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_259
- schema: *ref_258
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_278
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_260
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_261
- protocol: {}
- - &ref_279
- schema: *ref_102
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_262
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_263
- protocol: {}
- - &ref_280
- schema: *ref_103
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_264
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_265
- protocol: {}
- - &ref_281
- schema: *ref_104
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_266
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_267
- protocol: {}
- - &ref_282
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_268
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_269
- protocol: {}
- - &ref_283
- schema: *ref_105
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_270
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_271
- protocol: {}
- - &ref_284
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_272
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_273
- protocol: {}
- - &ref_285
- schema: *ref_106
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_274
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_275
- protocol: {}
- - &ref_286
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_276
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_277
- protocol: {}
- signatureParameters:
- - *ref_278
- - *ref_279
- - *ref_280
- - *ref_281
- - *ref_282
- - *ref_283
- - *ref_284
- - *ref_285
- - *ref_286
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_287
- - *ref_288
- - *ref_289
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: update
- description: Update an application.
- cli:
- name: Update
- description: Update an application.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_290
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_291
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_290
- - *ref_291
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List applications.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Application
- description: ''
- cli:
- name: Application
- description: ''
- cliKey: Applications
- hidden: true
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_293
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_294
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_295
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_293
- - *ref_294
- - *ref_295
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: get
- description: Get a desktop.
- cli:
- name: Get
- description: Get a desktop.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_307
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_308
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_309
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_297
- schema: *ref_296
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _desktop
- description: Object containing Desktop definitions.
- cli:
- name: _desktop
- description: Object containing Desktop definitions.
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- - &ref_304
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_298
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_299
- protocol: {}
- - &ref_305
- schema: *ref_108
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_300
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: *ref_301
- protocol: {}
- - &ref_306
- schema: *ref_109
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_302
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: *ref_303
- protocol: {}
- signatureParameters:
- - *ref_304
- - *ref_305
- - *ref_306
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_307
- - *ref_308
- - *ref_309
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: update
- description: Update a desktop.
- cli:
- name: Update
- description: Update a desktop.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_310
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_311
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_310
- - *ref_311
- responses:
- - schema: *ref_312
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: list
- description: List desktops.
- cli:
- name: List
- description: List desktops.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktops
- hidden: true
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_313
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_314
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_313
- - *ref_314
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a host pool.
- cli:
- name: Get
- description: Get a host pool.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_354
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_355
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_315
- schema: *ref_36
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_340
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_341
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_342
- schema: *ref_19
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_316
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_317
- protocol: {}
- - &ref_343
- schema: *ref_20
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_318
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_319
- protocol: {}
- - &ref_344
- schema: *ref_21
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_320
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: *ref_321
- protocol: {}
- - &ref_345
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_322
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_323
- protocol: {}
- - &ref_346
- schema: *ref_23
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_324
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_325
- protocol: {}
- - &ref_347
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_326
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_327
- protocol: {}
- - &ref_348
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_328
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_329
- protocol: {}
- - &ref_349
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_330
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_331
- protocol: {}
- - &ref_350
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_332
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_333
- protocol: {}
- - &ref_351
- schema: *ref_111
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_334
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_335
- protocol: {}
- - &ref_352
- schema: *ref_31
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_336
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: *ref_337
- protocol: {}
- - &ref_353
- schema: *ref_33
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_338
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_339
- protocol: {}
- signatureParameters:
- - *ref_340
- - *ref_341
- - *ref_342
- - *ref_343
- - *ref_344
- - *ref_345
- - *ref_346
- - *ref_347
- - *ref_348
- - *ref_349
- - *ref_350
- - *ref_351
- - *ref_352
- - *ref_353
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_354
- - *ref_355
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a host pool.
- cli:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_357
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_358
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_359
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- name: force
- description: Force flag to delete sessionHost.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_357
- - *ref_358
- - *ref_359
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a host pool.
- cli:
- name: Delete
- description: Remove a host pool.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_394
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_395
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_360
- schema: *ref_87
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_383
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_361
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_362
- protocol: {}
- - &ref_384
- schema: *ref_61
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_363
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_364
- protocol: {}
- - &ref_385
- schema: *ref_62
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_365
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_366
- protocol: {}
- - &ref_386
- schema: *ref_63
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_367
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_368
- protocol: {}
- - &ref_387
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_369
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_370
- protocol: {}
- - &ref_388
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_371
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_372
- protocol: {}
- - &ref_389
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_373
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_374
- protocol: {}
- - &ref_390
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_375
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_376
- protocol: {}
- - &ref_391
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_377
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_378
- protocol: {}
- - &ref_392
- schema: *ref_112
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_379
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_380
- protocol: {}
- - &ref_393
- schema: *ref_64
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_381
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_382
- protocol: {}
- signatureParameters:
- - *ref_383
- - *ref_384
- - *ref_385
- - *ref_386
- - *ref_387
- - *ref_388
- - *ref_389
- - *ref_390
- - *ref_391
- - *ref_392
- - *ref_393
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_394
- - *ref_395
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a host pool.
- cli:
- name: Update
- description: Update a host pool.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_396
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_396
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List hostPools.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List hostPools in subscription.
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPool
- description: ''
- cli:
- name: HostPool
- description: ''
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_398
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_399
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_400
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_398
- - *ref_399
- - *ref_400
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_host_pool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByHostPool
- description: List userSessions.
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_404
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_405
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_406
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_407
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_404
- - *ref_405
- - *ref_406
- - *ref_407
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: get
- description: Get a userSession.
- cli:
- name: Get
- description: Get a userSession.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_408
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_409
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_410
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_411
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_412
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- name: force
- description: Force flag to login off userSession.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_408
- - *ref_409
- - *ref_410
- - *ref_411
- - *ref_412
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: delete
- description: Remove a userSession.
- cli:
- name: Delete
- description: Remove a userSession.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_413
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_414
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_415
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_413
- - *ref_414
- - *ref_415
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List userSessions.
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_416
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_417
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_418
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_419
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_416
- - *ref_417
- - *ref_418
- - *ref_419
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: disconnect
- description: Disconnect a userSession.
- cli:
- name: Disconnect
- description: Disconnect a userSession.
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_428
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_429
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_430
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_431
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_421
- schema: *ref_420
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _send_message
- description: Object containing message includes title and message body
- cli:
- name: _send_message
- description: Object containing message includes title and message body
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- - &ref_426
- schema: *ref_116
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_422
- language:
- default:
- name: message_title
- description: Title of message.
- cli: *ref_423
- protocol: {}
- - &ref_427
- schema: *ref_117
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_424
- language:
- default:
- name: message_body
- description: Body of message.
- cli: *ref_425
- protocol: {}
- signatureParameters:
- - *ref_426
- - *ref_427
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_428
- - *ref_429
- - *ref_430
- - *ref_431
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: send_message
- description: Send a message to a user.
- cli:
- name: SendMessage
- description: Send a message to a user.
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSession
- description: ''
- cli:
- name: UserSession
- description: ''
- cliKey: UserSessions
- hidden: true
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_432
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_433
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_434
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_432
- - *ref_433
- - *ref_434
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: get
- description: Get a session host.
- cli:
- name: Get
- description: Get a session host.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_435
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_436
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_437
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_438
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_435
- - *ref_436
- - *ref_437
- - *ref_438
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: delete
- description: Remove a SessionHost.
- cli:
- name: Delete
- description: Remove a SessionHost.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_446
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_447
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_448
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_439
- schema: *ref_90
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _session_host
- description: Object containing SessionHost definitions.
- cli:
- name: _session_host
- description: Object containing SessionHost definitions.
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- - &ref_444
- schema: *ref_73
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_440
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: *ref_441
- protocol: {}
- - &ref_445
- schema: *ref_82
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_442
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: *ref_443
- protocol: {}
- signatureParameters:
- - *ref_444
- - *ref_445
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_446
- - *ref_447
- - *ref_448
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: update
- description: Update a session host.
- cli:
- name: Update
- description: Update a session host.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_449
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_450
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_449
- - *ref_450
- responses:
- - schema: *ref_451
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List sessionHosts.
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHost
- description: ''
- cli:
- name: SessionHost
- description: ''
- cliKey: SessionHosts
- hidden: true
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_452
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_453
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_454
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_455
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_452
- - *ref_453
- - *ref_454
- - *ref_455
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_session_host
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySessionHost
- description: List applications for the given session host.
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplication
- description: ''
- cli:
- name: ActiveApplication
- description: ''
- cliKey: ActiveApplications
- hidden: true
- protocol: {}
-language:
- default:
- name: DesktopVirtualizationAPIClient
- description: ''
- cli:
- name: DesktopVirtualizationAPIClient
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre-simplified.yaml
deleted file mode 100644
index 893109e1471..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre-simplified.yaml
+++ /dev/null
@@ -1,2383 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operation
- cli:
- cliKey: Operations
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- hidden: true
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - operationGroupName: Workspace
- cli:
- cliKey: Workspaces
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(Workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: Workspace
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: WorkspacePatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignment
- cli:
- cliKey: ApplicationGroupAssignments
- hidden: true
- operations:
- - operationName: workspace_level_list
- cli:
- name: WorkspaceLevelList
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroup
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroup
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - parameterName[0]: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroupPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItem
- cli:
- cliKey: StartMenuItems
- hidden: true
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Application
- cli:
- cliKey: Applications
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(Application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: Application
- - parameterName[0]: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(ApplicationPatch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: ApplicationPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Desktop
- cli:
- cliKey: Desktops
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: DesktopPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: HostPool
- cli:
- cliKey: HostPools
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPool
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - parameterName[0]: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPoolPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: UserSession
- cli:
- cliKey: UserSessions
- hidden: true
- operations:
- - operationName: list_by_host_pool
- cli:
- name: ListByHostPool
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: disconnect
- cli:
- name: Disconnect
- cliKey: Disconnect
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: send_message
- cli:
- name: SendMessage
- cliKey: SendMessage
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _send_message(SendMessage^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: SendMessage
- - parameterName[0]: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - parameterName[0]: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- - operationGroupName: SessionHost
- cli:
- cliKey: SessionHosts
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _session_host(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: SessionHostPatch
- - parameterName[0]: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - parameterName[0]: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationGroupName: ActiveApplication
- cli:
- cliKey: ActiveApplications
- hidden: true
- operations:
- - operationName: list_by_session_host
- cli:
- name: ListBySessionHost
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- properties:
- - propertyName: value(ResourceProviderOperationListValue^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- properties:
- - propertyName: name(ResourceProviderOperationName^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperationDisplay^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperationDisplay
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- properties:
- - propertyName: provider(ResourceProviderOperationDisplayProvider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperationDisplayResource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperationDisplayOperation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperationDisplayDescription^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- properties:
- - propertyName: id(ResourceId^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(ResourceName^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(ResourceType^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- properties:
- - propertyName: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- properties:
- - propertyName: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- properties:
- - propertyName: code(CloudErrorCode^string)
- cli:
- cliKey: code
- - propertyName: message(CloudErrorMessage^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- properties:
- - propertyName: value(WorkspaceListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(WorkspaceListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- properties:
- - propertyName: value(ApplicationGroupListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationGroupListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- properties:
- - propertyName: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - propertyName: workspace_arm_path(ApplicationGroupPropertiesWorkspaceArmPath^string)
- cli:
- name: workspaceArmPath
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- properties:
- - propertyName: value(StartMenuItemListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(StartMenuItemListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- properties:
- - propertyName: app_alias(StartMenuItemPropertiesAppAlias^string)
- cli:
- name: appAlias
- cliKey: appAlias
- - propertyName: friendly_name(StartMenuItemPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(StartMenuItemPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_arguments(StartMenuItemPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: icon_path(StartMenuItemPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- properties:
- - propertyName: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - propertyName: icon_hash(ApplicationPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(application_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- properties:
- - propertyName: value(ApplicationListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- properties:
- - propertyName: description(DesktopPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: icon_hash(DesktopPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(desktop_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- properties:
- - propertyName: value(DesktopListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(DesktopListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- properties:
- - propertyName: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - propertyName: application_group_references(HostPoolPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- properties:
- - propertyName: expiration_time(registration_info_expiration_time^date-time)
- cli:
- name: expirationTime
- cliKey: expirationTime
- - propertyName: token(RegistrationInfoToken^string)
- cli:
- cliKey: token
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- properties:
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- properties:
- - propertyName: value(HostPoolListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(HostPoolListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- properties:
- - propertyName: value(UserSessionListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(UserSessionListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- properties:
- - propertyName: user_principal_name(UserSessionPropertiesUserPrincipalName^string)
- cli:
- name: userPrincipalName
- cliKey: userPrincipalName
- - propertyName: application_type(ApplicationType^choice)
- cli:
- name: applicationType
- cliKey: applicationType
- - propertyName: session_state(SessionState^choice)
- cli:
- name: sessionState
- cliKey: sessionState
- - propertyName: active_directory_user_name(UserSessionPropertiesActiveDirectoryUserName^string)
- cli:
- name: activeDirectoryUserName
- cliKey: activeDirectoryUserName
- - propertyName: create_time(user_session_properties_create_time^date-time)
- cli:
- name: createTime
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- properties:
- - propertyName: last_heart_beat(session_host_properties_last_heart_beat^date-time)
- cli:
- name: lastHeartBeat
- cliKey: lastHeartBeat
- - propertyName: sessions(Integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agent_version(SessionHostPropertiesAgentVersion^string)
- cli:
- name: agentVersion
- cliKey: agentVersion
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: status_timestamp(session_host_properties_status_timestamp^date-time)
- cli:
- name: statusTimestamp
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: os_version(SessionHostPropertiesOsVersion^string)
- cli:
- name: osVersion
- cliKey: osVersion
- - propertyName: sx_s_stack_version(SessionHostPropertiesSxSStackVersion^string)
- cli:
- name: sxSStackVersion
- cliKey: sxSStackVersion
- - propertyName: update_state(UpdateState^choice)
- cli:
- name: updateState
- cliKey: updateState
- - propertyName: last_update_time(session_host_properties_last_update_time^date-time)
- cli:
- name: lastUpdateTime
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: update_error_message(SessionHostPropertiesUpdateErrorMessage^string)
- cli:
- name: updateErrorMessage
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- properties:
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- properties:
- - propertyName: value(SessionHostListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(SessionHostListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- properties:
- - propertyName: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - propertyName: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: do_not_allow
- cli:
- name: DoNotAllow
- cliKey: DoNotAllow
- - choiceValue: allow
- cli:
- name: Allow
- cliKey: Allow
- - choiceValue: require
- cli:
- name: Require
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: personal
- cli:
- name: Personal
- cliKey: Personal
- - choiceValue: pooled
- cli:
- name: Pooled
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: automatic
- cli:
- name: Automatic
- cliKey: Automatic
- - choiceValue: direct
- cli:
- name: Direct
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: breadth_first
- cli:
- name: BreadthFirst
- cliKey: BreadthFirst
- - choiceValue: depth_first
- cli:
- name: DepthFirst
- cliKey: DepthFirst
- - choiceValue: persistent
- cli:
- name: Persistent
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: delete
- cli:
- name: Delete
- cliKey: Delete
- - choiceValue: none
- cli:
- name: None
- cliKey: None
- - choiceValue: update
- cli:
- name: Update
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: unknown
- cli:
- name: Unknown
- cliKey: Unknown
- - choiceValue: active
- cli:
- name: Active
- cliKey: Active
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: log_off
- cli:
- name: LogOff
- cliKey: LogOff
- - choiceValue: user_profile_disk_mounted
- cli:
- name: UserProfileDiskMounted
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: available
- cli:
- name: Available
- cliKey: Available
- - choiceValue: unavailable
- cli:
- name: Unavailable
- cliKey: Unavailable
- - choiceValue: shutdown
- cli:
- name: Shutdown
- cliKey: Shutdown
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: upgrading
- cli:
- name: Upgrading
- cliKey: Upgrading
- - choiceValue: upgrade_failed
- cli:
- name: UpgradeFailed
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: initial
- cli:
- name: Initial
- cliKey: Initial
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: started
- cli:
- name: Started
- cliKey: Started
- - choiceValue: succeeded
- cli:
- name: Succeeded
- cliKey: Succeeded
- - choiceValue: failed
- cli:
- name: Failed
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre.yaml b/src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre.yaml
deleted file mode 100644
index fcddf16f6e2..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre.yaml
+++ /dev/null
@@ -1,11138 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 120
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_356
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Index of the icon.
- cli:
- name: Integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The max session limit of HostPool.
- cli:
- name: Integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The ring number of HostPool.
- cli:
- name: Integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Number of sessions on SessionHost.
- cli:
- name: Integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: String
- description: simple string
- cli:
- name: String
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- cli:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- cli:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_136
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_137
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceName
- description: The name of the resource
- cli:
- name: ResourceName
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- cli:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_94
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorCode
- description: Error code
- cli:
- name: CloudErrorCode
- description: Error code
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- cli:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- cli:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_180
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_100
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- cli:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- cli:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_103
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_104
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_106
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_107
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopListNextLink
- description: Link to the next page of results.
- cli:
- name: DesktopListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- cli:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_113
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- cli:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- cli:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- cli:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- cli:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_402
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- cli:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- cli:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- cli:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_115
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- cli:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_403
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageTitle
- description: Title of message.
- cli:
- name: SendMessageTitle
- description: Title of message.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageBody
- description: Body of message.
- cli:
- name: SendMessageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: do_not_allow
- description: ''
- cli:
- name: DoNotAllow
- description: ''
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: allow
- description: ''
- cli:
- name: Allow
- description: ''
- cliKey: Allow
- - value: Require
- language:
- default:
- name: require
- description: ''
- cli:
- name: Require
- description: ''
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- name: 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.'
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: personal
- description: ''
- cli:
- name: Personal
- description: ''
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: pooled
- description: ''
- cli:
- name: Pooled
- description: ''
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- name: HostPoolType
- description: HostPool type for desktop.
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: automatic
- description: ''
- cli:
- name: Automatic
- description: ''
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: direct
- description: ''
- cli:
- name: Direct
- description: ''
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: breadth_first
- description: ''
- cli:
- name: BreadthFirst
- description: ''
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: depth_first
- description: ''
- cli:
- name: DepthFirst
- description: ''
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: persistent
- description: ''
- cli:
- name: Persistent
- description: ''
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- name: LoadBalancerType
- description: The type of the load balancer.
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: delete
- description: ''
- cli:
- name: Delete
- description: ''
- cliKey: Delete
- - value: None
- language:
- default:
- name: none
- description: ''
- cli:
- name: None
- description: ''
- cliKey: None
- - value: Update
- language:
- default:
- name: update
- description: ''
- cli:
- name: Update
- description: ''
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- name: ApplicationType
- description: Application type of application.
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: unknown
- description: ''
- cli:
- name: Unknown
- description: ''
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: active
- description: ''
- cli:
- name: Active
- description: ''
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: log_off
- description: ''
- cli:
- name: LogOff
- description: ''
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: user_profile_disk_mounted
- description: ''
- cli:
- name: UserProfileDiskMounted
- description: ''
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- name: SessionState
- description: State of user session.
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: available
- description: ''
- cli:
- name: Available
- description: ''
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: unavailable
- description: ''
- cli:
- name: Unavailable
- description: ''
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: shutdown
- description: ''
- cli:
- name: Shutdown
- description: ''
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: upgrading
- description: ''
- cli:
- name: Upgrading
- description: ''
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: upgrade_failed
- description: ''
- cli:
- name: UpgradeFailed
- description: ''
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- name: Status
- description: Status for a SessionHost.
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: initial
- description: ''
- cli:
- name: Initial
- description: ''
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: Started
- language:
- default:
- name: started
- description: ''
- cli:
- name: Started
- description: ''
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: succeeded
- description: ''
- cli:
- name: Succeeded
- description: ''
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: failed
- description: ''
- cli:
- name: Failed
- description: ''
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- name: UpdateState
- description: Update state of a SessionHost.
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_131
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: api_version2019_12_10_preview
- description: Api Version (2019-12-10-preview)
- cli:
- name: ApiVersion20191210Preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_141
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application_json
- description: Content Type 'application/json'
- cli:
- name: ApplicationJson
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResourceTags
- description: Resource tags.
- cli:
- name: TrackedResourceTags
- description: Resource tags.
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_content
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_content
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_expiration_time
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_create_time
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_heart_beat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_status_timestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_update_time
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_134
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_118
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- name: resource
- description: Resource on which the operation is performed.
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- name: description
- description: Description of this operation.
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- name: display
- description: Display metadata associated with the operation.
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- name: value
- description: List of operations supported by this resource provider.
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_147
- schema: *ref_11
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_148
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_149
- schema: *ref_12
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_150
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_151
- schema: &ref_119
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: &ref_152
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- name: Workspace
- description: Represents a Workspace definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_188
- schema: *ref_14
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_189
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_190
- schema: *ref_15
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_191
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- - &ref_192
- schema: *ref_16
- flattenedNames:
- - properties
- - hostPoolArmPath
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: &ref_193
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- flattenedNames:
- - properties
- - workspaceArmPath
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cliKey: workspaceArmPath
- protocol: {}
- - &ref_194
- schema: *ref_18
- flattenedNames:
- - properties
- - applicationGroupType
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: &ref_195
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_316
- schema: *ref_19
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_317
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_318
- schema: *ref_20
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_319
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_320
- schema: *ref_21
- flattenedNames:
- - properties
- - hostPoolType
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: &ref_321
- name: hostPoolType
- description: HostPool type for desktop.
- cliKey: hostPoolType
- protocol: {}
- - &ref_322
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_323
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_324
- schema: *ref_23
- flattenedNames:
- - properties
- - customRdpProperty
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_325
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_326
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_327
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_328
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_329
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_330
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_331
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_332
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_333
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_334
- schema: &ref_111
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expiration_time
- description: Expiration time of registration token.
- cli:
- name: expirationTime
- description: Expiration time of registration token.
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- name: token
- description: The registration token base64 encoded string.
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_335
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_336
- schema: *ref_31
- flattenedNames:
- - properties
- - vmTemplate
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: &ref_337
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_126
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- - &ref_338
- schema: *ref_33
- flattenedNames:
- - properties
- - ssoContext
- required: false
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_339
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- name: HostPool
- description: Represents a HostPool definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_143
- schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli: &ref_144
- name: tags
- description: Resource tags.
- cliKey: tags
- protocol: {}
- - &ref_145
- schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: &ref_146
- name: location
- description: The geo-location where the resource lives
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_207
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_208
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_209
- schema: *ref_40
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_210
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_211
- schema: *ref_41
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_212
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_42
- flattenedNames:
- - properties
- - appAlias
- serializedName: appAlias
- language:
- default:
- name: app_alias
- description: Alias of StartMenuItem.
- cli:
- name: appAlias
- description: Alias of StartMenuItem.
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of StartMenuItem.
- cli:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Path to the file of StartMenuItem.
- cli:
- name: filePath
- description: Path to the file of StartMenuItem.
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to the icon.
- cli:
- name: iconPath
- description: Path to the icon.
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli:
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_228
- schema: *ref_48
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_229
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_230
- schema: *ref_49
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_231
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_232
- schema: *ref_50
- flattenedNames:
- - properties
- - filePath
- required: false
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_233
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_234
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_235
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_236
- schema: *ref_52
- flattenedNames:
- - properties
- - commandLineArguments
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_237
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_238
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- required: false
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_239
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_240
- schema: *ref_54
- flattenedNames:
- - properties
- - iconPath
- required: false
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_241
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_242
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- required: false
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_243
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: the icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- name: Application
- description: Schema for Application properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_57
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - schema: *ref_58
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli:
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: The icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- name: Desktop
- description: Schema for Desktop properties.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_361
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_362
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_363
- schema: *ref_61
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_364
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_365
- schema: *ref_62
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_366
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_367
- schema: *ref_63
- flattenedNames:
- - properties
- - customRdpProperty
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_368
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_369
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_370
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_371
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_372
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_373
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_374
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_375
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_376
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_377
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_378
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_379
- schema: &ref_112
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_380
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_381
- schema: *ref_64
- flattenedNames:
- - properties
- - ssoContext
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_382
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_65
- flattenedNames:
- - properties
- - userPrincipalName
- serializedName: userPrincipalName
- language:
- default:
- name: user_principal_name
- description: The user principal name.
- cli:
- name: userPrincipalName
- description: The user principal name.
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- flattenedNames:
- - properties
- - applicationType
- serializedName: applicationType
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- name: applicationType
- description: Application type of application.
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- flattenedNames:
- - properties
- - sessionState
- serializedName: sessionState
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- name: sessionState
- description: State of user session.
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- flattenedNames:
- - properties
- - activeDirectoryUserName
- serializedName: activeDirectoryUserName
- language:
- default:
- name: active_directory_user_name
- description: The active directory user name.
- cli:
- name: activeDirectoryUserName
- description: The active directory user name.
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- flattenedNames:
- - properties
- - createTime
- serializedName: createTime
- language:
- default:
- name: create_time
- description: The timestamp of the user session create.
- cli:
- name: createTime
- description: The timestamp of the user session create.
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- name: UserSession
- description: Represents a UserSession definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_70
- flattenedNames:
- - properties
- - lastHeartBeat
- serializedName: lastHeartBeat
- language:
- default:
- name: last_heart_beat
- description: Last heart beat from SessionHost.
- cli:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- flattenedNames:
- - properties
- - sessions
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- name: sessions
- description: Number of sessions on SessionHost.
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- flattenedNames:
- - properties
- - agentVersion
- serializedName: agentVersion
- language:
- default:
- name: agent_version
- description: Version of agent on SessionHost.
- cli:
- name: agentVersion
- description: Version of agent on SessionHost.
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli:
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli:
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- flattenedNames:
- - properties
- - status
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- name: status
- description: Status for a SessionHost.
- cliKey: status
- protocol: {}
- - schema: *ref_76
- flattenedNames:
- - properties
- - statusTimestamp
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: status_timestamp
- description: The timestamp of the status.
- cli:
- name: statusTimestamp
- description: The timestamp of the status.
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- flattenedNames:
- - properties
- - osVersion
- serializedName: osVersion
- language:
- default:
- name: os_version
- description: The version of the OS on the session host.
- cli:
- name: osVersion
- description: The version of the OS on the session host.
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- flattenedNames:
- - properties
- - sxSStackVersion
- serializedName: sxSStackVersion
- language:
- default:
- name: sx_s_stack_version
- description: The version of the side by side stack on the session host.
- cli:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- flattenedNames:
- - properties
- - updateState
- serializedName: updateState
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- name: updateState
- description: Update state of a SessionHost.
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- flattenedNames:
- - properties
- - lastUpdateTime
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: last_update_time
- description: The timestamp of the last update.
- cli:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- flattenedNames:
- - properties
- - updateErrorMessage
- serializedName: updateErrorMessage
- language:
- default:
- name: update_error_message
- description: The error message.
- cli:
- name: updateErrorMessage
- description: The error message.
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- name: SessionHost
- description: Represents a SessionHost definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_440
- schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: &ref_441
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - &ref_442
- schema: *ref_82
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: &ref_443
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- name: name
- description: The name of the resource
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- name: Resource
- description: ''
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - &ref_140
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_94
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- name: code
- description: Error code
- cliKey: code
- protocol: {}
- - schema: *ref_95
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- name: message
- description: Error message indicating why the operation failed.
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- name: CloudError
- description: Error response of an operation failure
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_162
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_164
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_165
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_166
- schema: *ref_96
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_167
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_168
- schema: *ref_97
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_169
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_170
- schema: &ref_120
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_98
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: &ref_171
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - &ref_179
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_121
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- name: value
- description: List of Workspace definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_99
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- name: WorkspaceList
- description: List of Workspace definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_184
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_122
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- name: value
- description: List of ApplicationGroup definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_100
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_83
- - &ref_223
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_123
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- name: value
- description: List of StartMenuItem definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_85
- - &ref_258
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_260
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_261
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_262
- schema: *ref_102
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_263
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_264
- schema: *ref_103
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_265
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_266
- schema: *ref_104
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_267
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_268
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_269
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_270
- schema: *ref_105
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_271
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_272
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_273
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_274
- schema: *ref_106
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_275
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_276
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_277
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationPatch
- description: Application properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - &ref_292
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_124
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationListValue
- description: List of Application definitions.
- cli:
- name: ApplicationListValue
- description: List of Application definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- name: value
- description: List of Application definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_107
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- name: ApplicationList
- description: List of Application definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - &ref_296
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_298
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_299
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_300
- schema: *ref_108
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: &ref_301
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - &ref_302
- schema: *ref_109
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: &ref_303
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - &ref_312
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_125
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- name: value
- description: List of Desktop definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_110
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- name: DesktopList
- description: List of Desktop definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_111
- - *ref_87
- - *ref_112
- - &ref_397
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_127
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- name: value
- description: List of HostPool definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_113
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- name: HostPoolList
- description: List of HostPool definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_401
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_128
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- name: value
- description: List of UserSession definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- name: UserSessionList
- description: List of UserSession definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_89
- - *ref_90
- - &ref_451
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_129
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- name: value
- description: List of SessionHost definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_115
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- name: SessionHostList
- description: List of SessionHost definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_420
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_422
- schema: *ref_116
- serializedName: messageTitle
- language:
- default:
- name: message_title
- description: Title of message.
- cli: &ref_423
- name: messageTitle
- description: Title of message.
- cliKey: messageTitle
- protocol: {}
- - &ref_424
- schema: *ref_117
- serializedName: messageBody
- language:
- default:
- name: message_body
- description: Body of message.
- cli: &ref_425
- name: messageBody
- description: Body of message.
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- name: SendMessage
- description: Represents message sent to a UserSession.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_118
- - *ref_119
- - *ref_120
- - *ref_121
- - *ref_122
- - *ref_123
- - *ref_124
- - *ref_125
- - *ref_126
- - *ref_127
- - *ref_128
- - *ref_129
-globalParameters:
- - &ref_135
- schema: *ref_130
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscription_id
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- name: subscriptionId
- description: The ID of the target subscription.
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_132
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- name: $host
- description: server parameter
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_133
- schema: *ref_131
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: api_version
- description: Api Version
- serializedName: api-version
- cli:
- name: ApiVersion
- description: Api Version
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_134
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: list
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cliKey: List
- hidden: true
- protocol: {}
- language:
- default:
- name: Operation
- description: ''
- cli:
- name: Operation
- description: ''
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_138
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_139
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_138
- - *ref_139
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a workspace.
- cli:
- name: Get
- description: Get a workspace.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_158
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_159
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_142
- schema: *ref_34
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_153
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_154
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_155
- schema: *ref_11
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_147
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_148
- protocol: {}
- - &ref_156
- schema: *ref_12
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_149
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_150
- protocol: {}
- - &ref_157
- schema: *ref_119
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_151
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: *ref_152
- protocol: {}
- signatureParameters:
- - *ref_153
- - *ref_154
- - *ref_155
- - *ref_156
- - *ref_157
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_158
- - *ref_159
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a workspace.
- cli:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_160
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_161
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_160
- - *ref_161
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a workspace.
- cli:
- name: Delete
- description: Remove a workspace.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_176
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_177
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_163
- schema: *ref_162
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_172
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_164
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_165
- protocol: {}
- - &ref_173
- schema: *ref_96
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_166
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_167
- protocol: {}
- - &ref_174
- schema: *ref_97
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_168
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_169
- protocol: {}
- - &ref_175
- schema: *ref_120
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_170
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: *ref_171
- protocol: {}
- signatureParameters:
- - *ref_172
- - *ref_173
- - *ref_174
- - *ref_175
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_176
- - *ref_177
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a workspace.
- cli:
- name: Update
- description: Update a workspace.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_178
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_178
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List workspaces.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List workspaces in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspace
- description: ''
- cli:
- name: Workspace
- description: ''
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_181
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_182
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_181
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: workspace_level_list
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- name: WorkspaceLevelList
- description: List application group that user can use.
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignment
- description: ''
- cli:
- name: ApplicationGroupAssignment
- description: ''
- cliKey: ApplicationGroupAssignments
- hidden: true
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_185
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get an application group.
- cli:
- name: Get
- description: Get an application group.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_202
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_203
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_187
- schema: *ref_35
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_196
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_197
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_198
- schema: *ref_14
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_188
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_189
- protocol: {}
- - &ref_199
- schema: *ref_15
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_190
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_191
- protocol: {}
- - &ref_200
- schema: *ref_16
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_192
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: *ref_193
- protocol: {}
- - &ref_201
- schema: *ref_18
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_194
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: *ref_195
- protocol: {}
- signatureParameters:
- - *ref_196
- - *ref_197
- - *ref_198
- - *ref_199
- - *ref_200
- - *ref_201
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_202
- - *ref_203
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update an applicationGroup.
- cli:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_204
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_205
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_204
- - *ref_205
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove an applicationGroup.
- cli:
- name: Delete
- description: Remove an applicationGroup.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_216
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_217
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_206
- schema: *ref_83
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_213
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_207
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_208
- protocol: {}
- - &ref_214
- schema: *ref_40
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_209
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_210
- protocol: {}
- - &ref_215
- schema: *ref_41
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_211
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_212
- protocol: {}
- signatureParameters:
- - *ref_213
- - *ref_214
- - *ref_215
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_216
- - *ref_217
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update an applicationGroup.
- cli:
- name: Update
- description: Update an applicationGroup.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_218
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_219
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_218
- - *ref_219
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List applicationGroups.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_220
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroup
- description: ''
- cli:
- name: ApplicationGroup
- description: ''
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_221
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_222
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_221
- - *ref_222
- responses:
- - schema: *ref_223
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List start menu items in the given application group.
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItem
- description: ''
- cli:
- name: StartMenuItem
- description: ''
- cliKey: StartMenuItems
- hidden: true
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_224
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_226
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_224
- - *ref_225
- - *ref_226
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: get
- description: Get an application.
- cli:
- name: Get
- description: Get an application.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_252
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_253
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_254
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_227
- schema: *ref_85
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_244
- schema: *ref_48
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_228
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_229
- protocol: {}
- - &ref_245
- schema: *ref_49
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_230
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_231
- protocol: {}
- - &ref_246
- schema: *ref_50
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_232
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_233
- protocol: {}
- - &ref_247
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: true
- targetProperty: *ref_234
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_235
- protocol: {}
- - &ref_248
- schema: *ref_52
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_236
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_237
- protocol: {}
- - &ref_249
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_238
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_239
- protocol: {}
- - &ref_250
- schema: *ref_54
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_240
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_241
- protocol: {}
- - &ref_251
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_242
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_243
- protocol: {}
- signatureParameters:
- - *ref_244
- - *ref_245
- - *ref_246
- - *ref_247
- - *ref_248
- - *ref_249
- - *ref_250
- - *ref_251
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_252
- - *ref_253
- - *ref_254
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: create_or_update
- description: Create or update an application.
- cli:
- name: CreateOrUpdate
- description: Create or update an application.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_255
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: delete
- description: Remove an application.
- cli:
- name: Delete
- description: Remove an application.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_287
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_288
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_289
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_259
- schema: *ref_258
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_278
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_260
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_261
- protocol: {}
- - &ref_279
- schema: *ref_102
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_262
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_263
- protocol: {}
- - &ref_280
- schema: *ref_103
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_264
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_265
- protocol: {}
- - &ref_281
- schema: *ref_104
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_266
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_267
- protocol: {}
- - &ref_282
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_268
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_269
- protocol: {}
- - &ref_283
- schema: *ref_105
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_270
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_271
- protocol: {}
- - &ref_284
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_272
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_273
- protocol: {}
- - &ref_285
- schema: *ref_106
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_274
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_275
- protocol: {}
- - &ref_286
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_276
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_277
- protocol: {}
- signatureParameters:
- - *ref_278
- - *ref_279
- - *ref_280
- - *ref_281
- - *ref_282
- - *ref_283
- - *ref_284
- - *ref_285
- - *ref_286
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_287
- - *ref_288
- - *ref_289
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: update
- description: Update an application.
- cli:
- name: Update
- description: Update an application.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_290
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_291
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_290
- - *ref_291
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List applications.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Application
- description: ''
- cli:
- name: Application
- description: ''
- cliKey: Applications
- hidden: true
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_293
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_294
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_295
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_293
- - *ref_294
- - *ref_295
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: get
- description: Get a desktop.
- cli:
- name: Get
- description: Get a desktop.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_307
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_308
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_309
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_297
- schema: *ref_296
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _desktop
- description: Object containing Desktop definitions.
- cli:
- name: _desktop
- description: Object containing Desktop definitions.
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- - &ref_304
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_298
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_299
- protocol: {}
- - &ref_305
- schema: *ref_108
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_300
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: *ref_301
- protocol: {}
- - &ref_306
- schema: *ref_109
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_302
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: *ref_303
- protocol: {}
- signatureParameters:
- - *ref_304
- - *ref_305
- - *ref_306
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_307
- - *ref_308
- - *ref_309
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: update
- description: Update a desktop.
- cli:
- name: Update
- description: Update a desktop.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_310
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_311
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_310
- - *ref_311
- responses:
- - schema: *ref_312
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: list
- description: List desktops.
- cli:
- name: List
- description: List desktops.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktops
- hidden: true
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_313
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_314
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_313
- - *ref_314
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a host pool.
- cli:
- name: Get
- description: Get a host pool.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_354
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_355
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_315
- schema: *ref_36
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_340
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_341
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_342
- schema: *ref_19
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_316
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_317
- protocol: {}
- - &ref_343
- schema: *ref_20
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_318
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_319
- protocol: {}
- - &ref_344
- schema: *ref_21
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_320
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: *ref_321
- protocol: {}
- - &ref_345
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_322
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_323
- protocol: {}
- - &ref_346
- schema: *ref_23
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_324
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_325
- protocol: {}
- - &ref_347
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_326
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_327
- protocol: {}
- - &ref_348
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_328
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_329
- protocol: {}
- - &ref_349
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_330
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_331
- protocol: {}
- - &ref_350
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_332
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_333
- protocol: {}
- - &ref_351
- schema: *ref_111
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_334
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_335
- protocol: {}
- - &ref_352
- schema: *ref_31
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_336
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: *ref_337
- protocol: {}
- - &ref_353
- schema: *ref_33
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_338
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_339
- protocol: {}
- signatureParameters:
- - *ref_340
- - *ref_341
- - *ref_342
- - *ref_343
- - *ref_344
- - *ref_345
- - *ref_346
- - *ref_347
- - *ref_348
- - *ref_349
- - *ref_350
- - *ref_351
- - *ref_352
- - *ref_353
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_354
- - *ref_355
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a host pool.
- cli:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_357
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_358
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_359
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- name: force
- description: Force flag to delete sessionHost.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_357
- - *ref_358
- - *ref_359
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a host pool.
- cli:
- name: Delete
- description: Remove a host pool.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_394
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_395
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_360
- schema: *ref_87
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_383
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_361
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_362
- protocol: {}
- - &ref_384
- schema: *ref_61
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_363
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_364
- protocol: {}
- - &ref_385
- schema: *ref_62
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_365
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_366
- protocol: {}
- - &ref_386
- schema: *ref_63
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_367
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_368
- protocol: {}
- - &ref_387
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_369
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_370
- protocol: {}
- - &ref_388
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_371
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_372
- protocol: {}
- - &ref_389
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_373
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_374
- protocol: {}
- - &ref_390
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_375
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_376
- protocol: {}
- - &ref_391
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_377
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_378
- protocol: {}
- - &ref_392
- schema: *ref_112
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_379
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_380
- protocol: {}
- - &ref_393
- schema: *ref_64
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_381
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_382
- protocol: {}
- signatureParameters:
- - *ref_383
- - *ref_384
- - *ref_385
- - *ref_386
- - *ref_387
- - *ref_388
- - *ref_389
- - *ref_390
- - *ref_391
- - *ref_392
- - *ref_393
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_394
- - *ref_395
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a host pool.
- cli:
- name: Update
- description: Update a host pool.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_396
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_396
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List hostPools.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List hostPools in subscription.
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPool
- description: ''
- cli:
- name: HostPool
- description: ''
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_398
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_399
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_400
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_398
- - *ref_399
- - *ref_400
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_host_pool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByHostPool
- description: List userSessions.
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_404
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_405
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_406
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_407
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_404
- - *ref_405
- - *ref_406
- - *ref_407
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: get
- description: Get a userSession.
- cli:
- name: Get
- description: Get a userSession.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_408
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_409
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_410
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_411
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_412
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- name: force
- description: Force flag to login off userSession.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_408
- - *ref_409
- - *ref_410
- - *ref_411
- - *ref_412
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: delete
- description: Remove a userSession.
- cli:
- name: Delete
- description: Remove a userSession.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_413
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_414
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_415
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_413
- - *ref_414
- - *ref_415
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List userSessions.
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_416
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_417
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_418
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_419
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_416
- - *ref_417
- - *ref_418
- - *ref_419
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: disconnect
- description: Disconnect a userSession.
- cli:
- name: Disconnect
- description: Disconnect a userSession.
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_428
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_429
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_430
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_431
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_421
- schema: *ref_420
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _send_message
- description: Object containing message includes title and message body
- cli:
- name: _send_message
- description: Object containing message includes title and message body
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- - &ref_426
- schema: *ref_116
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_422
- language:
- default:
- name: message_title
- description: Title of message.
- cli: *ref_423
- protocol: {}
- - &ref_427
- schema: *ref_117
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_424
- language:
- default:
- name: message_body
- description: Body of message.
- cli: *ref_425
- protocol: {}
- signatureParameters:
- - *ref_426
- - *ref_427
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_428
- - *ref_429
- - *ref_430
- - *ref_431
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: send_message
- description: Send a message to a user.
- cli:
- name: SendMessage
- description: Send a message to a user.
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSession
- description: ''
- cli:
- name: UserSession
- description: ''
- cliKey: UserSessions
- hidden: true
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_432
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_433
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_434
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_432
- - *ref_433
- - *ref_434
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: get
- description: Get a session host.
- cli:
- name: Get
- description: Get a session host.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_435
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_436
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_437
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_438
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_435
- - *ref_436
- - *ref_437
- - *ref_438
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: delete
- description: Remove a SessionHost.
- cli:
- name: Delete
- description: Remove a SessionHost.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_446
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_447
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_448
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_439
- schema: *ref_90
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _session_host
- description: Object containing SessionHost definitions.
- cli:
- name: _session_host
- description: Object containing SessionHost definitions.
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- - &ref_444
- schema: *ref_73
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_440
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: *ref_441
- protocol: {}
- - &ref_445
- schema: *ref_82
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_442
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: *ref_443
- protocol: {}
- signatureParameters:
- - *ref_444
- - *ref_445
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_446
- - *ref_447
- - *ref_448
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: update
- description: Update a session host.
- cli:
- name: Update
- description: Update a session host.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_449
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_450
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_449
- - *ref_450
- responses:
- - schema: *ref_451
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List sessionHosts.
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHost
- description: ''
- cli:
- name: SessionHost
- description: ''
- cliKey: SessionHosts
- hidden: true
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_452
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_453
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_454
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_455
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_452
- - *ref_453
- - *ref_454
- - *ref_455
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_session_host
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySessionHost
- description: List applications for the given session host.
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplication
- description: ''
- cli:
- name: ActiveApplication
- description: ''
- cliKey: ActiveApplications
- hidden: true
- protocol: {}
-language:
- default:
- name: DesktopVirtualizationAPIClient
- description: ''
- cli:
- name: DesktopVirtualizationAPIClient
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post-simplified.yaml b/src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post-simplified.yaml
deleted file mode 100644
index 64c46f93a8e..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post-simplified.yaml
+++ /dev/null
@@ -1,2383 +0,0 @@
-operationGroups:
- all:
- - operationGroupName: Operation
- cli:
- cliKey: Operations
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- hidden: true
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - operationGroupName: Workspace
- cli:
- cliKey: Workspaces
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(Workspace^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: Workspace
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _workspace(WorkspacePatch^object)
- cli:
- cliKey: workspace
- x-ms-client-flatten: true
- bodySchema: WorkspacePatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: ApplicationGroupAssignment
- cli:
- cliKey: ApplicationGroupAssignments
- hidden: true
- operations:
- - operationName: workspace_level_list
- cli:
- name: WorkspaceLevelList
- cliKey: WorkspaceLevelList
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: workspace_name(String^string)
- cli:
- name: workspaceName
- cliKey: workspaceName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: ApplicationGroup
- cli:
- cliKey: ApplicationGroups
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroup^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroup
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - parameterName[0]: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application_group(ApplicationGroupPatch^object)
- cli:
- cliKey: applicationGroup
- x-ms-client-flatten: true
- bodySchema: ApplicationGroupPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: list_by_subscription
- cli:
- name: ListBySubscription
- cliKey: ListBySubscription
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationGroupName: StartMenuItem
- cli:
- cliKey: StartMenuItems
- hidden: true
- operations:
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Application
- cli:
- cliKey: Applications
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(Application^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: Application
- - parameterName[0]: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: application_name(String^string)
- cli:
- name: applicationName
- cliKey: applicationName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _application(ApplicationPatch^object)
- cli:
- cliKey: application
- x-ms-client-flatten: true
- bodySchema: ApplicationPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - parameterName[0]: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - parameterName[0]: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - parameterName[0]: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - parameterName[0]: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - parameterName[0]: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: Desktop
- cli:
- cliKey: Desktops
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - parameterName: desktop_name(String^string)
- cli:
- name: desktopName
- cliKey: desktopName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _desktop(DesktopPatch^object)
- cli:
- cliKey: desktop
- x-ms-client-flatten: true
- bodySchema: DesktopPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: application_group_name(String^string)
- cli:
- name: applicationGroupName
- cliKey: applicationGroupName
- - operationGroupName: HostPool
- cli:
- cliKey: HostPools
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationName: create_or_update
- cli:
- name: CreateOrUpdate
- cliKey: CreateOrUpdate
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPool^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPool
- - parameterName[0]: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - parameterName[0]: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - parameterName[0]: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - parameterName[0]: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _host_pool(HostPoolPatch^object)
- cli:
- cliKey: hostPool
- x-ms-client-flatten: true
- bodySchema: HostPoolPatch
- - parameterName[0]: tags(any^any)
- cli:
- cliKey: tags
- - parameterName[0]: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - parameterName[0]: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - parameterName[0]: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - parameterName[0]: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - parameterName[0]: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - parameterName[0]: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - parameterName[0]: ring(Integer^integer)
- cli:
- cliKey: ring
- - parameterName[0]: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - parameterName[0]: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - parameterName[0]: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - operationName: list_by_resource_group
- cli:
- name: ListByResourceGroup
- cliKey: ListByResourceGroup
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - operationGroupName: UserSession
- cli:
- cliKey: UserSessions
- hidden: true
- operations:
- - operationName: list_by_host_pool
- cli:
- name: ListByHostPool
- cliKey: ListByHostPool
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: disconnect
- cli:
- name: Disconnect
- cliKey: Disconnect
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - operationName: send_message
- cli:
- name: SendMessage
- cliKey: SendMessage
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: user_session_id(String^string)
- cli:
- name: userSessionId
- cliKey: userSessionId
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _send_message(SendMessage^object)
- cli:
- cliKey: sendMessage
- x-ms-client-flatten: true
- bodySchema: SendMessage
- - parameterName[0]: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - parameterName[0]: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- - operationGroupName: SessionHost
- cli:
- cliKey: SessionHosts
- hidden: true
- operations:
- - operationName: get
- cli:
- name: Get
- cliKey: Get
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - operationName: delete
- cli:
- name: Delete
- cliKey: Delete
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: force(boolean^boolean)
- cli:
- cliKey: force
- - operationName: update
- cli:
- name: Update
- cliKey: Update
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName[0]: content_type(application_json^constant)
- cli:
- name: ContentType
- cliKey: content-type
- - parameterName[0]: _session_host(SessionHostPatch^object)
- cli:
- cliKey: sessionHost
- x-ms-client-flatten: true
- bodySchema: SessionHostPatch
- - parameterName[0]: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - parameterName[0]: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - operationName: list
- cli:
- name: List
- cliKey: List
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - operationGroupName: ActiveApplication
- cli:
- cliKey: ActiveApplications
- hidden: true
- operations:
- - operationName: list_by_session_host
- cli:
- name: ListBySessionHost
- cliKey: ListBySessionHost
- parameters:
- - parameterName: $host(String^string)
- cli:
- cliKey: $host
- - parameterName: api_version(api_version2019_12_10_preview^constant)
- cli:
- name: ApiVersion
- cliKey: ApiVersion
- - parameterName: subscription_id(String^string)
- cli:
- name: subscriptionId
- cliKey: subscriptionId
- - parameterName: resource_group_name(String^string)
- cli:
- name: resourceGroupName
- cliKey: resourceGroupName
- - parameterName: host_pool_name(String^string)
- cli:
- name: hostPoolName
- cliKey: hostPoolName
- - parameterName: session_host_name(String^string)
- cli:
- name: sessionHostName
- cliKey: sessionHostName
- - parameterName: filter(String^string)
- cli:
- cliKey: $filter
-schemas:
- objects:
- all:
- - schemaName: ResourceProviderOperationList
- cli:
- cliKey: ResourceProviderOperationList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(ResourceProviderOperationListValue^array)
- cli:
- cliKey: value
- - schemaName: ResourceProviderOperation
- cli:
- cliKey: ResourceProviderOperation
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: name(ResourceProviderOperationName^string)
- cli:
- cliKey: name
- - propertyName: display(ResourceProviderOperationDisplay^object)
- cli:
- cliKey: display
- - schemaName: ResourceProviderOperationDisplay
- cli:
- cliKey: ResourceProviderOperation-display
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- cli-mark: checked
- properties:
- - propertyName: provider(ResourceProviderOperationDisplayProvider^string)
- cli:
- cliKey: provider
- - propertyName: resource(ResourceProviderOperationDisplayResource^string)
- cli:
- cliKey: resource
- - propertyName: operation(ResourceProviderOperationDisplayOperation^string)
- cli:
- cliKey: operation
- - propertyName: description(ResourceProviderOperationDisplayDescription^string)
- cli:
- cliKey: description
- - schemaName: Resource
- cli:
- cliKey: Resource
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- cli-mark: checked
- properties:
- - propertyName: id(ResourceId^string)
- cli:
- cliKey: id
- readOnly: true
- - propertyName: name(ResourceName^string)
- cli:
- cliKey: name
- readOnly: true
- - propertyName: type(ResourceType^string)
- cli:
- cliKey: type
- readOnly: true
- - schemaName: TrackedResource
- cli:
- cliKey: TrackedResource
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(TrackedResourceTags^dictionary)
- cli:
- cliKey: tags
- - propertyName: location(TrackedResourceLocation^string)
- cli:
- cliKey: location
- - schemaName: Workspace
- cli:
- cliKey: Workspace
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: description(WorkspacePropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: CloudError
- cli:
- cliKey: CloudError
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: code(CloudErrorCode^string)
- cli:
- cliKey: code
- - propertyName: message(CloudErrorMessage^string)
- cli:
- cliKey: message
- - schemaName: WorkspacePatch
- cli:
- cliKey: WorkspacePatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(WorkspacePatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(WorkspacePatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: application_group_references(WorkspacePatchPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- - schemaName: WorkspaceList
- cli:
- cliKey: WorkspaceList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(WorkspaceListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(WorkspaceListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroupList
- cli:
- cliKey: ApplicationGroupList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(ApplicationGroupListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationGroupListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: ApplicationGroup
- cli:
- cliKey: ApplicationGroup
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: description(ApplicationGroupPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: host_pool_arm_path(ApplicationGroupPropertiesHostPoolArmPath^string)
- cli:
- name: hostPoolArmPath
- cliKey: hostPoolArmPath
- - propertyName: workspace_arm_path(ApplicationGroupPropertiesWorkspaceArmPath^string)
- cli:
- name: workspaceArmPath
- cliKey: workspaceArmPath
- readOnly: true
- - propertyName: application_group_type(ApplicationGroupType^choice)
- cli:
- name: applicationGroupType
- cliKey: applicationGroupType
- - schemaName: ApplicationGroupPatch
- cli:
- cliKey: ApplicationGroupPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationGroupPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationGroupPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: StartMenuItemList
- cli:
- cliKey: StartMenuItemList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(StartMenuItemListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(StartMenuItemListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: StartMenuItem
- cli:
- cliKey: StartMenuItem
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- cli-mark: checked
- properties:
- - propertyName: app_alias(StartMenuItemPropertiesAppAlias^string)
- cli:
- name: appAlias
- cliKey: appAlias
- - propertyName: friendly_name(StartMenuItemPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(StartMenuItemPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_arguments(StartMenuItemPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: icon_path(StartMenuItemPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: Application
- cli:
- cliKey: Application
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- cli-mark: checked
- properties:
- - propertyName: description(ApplicationPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - propertyName: icon_hash(ApplicationPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(application_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: ApplicationPatch
- cli:
- cliKey: ApplicationPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(ApplicationPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(ApplicationPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: file_path(ApplicationPatchPropertiesFilePath^string)
- cli:
- name: filePath
- cliKey: filePath
- - propertyName: command_line_setting(CommandLineSetting^choice)
- cli:
- name: commandLineSetting
- cliKey: commandLineSetting
- - propertyName: command_line_arguments(ApplicationPatchPropertiesCommandLineArguments^string)
- cli:
- name: commandLineArguments
- cliKey: commandLineArguments
- - propertyName: show_in_portal(boolean^boolean)
- cli:
- name: showInPortal
- cliKey: showInPortal
- - propertyName: icon_path(ApplicationPatchPropertiesIconPath^string)
- cli:
- name: iconPath
- cliKey: iconPath
- - propertyName: icon_index(Integer^integer)
- cli:
- name: iconIndex
- cliKey: iconIndex
- - schemaName: ApplicationList
- cli:
- cliKey: ApplicationList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(ApplicationListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(ApplicationListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: Desktop
- cli:
- cliKey: Desktop
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: description(DesktopPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: icon_hash(DesktopPropertiesIconHash^string)
- cli:
- name: iconHash
- cliKey: iconHash
- readOnly: true
- - propertyName: icon_content(desktop_properties_icon_content^byte-array)
- cli:
- name: iconContent
- cliKey: iconContent
- readOnly: true
- - schemaName: DesktopPatch
- cli:
- cliKey: DesktopPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: description(DesktopPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: friendly_name(DesktopPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - schemaName: DesktopList
- cli:
- cliKey: DesktopList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(DesktopListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(DesktopListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: HostPool
- cli:
- cliKey: HostPool
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: friendly_name(HostPoolPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: host_pool_type(HostPoolType^choice)
- cli:
- name: hostPoolType
- cliKey: hostPoolType
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: custom_rdp_property(HostPoolPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfo^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: vm_template(HostPoolPropertiesVmTemplate^string)
- cli:
- name: vmTemplate
- cliKey: vmTemplate
- - propertyName: application_group_references(HostPoolPropertiesApplicationGroupReferences^array)
- cli:
- name: applicationGroupReferences
- cliKey: applicationGroupReferences
- readOnly: true
- - propertyName: sso_context(HostPoolPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfo
- cli:
- cliKey: RegistrationInfo
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- cli-mark: checked
- properties:
- - propertyName: expiration_time(registration_info_expiration_time^date-time)
- cli:
- name: expirationTime
- cliKey: expirationTime
- - propertyName: token(RegistrationInfoToken^string)
- cli:
- cliKey: token
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolPatch
- cli:
- cliKey: HostPoolPatch
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: tags(any^any)
- cli:
- cliKey: tags
- - propertyName: friendly_name(HostPoolPatchPropertiesFriendlyName^string)
- cli:
- name: friendlyName
- cliKey: friendlyName
- - propertyName: description(HostPoolPatchPropertiesDescription^string)
- cli:
- cliKey: description
- - propertyName: custom_rdp_property(HostPoolPatchPropertiesCustomRdpProperty^string)
- cli:
- name: customRdpProperty
- cliKey: customRdpProperty
- - propertyName: max_session_limit(Integer^integer)
- cli:
- name: maxSessionLimit
- cliKey: maxSessionLimit
- - propertyName: personal_desktop_assignment_type(PersonalDesktopAssignmentType^choice)
- cli:
- name: personalDesktopAssignmentType
- cliKey: personalDesktopAssignmentType
- - propertyName: load_balancer_type(LoadBalancerType^choice)
- cli:
- name: loadBalancerType
- cliKey: loadBalancerType
- - propertyName: ring(Integer^integer)
- cli:
- cliKey: ring
- - propertyName: validation_environment(boolean^boolean)
- cli:
- name: validationEnvironment
- cliKey: validationEnvironment
- - propertyName: registration_info(RegistrationInfoPatch^object)
- cli:
- name: registrationInfo
- cliKey: registrationInfo
- - propertyName: sso_context(HostPoolPatchPropertiesSsoContext^string)
- cli:
- name: ssoContext
- cliKey: ssoContext
- - schemaName: RegistrationInfoPatch
- cli:
- cliKey: RegistrationInfoPatch
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- cli-mark: checked
- properties:
- - propertyName: registration_token_operation(RegistrationTokenOperation^choice)
- cli:
- name: registrationTokenOperation
- cliKey: registrationTokenOperation
- - schemaName: HostPoolList
- cli:
- cliKey: HostPoolList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(HostPoolListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(HostPoolListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSessionList
- cli:
- cliKey: UserSessionList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(UserSessionListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(UserSessionListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: UserSession
- cli:
- cliKey: UserSession
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- cli-mark: checked
- properties:
- - propertyName: user_principal_name(UserSessionPropertiesUserPrincipalName^string)
- cli:
- name: userPrincipalName
- cliKey: userPrincipalName
- - propertyName: application_type(ApplicationType^choice)
- cli:
- name: applicationType
- cliKey: applicationType
- - propertyName: session_state(SessionState^choice)
- cli:
- name: sessionState
- cliKey: sessionState
- - propertyName: active_directory_user_name(UserSessionPropertiesActiveDirectoryUserName^string)
- cli:
- name: activeDirectoryUserName
- cliKey: activeDirectoryUserName
- - propertyName: create_time(user_session_properties_create_time^date-time)
- cli:
- name: createTime
- cliKey: createTime
- - schemaName: SessionHost
- cli:
- cliKey: SessionHost
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- cli-mark: checked
- properties:
- - propertyName: last_heart_beat(session_host_properties_last_heart_beat^date-time)
- cli:
- name: lastHeartBeat
- cliKey: lastHeartBeat
- - propertyName: sessions(Integer^integer)
- cli:
- cliKey: sessions
- - propertyName: agent_version(SessionHostPropertiesAgentVersion^string)
- cli:
- name: agentVersion
- cliKey: agentVersion
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - propertyName: status(Status^choice)
- cli:
- cliKey: status
- - propertyName: status_timestamp(session_host_properties_status_timestamp^date-time)
- cli:
- name: statusTimestamp
- cliKey: statusTimestamp
- readOnly: true
- - propertyName: os_version(SessionHostPropertiesOsVersion^string)
- cli:
- name: osVersion
- cliKey: osVersion
- - propertyName: sx_s_stack_version(SessionHostPropertiesSxSStackVersion^string)
- cli:
- name: sxSStackVersion
- cliKey: sxSStackVersion
- - propertyName: update_state(UpdateState^choice)
- cli:
- name: updateState
- cliKey: updateState
- - propertyName: last_update_time(session_host_properties_last_update_time^date-time)
- cli:
- name: lastUpdateTime
- cliKey: lastUpdateTime
- readOnly: true
- - propertyName: update_error_message(SessionHostPropertiesUpdateErrorMessage^string)
- cli:
- name: updateErrorMessage
- cliKey: updateErrorMessage
- - schemaName: SessionHostPatch
- cli:
- cliKey: SessionHostPatch
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: allow_new_session(boolean^boolean)
- cli:
- name: allowNewSession
- cliKey: allowNewSession
- - propertyName: assigned_user(SessionHostPatchPropertiesAssignedUser^string)
- cli:
- name: assignedUser
- cliKey: assignedUser
- - schemaName: SessionHostList
- cli:
- cliKey: SessionHostList
- cli-complexity: object_complex
- cli-simplify-indicator:
- simplifiable: false
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- cli-mark: checked
- properties:
- - propertyName: value(SessionHostListValue^array)
- cli:
- cliKey: value
- - propertyName: next_link(SessionHostListNextLink^string)
- cli:
- name: nextLink
- cliKey: nextLink
- readOnly: true
- - schemaName: SendMessage
- cli:
- cliKey: SendMessage
- cli-complexity: object_simple
- cli-simplify-indicator:
- simplifiable: true
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- cli-mark: checked
- properties:
- - propertyName: message_title(SendMessageTitle^string)
- cli:
- name: messageTitle
- cliKey: messageTitle
- - propertyName: message_body(SendMessageBody^string)
- cli:
- name: messageBody
- cliKey: messageBody
- choices:
- all:
- - choiceName: ApplicationGroupType
- cli:
- cliKey: ApplicationGroupType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: CommandLineSetting
- cli:
- cliKey: CommandLineSetting
- choiceValues:
- - choiceValue: do_not_allow
- cli:
- name: DoNotAllow
- cliKey: DoNotAllow
- - choiceValue: allow
- cli:
- name: Allow
- cliKey: Allow
- - choiceValue: require
- cli:
- name: Require
- cliKey: Require
- - choiceName: HostPoolType
- cli:
- cliKey: HostPoolType
- choiceValues:
- - choiceValue: personal
- cli:
- name: Personal
- cliKey: Personal
- - choiceValue: pooled
- cli:
- name: Pooled
- cliKey: Pooled
- - choiceName: PersonalDesktopAssignmentType
- cli:
- cliKey: PersonalDesktopAssignmentType
- choiceValues:
- - choiceValue: automatic
- cli:
- name: Automatic
- cliKey: Automatic
- - choiceValue: direct
- cli:
- name: Direct
- cliKey: Direct
- - choiceName: LoadBalancerType
- cli:
- cliKey: LoadBalancerType
- choiceValues:
- - choiceValue: breadth_first
- cli:
- name: BreadthFirst
- cliKey: BreadthFirst
- - choiceValue: depth_first
- cli:
- name: DepthFirst
- cliKey: DepthFirst
- - choiceValue: persistent
- cli:
- name: Persistent
- cliKey: Persistent
- - choiceName: RegistrationTokenOperation
- cli:
- cliKey: RegistrationTokenOperation
- choiceValues:
- - choiceValue: delete
- cli:
- name: Delete
- cliKey: Delete
- - choiceValue: none
- cli:
- name: None
- cliKey: None
- - choiceValue: update
- cli:
- name: Update
- cliKey: Update
- - choiceName: ApplicationType
- cli:
- cliKey: ApplicationType
- choiceValues:
- - choiceValue: remote_app
- cli:
- name: RemoteApp
- cliKey: RemoteApp
- - choiceValue: desktop
- cli:
- name: Desktop
- cliKey: Desktop
- - choiceName: SessionState
- cli:
- cliKey: SessionState
- choiceValues:
- - choiceValue: unknown
- cli:
- name: Unknown
- cliKey: Unknown
- - choiceValue: active
- cli:
- name: Active
- cliKey: Active
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: log_off
- cli:
- name: LogOff
- cliKey: LogOff
- - choiceValue: user_profile_disk_mounted
- cli:
- name: UserProfileDiskMounted
- cliKey: UserProfileDiskMounted
- - choiceName: Status
- cli:
- cliKey: Status
- choiceValues:
- - choiceValue: available
- cli:
- name: Available
- cliKey: Available
- - choiceValue: unavailable
- cli:
- name: Unavailable
- cliKey: Unavailable
- - choiceValue: shutdown
- cli:
- name: Shutdown
- cliKey: Shutdown
- - choiceValue: disconnected
- cli:
- name: Disconnected
- cliKey: Disconnected
- - choiceValue: upgrading
- cli:
- name: Upgrading
- cliKey: Upgrading
- - choiceValue: upgrade_failed
- cli:
- name: UpgradeFailed
- cliKey: UpgradeFailed
- - choiceName: UpdateState
- cli:
- cliKey: UpdateState
- choiceValues:
- - choiceValue: initial
- cli:
- name: Initial
- cliKey: Initial
- - choiceValue: pending
- cli:
- name: Pending
- cliKey: Pending
- - choiceValue: started
- cli:
- name: Started
- cliKey: Started
- - choiceValue: succeeded
- cli:
- name: Succeeded
- cliKey: Succeeded
- - choiceValue: failed
- cli:
- name: Failed
- cliKey: Failed
diff --git a/src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post.yaml b/src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post.yaml
deleted file mode 100644
index ab5555106f6..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post.yaml
+++ /dev/null
@@ -1,11138 +0,0 @@
-info:
- title: Desktop Virtualization API Client
- extensions:
- cli-dump-index: 130
-schemas:
- booleans:
- - &ref_53
- type: boolean
- language:
- default:
- name: boolean
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- protocol: {}
- - &ref_27
- type: boolean
- language:
- default:
- name: boolean
- description: Is validation environment.
- protocol: {}
- - &ref_356
- type: boolean
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: boolean
- description: ''
- protocol: {}
- - &ref_73
- type: boolean
- language:
- default:
- name: boolean
- description: Allow a new session.
- protocol: {}
- numbers:
- - &ref_47
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Index of the icon.
- cli:
- name: Integer
- description: Index of the icon.
- protocol: {}
- - &ref_24
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The max session limit of HostPool.
- cli:
- name: Integer
- description: The max session limit of HostPool.
- protocol: {}
- - &ref_26
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: The ring number of HostPool.
- cli:
- name: Integer
- description: The ring number of HostPool.
- protocol: {}
- - &ref_71
- type: integer
- precision: 32
- language:
- default:
- name: Integer
- description: Number of sessions on SessionHost.
- cli:
- name: Integer
- description: Number of sessions on SessionHost.
- protocol: {}
- strings:
- - &ref_0
- type: string
- language:
- default:
- name: String
- description: simple string
- cli:
- name: String
- description: simple string
- protocol: {}
- - &ref_2
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: ResourceProviderOperationName
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- protocol: {}
- - &ref_3
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: ResourceProviderOperationDisplayProvider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- protocol: {}
- - &ref_4
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- cli:
- name: ResourceProviderOperationDisplayResource
- description: Resource on which the operation is performed.
- protocol: {}
- - &ref_5
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: ResourceProviderOperationDisplayOperation
- description: 'Type of operation: get, read, delete, etc.'
- protocol: {}
- - &ref_6
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- cli:
- name: ResourceProviderOperationDisplayDescription
- description: Description of this operation.
- protocol: {}
- - &ref_130
- type: string
- apiVersions:
- - version: '1.0'
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_136
- type: string
- apiVersions:
- - version: '1.0'
- maxLength: 90
- minLength: 1
- pattern: '^[-\w\._\(\)]+$'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_137
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_91
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: ResourceId
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- protocol: {}
- - &ref_92
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceName
- description: The name of the resource
- cli:
- name: ResourceName
- description: The name of the resource
- protocol: {}
- - &ref_93
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: ResourceType
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- protocol: {}
- - &ref_1
- type: string
- apiVersions:
- - version: '1.0'
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_38
- type: string
- apiVersions:
- - version: '1.0'
- extensions:
- x-ms-mutability:
- - read
- - create
- language:
- default:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- cli:
- name: TrackedResourceLocation
- description: The geo-location where the resource lives
- protocol: {}
- - &ref_11
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_12
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_13
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_94
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorCode
- description: Error code
- cli:
- name: CloudErrorCode
- description: Error code
- protocol: {}
- - &ref_95
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- cli:
- name: CloudErrorMessage
- description: Error message indicating why the operation failed.
- protocol: {}
- - &ref_96
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- cli:
- name: WorkspacePatchPropertiesDescription
- description: Description of Workspace.
- protocol: {}
- - &ref_97
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- cli:
- name: WorkspacePatchPropertiesFriendlyName
- description: Friendly name of Workspace.
- protocol: {}
- - &ref_98
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_99
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- cli:
- name: WorkspaceListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_180
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_14
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_15
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_16
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesHostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- protocol: {}
- - &ref_17
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: ApplicationGroupPropertiesWorkspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- protocol: {}
- - &ref_100
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationGroupListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_40
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesDescription
- description: Description of ApplicationGroup.
- protocol: {}
- - &ref_41
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- cli:
- name: ApplicationGroupPatchPropertiesFriendlyName
- description: Friendly name of ApplicationGroup.
- protocol: {}
- - &ref_42
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesAppAlias
- description: Alias of StartMenuItem.
- protocol: {}
- - &ref_43
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFriendlyName
- description: Friendly name of StartMenuItem.
- protocol: {}
- - &ref_44
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- cli:
- name: StartMenuItemPropertiesFilePath
- description: Path to the file of StartMenuItem.
- protocol: {}
- - &ref_45
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: StartMenuItemPropertiesCommandLineArguments
- description: Command line arguments for StartMenuItem.
- protocol: {}
- - &ref_46
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- cli:
- name: StartMenuItemPropertiesIconPath
- description: Path to the icon.
- protocol: {}
- - &ref_101
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- cli:
- name: StartMenuItemListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_48
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_49
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_50
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_52
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_54
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_55
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: ApplicationPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_102
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- cli:
- name: ApplicationPatchPropertiesDescription
- description: Description of Application.
- protocol: {}
- - &ref_103
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- cli:
- name: ApplicationPatchPropertiesFriendlyName
- description: Friendly name of Application.
- protocol: {}
- - &ref_104
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- cli:
- name: ApplicationPatchPropertiesFilePath
- description: Specifies a path for the executable file for the application.
- protocol: {}
- - &ref_105
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- cli:
- name: ApplicationPatchPropertiesCommandLineArguments
- description: Command Line Arguments for Application.
- protocol: {}
- - &ref_106
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- cli:
- name: ApplicationPatchPropertiesIconPath
- description: Path to icon.
- protocol: {}
- - &ref_107
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- cli:
- name: ApplicationListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_57
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_58
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_59
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- cli:
- name: DesktopPropertiesIconHash
- description: Hash of the icon.
- protocol: {}
- - &ref_108
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- cli:
- name: DesktopPatchPropertiesDescription
- description: Description of Desktop.
- protocol: {}
- - &ref_109
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- cli:
- name: DesktopPatchPropertiesFriendlyName
- description: Friendly name of Desktop.
- protocol: {}
- - &ref_110
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: DesktopListNextLink
- description: Link to the next page of results.
- cli:
- name: DesktopListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_19
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_20
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_23
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_29
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- cli:
- name: RegistrationInfoToken
- description: The registration token base64 encoded string.
- protocol: {}
- - &ref_31
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cli:
- name: HostPoolPropertiesVmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- protocol: {}
- - &ref_32
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- cli:
- name: HostPoolPropertiesApplicationGroupReferencesItem
- description: ''
- protocol: {}
- - &ref_33
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_61
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- cli:
- name: HostPoolPatchPropertiesFriendlyName
- description: Friendly name of HostPool.
- protocol: {}
- - &ref_62
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- cli:
- name: HostPoolPatchPropertiesDescription
- description: Description of HostPool.
- protocol: {}
- - &ref_63
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- cli:
- name: HostPoolPatchPropertiesCustomRdpProperty
- description: Custom rdp property of HostPool.
- protocol: {}
- - &ref_64
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- cli:
- name: HostPoolPatchPropertiesSsoContext
- description: Path to keyvault containing ssoContext secret.
- protocol: {}
- - &ref_113
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- cli:
- name: HostPoolListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_65
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- cli:
- name: UserSessionPropertiesUserPrincipalName
- description: The user principal name.
- protocol: {}
- - &ref_68
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- cli:
- name: UserSessionPropertiesActiveDirectoryUserName
- description: The active directory user name.
- protocol: {}
- - &ref_114
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- cli:
- name: UserSessionListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_402
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 48
- minLength: 3
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_72
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- cli:
- name: SessionHostPropertiesAgentVersion
- description: Version of agent on SessionHost.
- protocol: {}
- - &ref_74
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_77
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- cli:
- name: SessionHostPropertiesOsVersion
- description: The version of the OS on the session host.
- protocol: {}
- - &ref_78
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- cli:
- name: SessionHostPropertiesSxSStackVersion
- description: The version of the side by side stack on the session host.
- protocol: {}
- - &ref_81
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- cli:
- name: SessionHostPropertiesUpdateErrorMessage
- description: The error message.
- protocol: {}
- - &ref_82
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- cli:
- name: SessionHostPatchPropertiesAssignedUser
- description: User assigned to SessionHost.
- protocol: {}
- - &ref_115
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- cli:
- name: SessionHostListNextLink
- description: Link to the next page of results.
- protocol: {}
- - &ref_403
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- maxLength: 24
- minLength: 1
- language:
- default:
- name: String
- description: ''
- cli:
- name: String
- description: ''
- protocol: {}
- - &ref_116
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageTitle
- description: Title of message.
- cli:
- name: SendMessageTitle
- description: Title of message.
- protocol: {}
- - &ref_117
- type: string
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: SendMessageBody
- description: Body of message.
- cli:
- name: SendMessageBody
- description: Body of message.
- protocol: {}
- choices:
- - &ref_18
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cli:
- name: ApplicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: ApplicationGroupType
- protocol: {}
- - &ref_51
- choices:
- - value: DoNotAllow
- language:
- default:
- name: do_not_allow
- description: ''
- cli:
- name: DoNotAllow
- description: ''
- cliKey: DoNotAllow
- - value: Allow
- language:
- default:
- name: allow
- description: ''
- cli:
- name: Allow
- description: ''
- cliKey: Allow
- - value: Require
- language:
- default:
- name: require
- description: ''
- cli:
- name: Require
- description: ''
- cliKey: Require
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: 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.'
- cli:
- name: 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.'
- cliKey: CommandLineSetting
- protocol: {}
- - &ref_21
- choices:
- - value: Personal
- language:
- default:
- name: personal
- description: ''
- cli:
- name: Personal
- description: ''
- cliKey: Personal
- - value: Pooled
- language:
- default:
- name: pooled
- description: ''
- cli:
- name: Pooled
- description: ''
- cliKey: Pooled
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: HostPoolType
- description: HostPool type for desktop.
- cli:
- name: HostPoolType
- description: HostPool type for desktop.
- cliKey: HostPoolType
- protocol: {}
- - &ref_22
- choices:
- - value: Automatic
- language:
- default:
- name: automatic
- description: ''
- cli:
- name: Automatic
- description: ''
- cliKey: Automatic
- - value: Direct
- language:
- default:
- name: direct
- description: ''
- cli:
- name: Direct
- description: ''
- cliKey: Direct
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cli:
- name: PersonalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: PersonalDesktopAssignmentType
- protocol: {}
- - &ref_25
- choices:
- - value: BreadthFirst
- language:
- default:
- name: breadth_first
- description: ''
- cli:
- name: BreadthFirst
- description: ''
- cliKey: BreadthFirst
- - value: DepthFirst
- language:
- default:
- name: depth_first
- description: ''
- cli:
- name: DepthFirst
- description: ''
- cliKey: DepthFirst
- - value: Persistent
- language:
- default:
- name: persistent
- description: ''
- cli:
- name: Persistent
- description: ''
- cliKey: Persistent
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: LoadBalancerType
- description: The type of the load balancer.
- cli:
- name: LoadBalancerType
- description: The type of the load balancer.
- cliKey: LoadBalancerType
- protocol: {}
- - &ref_30
- choices:
- - value: Delete
- language:
- default:
- name: delete
- description: ''
- cli:
- name: Delete
- description: ''
- cliKey: Delete
- - value: None
- language:
- default:
- name: none
- description: ''
- cli:
- name: None
- description: ''
- cliKey: None
- - value: Update
- language:
- default:
- name: update
- description: ''
- cli:
- name: Update
- description: ''
- cliKey: Update
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cli:
- name: RegistrationTokenOperation
- description: The type of resetting the token.
- cliKey: RegistrationTokenOperation
- protocol: {}
- - &ref_66
- choices:
- - value: RemoteApp
- language:
- default:
- name: remote_app
- description: ''
- cli:
- name: RemoteApp
- description: ''
- cliKey: RemoteApp
- - value: Desktop
- language:
- default:
- name: desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktop
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: ApplicationType
- description: Application type of application.
- cli:
- name: ApplicationType
- description: Application type of application.
- cliKey: ApplicationType
- protocol: {}
- - &ref_67
- choices:
- - value: Unknown
- language:
- default:
- name: unknown
- description: ''
- cli:
- name: Unknown
- description: ''
- cliKey: Unknown
- - value: Active
- language:
- default:
- name: active
- description: ''
- cli:
- name: Active
- description: ''
- cliKey: Active
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: LogOff
- language:
- default:
- name: log_off
- description: ''
- cli:
- name: LogOff
- description: ''
- cliKey: LogOff
- - value: UserProfileDiskMounted
- language:
- default:
- name: user_profile_disk_mounted
- description: ''
- cli:
- name: UserProfileDiskMounted
- description: ''
- cliKey: UserProfileDiskMounted
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: SessionState
- description: State of user session.
- cli:
- name: SessionState
- description: State of user session.
- cliKey: SessionState
- protocol: {}
- - &ref_75
- choices:
- - value: Available
- language:
- default:
- name: available
- description: ''
- cli:
- name: Available
- description: ''
- cliKey: Available
- - value: Unavailable
- language:
- default:
- name: unavailable
- description: ''
- cli:
- name: Unavailable
- description: ''
- cliKey: Unavailable
- - value: Shutdown
- language:
- default:
- name: shutdown
- description: ''
- cli:
- name: Shutdown
- description: ''
- cliKey: Shutdown
- - value: Disconnected
- language:
- default:
- name: disconnected
- description: ''
- cli:
- name: Disconnected
- description: ''
- cliKey: Disconnected
- - value: Upgrading
- language:
- default:
- name: upgrading
- description: ''
- cli:
- name: Upgrading
- description: ''
- cliKey: Upgrading
- - value: UpgradeFailed
- language:
- default:
- name: upgrade_failed
- description: ''
- cli:
- name: UpgradeFailed
- description: ''
- cliKey: UpgradeFailed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: Status
- description: Status for a SessionHost.
- cli:
- name: Status
- description: Status for a SessionHost.
- cliKey: Status
- protocol: {}
- - &ref_79
- choices:
- - value: Initial
- language:
- default:
- name: initial
- description: ''
- cli:
- name: Initial
- description: ''
- cliKey: Initial
- - value: Pending
- language:
- default:
- name: pending
- description: ''
- cli:
- name: Pending
- description: ''
- cliKey: Pending
- - value: Started
- language:
- default:
- name: started
- description: ''
- cli:
- name: Started
- description: ''
- cliKey: Started
- - value: Succeeded
- language:
- default:
- name: succeeded
- description: ''
- cli:
- name: Succeeded
- description: ''
- cliKey: Succeeded
- - value: Failed
- language:
- default:
- name: failed
- description: ''
- cli:
- name: Failed
- description: ''
- cliKey: Failed
- type: choice
- apiVersions:
- - version: 2019-12-10-preview
- choiceType: *ref_0
- language:
- default:
- name: UpdateState
- description: Update state of a SessionHost.
- cli:
- name: UpdateState
- description: Update state of a SessionHost.
- cliKey: UpdateState
- protocol: {}
- constants:
- - &ref_131
- type: constant
- value:
- value: 2019-12-10-preview
- valueType: *ref_0
- language:
- default:
- name: api_version2019_12_10_preview
- description: Api Version (2019-12-10-preview)
- cli:
- name: ApiVersion20191210Preview
- description: Api Version (2019-12-10-preview)
- protocol: {}
- - &ref_141
- type: constant
- value:
- value: application/json
- valueType: *ref_0
- language:
- default:
- name: application_json
- description: Content Type 'application/json'
- cli:
- name: ApplicationJson
- description: Content Type 'application/json'
- protocol: {}
- dictionaries:
- - &ref_37
- type: dictionary
- elementType: *ref_1
- language:
- default:
- name: TrackedResourceTags
- description: Resource tags.
- cli:
- name: TrackedResourceTags
- description: Resource tags.
- cli-complexity: dictionary_simple
- cli-mark: checked
- protocol: {}
- any:
- - &ref_39
- type: any
- language:
- default:
- name: any
- description: Any object
- protocol: {}
- byteArrays:
- - &ref_56
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: application_properties_icon_content
- description: the icon a 64 bit string as a byte array.
- protocol: {}
- - &ref_60
- type: byte-array
- format: byte
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: desktop_properties_icon_content
- description: The icon a 64 bit string as a byte array.
- protocol: {}
- dateTimes:
- - &ref_28
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: registration_info_expiration_time
- description: Expiration time of registration token.
- protocol: {}
- - &ref_69
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: user_session_properties_create_time
- description: The timestamp of the user session create.
- protocol: {}
- - &ref_70
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_heart_beat
- description: Last heart beat from SessionHost.
- protocol: {}
- - &ref_76
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_status_timestamp
- description: The timestamp of the status.
- protocol: {}
- - &ref_80
- type: date-time
- format: date-time
- apiVersions:
- - version: 2019-12-10-preview
- language:
- default:
- name: session_host_properties_last_update_time
- description: The timestamp of the last update.
- protocol: {}
- objects:
- - &ref_134
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_118
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: &ref_7
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_2
- serializedName: name
- language:
- default:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cli:
- name: name
- description: 'Operation name, in format of {provider}/{resource}/{operation}'
- cliKey: name
- protocol: {}
- - schema: &ref_8
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_3
- serializedName: provider
- language:
- default:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cli:
- name: provider
- description: 'Resource provider: Microsoft Desktop Virtualization.'
- cliKey: provider
- protocol: {}
- - schema: *ref_4
- serializedName: resource
- language:
- default:
- name: resource
- description: Resource on which the operation is performed.
- cli:
- name: resource
- description: Resource on which the operation is performed.
- cliKey: resource
- protocol: {}
- - schema: *ref_5
- serializedName: operation
- language:
- default:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cli:
- name: operation
- description: 'Type of operation: get, read, delete, etc.'
- cliKey: operation
- protocol: {}
- - schema: *ref_6
- serializedName: description
- language:
- default:
- name: description
- description: Description of this operation.
- cli:
- name: description
- description: Description of this operation.
- cliKey: description
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- namespace: ''
- cli:
- name: ResourceProviderOperationDisplay
- description: Display metadata associated with the operation.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 4
- propertyCountIfSimplifyWithoutSimpleObject: 4
- simplifiable: true
- cliKey: ResourceProviderOperation-display
- protocol: {}
- serializedName: display
- language:
- default:
- name: display
- description: Display metadata associated with the operation.
- cli:
- name: display
- description: Display metadata associated with the operation.
- cliKey: display
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- namespace: ''
- cli:
- name: ResourceProviderOperation
- description: Supported operation of this resource provider.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: ResourceProviderOperation
- protocol: {}
- language:
- default:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli:
- name: ResourceProviderOperationListValue
- description: List of operations supported by this resource provider.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of operations supported by this resource provider.
- cli:
- name: value
- description: List of operations supported by this resource provider.
- cliKey: value
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- namespace: ''
- cli:
- name: ResourceProviderOperationList
- description: Result of the request to list operations.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ResourceProviderOperationList
- protocol: {}
- - *ref_7
- - *ref_8
- - &ref_10
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_9
- type: object
- apiVersions:
- - version: '1.0'
- children:
- all:
- - &ref_34
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_147
- schema: *ref_11
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_148
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_149
- schema: *ref_12
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_150
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_151
- schema: &ref_119
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_13
- language:
- default:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli:
- name: WorkspacePropertiesApplicationGroupReferences
- description: List of applicationGroup resource Ids.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: &ref_152
- name: applicationGroupReferences
- description: List of applicationGroup resource Ids.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Workspace
- description: Represents a Workspace definition.
- namespace: ''
- cli:
- name: Workspace
- description: Represents a Workspace definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: Workspace
- protocol: {}
- - &ref_35
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_188
- schema: *ref_14
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_189
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_190
- schema: *ref_15
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_191
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- - &ref_192
- schema: *ref_16
- flattenedNames:
- - properties
- - hostPoolArmPath
- required: true
- serializedName: hostPoolArmPath
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: &ref_193
- name: hostPoolArmPath
- description: HostPool arm path of ApplicationGroup.
- cliKey: hostPoolArmPath
- protocol: {}
- - schema: *ref_17
- flattenedNames:
- - properties
- - workspaceArmPath
- readOnly: true
- required: false
- serializedName: workspaceArmPath
- language:
- default:
- name: workspace_arm_path
- description: Workspace arm path of ApplicationGroup.
- cli:
- name: workspaceArmPath
- description: Workspace arm path of ApplicationGroup.
- cliKey: workspaceArmPath
- protocol: {}
- - &ref_194
- schema: *ref_18
- flattenedNames:
- - properties
- - applicationGroupType
- required: true
- serializedName: applicationGroupType
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: &ref_195
- name: applicationGroupType
- description: Resource Type of ApplicationGroup.
- cliKey: applicationGroupType
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- namespace: ''
- cli:
- name: ApplicationGroup
- description: Represents a ApplicationGroup definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroup
- protocol: {}
- - &ref_36
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_9
- - *ref_10
- immediate:
- - *ref_9
- properties:
- - &ref_316
- schema: *ref_19
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_317
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_318
- schema: *ref_20
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_319
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_320
- schema: *ref_21
- flattenedNames:
- - properties
- - hostPoolType
- required: true
- serializedName: hostPoolType
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: &ref_321
- name: hostPoolType
- description: HostPool type for desktop.
- cliKey: hostPoolType
- protocol: {}
- - &ref_322
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- required: true
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_323
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_324
- schema: *ref_23
- flattenedNames:
- - properties
- - customRdpProperty
- required: false
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_325
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_326
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- required: false
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_327
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_328
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- required: true
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_329
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_330
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- required: false
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_331
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_332
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- required: false
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_333
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_334
- schema: &ref_111
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_28
- serializedName: expirationTime
- language:
- default:
- name: expiration_time
- description: Expiration time of registration token.
- cli:
- name: expirationTime
- description: Expiration time of registration token.
- cliKey: expirationTime
- protocol: {}
- - schema: *ref_29
- serializedName: token
- language:
- default:
- name: token
- description: The registration token base64 encoded string.
- cli:
- name: token
- description: The registration token base64 encoded string.
- cliKey: token
- protocol: {}
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfo
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 3
- propertyCountIfSimplifyWithoutSimpleObject: 3
- simplifiable: true
- cliKey: RegistrationInfo
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- required: false
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_335
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_336
- schema: *ref_31
- flattenedNames:
- - properties
- - vmTemplate
- required: false
- serializedName: vmTemplate
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: &ref_337
- name: vmTemplate
- description: VM template for sessionhosts configuration within hostpool.
- cliKey: vmTemplate
- protocol: {}
- - schema: &ref_126
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_32
- language:
- default:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: HostPoolPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- readOnly: true
- required: false
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli:
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- - &ref_338
- schema: *ref_33
- flattenedNames:
- - properties
- - ssoContext
- required: false
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_339
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: HostPool
- description: Represents a HostPool definition.
- namespace: ''
- cli:
- name: HostPool
- description: Represents a HostPool definition.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPool
- protocol: {}
- immediate:
- - *ref_34
- - *ref_35
- - *ref_36
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_143
- schema: *ref_37
- required: false
- serializedName: tags
- language:
- default:
- name: tags
- description: Resource tags.
- cli: &ref_144
- name: tags
- description: Resource tags.
- cliKey: tags
- protocol: {}
- - &ref_145
- schema: *ref_38
- required: true
- serializedName: location
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: &ref_146
- name: location
- description: The geo-location where the resource lives
- cliKey: location
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- namespace: ''
- cli:
- name: TrackedResource
- description: The resource model definition for a ARM tracked top level resource
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: TrackedResource
- protocol: {}
- - *ref_34
- - *ref_35
- - &ref_83
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_207
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_208
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_209
- schema: *ref_40
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: &ref_210
- name: description
- description: Description of ApplicationGroup.
- cliKey: description
- protocol: {}
- - &ref_211
- schema: *ref_41
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: &ref_212
- name: friendlyName
- description: Friendly name of ApplicationGroup.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationGroupPatch
- description: ApplicationGroup properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupPatch
- protocol: {}
- - &ref_84
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_42
- flattenedNames:
- - properties
- - appAlias
- serializedName: appAlias
- language:
- default:
- name: app_alias
- description: Alias of StartMenuItem.
- cli:
- name: appAlias
- description: Alias of StartMenuItem.
- cliKey: appAlias
- protocol: {}
- - schema: *ref_43
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of StartMenuItem.
- cli:
- name: friendlyName
- description: Friendly name of StartMenuItem.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_44
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Path to the file of StartMenuItem.
- cli:
- name: filePath
- description: Path to the file of StartMenuItem.
- cliKey: filePath
- protocol: {}
- - schema: *ref_45
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command line arguments for StartMenuItem.
- cli:
- name: commandLineArguments
- description: Command line arguments for StartMenuItem.
- cliKey: commandLineArguments
- protocol: {}
- - schema: *ref_46
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to the icon.
- cli:
- name: iconPath
- description: Path to the icon.
- cliKey: iconPath
- protocol: {}
- - schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli:
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- namespace: ''
- cli:
- name: StartMenuItem
- description: Represents a StartMenuItem definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 6
- propertyCountIfSimplifyWithoutSimpleObject: 6
- simplifiable: true
- cliKey: StartMenuItem
- protocol: {}
- - &ref_85
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_228
- schema: *ref_48
- flattenedNames:
- - properties
- - description
- required: false
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_229
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_230
- schema: *ref_49
- flattenedNames:
- - properties
- - friendlyName
- required: false
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_231
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_232
- schema: *ref_50
- flattenedNames:
- - properties
- - filePath
- required: false
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_233
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_234
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- required: true
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_235
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_236
- schema: *ref_52
- flattenedNames:
- - properties
- - commandLineArguments
- required: false
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_237
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_238
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- required: false
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_239
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_240
- schema: *ref_54
- flattenedNames:
- - properties
- - iconPath
- required: false
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_241
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_242
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- required: false
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_243
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- - schema: *ref_55
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- required: false
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_56
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- required: false
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: the icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: the icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Application
- description: Schema for Application properties.
- namespace: ''
- cli:
- name: Application
- description: Schema for Application properties.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 8
- propertyCountIfSimplifyWithoutSimpleObject: 8
- simplifiable: true
- cliKey: Application
- protocol: {}
- - &ref_86
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_57
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli:
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - schema: *ref_58
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli:
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- - schema: *ref_59
- flattenedNames:
- - properties
- - iconHash
- readOnly: true
- serializedName: iconHash
- language:
- default:
- name: icon_hash
- description: Hash of the icon.
- cli:
- name: iconHash
- description: Hash of the icon.
- cliKey: iconHash
- protocol: {}
- - schema: *ref_60
- flattenedNames:
- - properties
- - iconContent
- readOnly: true
- serializedName: iconContent
- language:
- default:
- name: icon_content
- description: The icon a 64 bit string as a byte array.
- cli:
- name: iconContent
- description: The icon a 64 bit string as a byte array.
- cliKey: iconContent
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: Desktop
- description: Schema for Desktop properties.
- namespace: ''
- cli:
- name: Desktop
- description: Schema for Desktop properties.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: Desktop
- protocol: {}
- - *ref_36
- - &ref_87
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_361
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_362
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_363
- schema: *ref_61
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: &ref_364
- name: friendlyName
- description: Friendly name of HostPool.
- cliKey: friendlyName
- protocol: {}
- - &ref_365
- schema: *ref_62
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: &ref_366
- name: description
- description: Description of HostPool.
- cliKey: description
- protocol: {}
- - &ref_367
- schema: *ref_63
- flattenedNames:
- - properties
- - customRdpProperty
- serializedName: customRdpProperty
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: &ref_368
- name: customRdpProperty
- description: Custom rdp property of HostPool.
- cliKey: customRdpProperty
- protocol: {}
- - &ref_369
- schema: *ref_24
- flattenedNames:
- - properties
- - maxSessionLimit
- serializedName: maxSessionLimit
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: &ref_370
- name: maxSessionLimit
- description: The max session limit of HostPool.
- cliKey: maxSessionLimit
- protocol: {}
- - &ref_371
- schema: *ref_22
- flattenedNames:
- - properties
- - personalDesktopAssignmentType
- serializedName: personalDesktopAssignmentType
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: &ref_372
- name: personalDesktopAssignmentType
- description: PersonalDesktopAssignment type for HostPool.
- cliKey: personalDesktopAssignmentType
- protocol: {}
- - &ref_373
- schema: *ref_25
- flattenedNames:
- - properties
- - loadBalancerType
- serializedName: loadBalancerType
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: &ref_374
- name: loadBalancerType
- description: The type of the load balancer.
- cliKey: loadBalancerType
- protocol: {}
- - &ref_375
- schema: *ref_26
- flattenedNames:
- - properties
- - ring
- serializedName: ring
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: &ref_376
- name: ring
- description: The ring number of HostPool.
- cliKey: ring
- protocol: {}
- - &ref_377
- schema: *ref_27
- flattenedNames:
- - properties
- - validationEnvironment
- serializedName: validationEnvironment
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: &ref_378
- name: validationEnvironment
- description: Is validation environment.
- cliKey: validationEnvironment
- protocol: {}
- - &ref_379
- schema: &ref_112
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_30
- serializedName: registrationTokenOperation
- language:
- default:
- name: registration_token_operation
- description: The type of resetting the token.
- cli:
- name: registrationTokenOperation
- description: The type of resetting the token.
- cliKey: registrationTokenOperation
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- namespace: ''
- cli:
- name: RegistrationInfoPatch
- description: Represents a RegistrationInfo definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 1
- propertyCountIfSimplifyWithoutSimpleObject: 1
- simplifiable: true
- cliKey: RegistrationInfoPatch
- protocol: {}
- flattenedNames:
- - properties
- - registrationInfo
- serializedName: registrationInfo
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: &ref_380
- name: registrationInfo
- description: The registration info of HostPool.
- cliKey: registrationInfo
- protocol: {}
- - &ref_381
- schema: *ref_64
- flattenedNames:
- - properties
- - ssoContext
- serializedName: ssoContext
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: &ref_382
- name: ssoContext
- description: Path to keyvault containing ssoContext secret.
- cliKey: ssoContext
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- namespace: ''
- cli:
- name: HostPoolPatch
- description: HostPool properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolPatch
- protocol: {}
- - &ref_88
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_65
- flattenedNames:
- - properties
- - userPrincipalName
- serializedName: userPrincipalName
- language:
- default:
- name: user_principal_name
- description: The user principal name.
- cli:
- name: userPrincipalName
- description: The user principal name.
- cliKey: userPrincipalName
- protocol: {}
- - schema: *ref_66
- flattenedNames:
- - properties
- - applicationType
- serializedName: applicationType
- language:
- default:
- name: application_type
- description: Application type of application.
- cli:
- name: applicationType
- description: Application type of application.
- cliKey: applicationType
- protocol: {}
- - schema: *ref_67
- flattenedNames:
- - properties
- - sessionState
- serializedName: sessionState
- language:
- default:
- name: session_state
- description: State of user session.
- cli:
- name: sessionState
- description: State of user session.
- cliKey: sessionState
- protocol: {}
- - schema: *ref_68
- flattenedNames:
- - properties
- - activeDirectoryUserName
- serializedName: activeDirectoryUserName
- language:
- default:
- name: active_directory_user_name
- description: The active directory user name.
- cli:
- name: activeDirectoryUserName
- description: The active directory user name.
- cliKey: activeDirectoryUserName
- protocol: {}
- - schema: *ref_69
- flattenedNames:
- - properties
- - createTime
- serializedName: createTime
- language:
- default:
- name: create_time
- description: The timestamp of the user session create.
- cli:
- name: createTime
- description: The timestamp of the user session create.
- cliKey: createTime
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: UserSession
- description: Represents a UserSession definition.
- namespace: ''
- cli:
- name: UserSession
- description: Represents a UserSession definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 5
- propertyCountIfSimplifyWithoutSimpleObject: 5
- simplifiable: true
- cliKey: UserSession
- protocol: {}
- - &ref_89
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - schema: *ref_70
- flattenedNames:
- - properties
- - lastHeartBeat
- serializedName: lastHeartBeat
- language:
- default:
- name: last_heart_beat
- description: Last heart beat from SessionHost.
- cli:
- name: lastHeartBeat
- description: Last heart beat from SessionHost.
- cliKey: lastHeartBeat
- protocol: {}
- - schema: *ref_71
- flattenedNames:
- - properties
- - sessions
- serializedName: sessions
- language:
- default:
- name: sessions
- description: Number of sessions on SessionHost.
- cli:
- name: sessions
- description: Number of sessions on SessionHost.
- cliKey: sessions
- protocol: {}
- - schema: *ref_72
- flattenedNames:
- - properties
- - agentVersion
- serializedName: agentVersion
- language:
- default:
- name: agent_version
- description: Version of agent on SessionHost.
- cli:
- name: agentVersion
- description: Version of agent on SessionHost.
- cliKey: agentVersion
- protocol: {}
- - schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli:
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - schema: *ref_74
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli:
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- - schema: *ref_75
- flattenedNames:
- - properties
- - status
- serializedName: status
- language:
- default:
- name: status
- description: Status for a SessionHost.
- cli:
- name: status
- description: Status for a SessionHost.
- cliKey: status
- protocol: {}
- - schema: *ref_76
- flattenedNames:
- - properties
- - statusTimestamp
- readOnly: true
- serializedName: statusTimestamp
- language:
- default:
- name: status_timestamp
- description: The timestamp of the status.
- cli:
- name: statusTimestamp
- description: The timestamp of the status.
- cliKey: statusTimestamp
- protocol: {}
- - schema: *ref_77
- flattenedNames:
- - properties
- - osVersion
- serializedName: osVersion
- language:
- default:
- name: os_version
- description: The version of the OS on the session host.
- cli:
- name: osVersion
- description: The version of the OS on the session host.
- cliKey: osVersion
- protocol: {}
- - schema: *ref_78
- flattenedNames:
- - properties
- - sxSStackVersion
- serializedName: sxSStackVersion
- language:
- default:
- name: sx_s_stack_version
- description: The version of the side by side stack on the session host.
- cli:
- name: sxSStackVersion
- description: The version of the side by side stack on the session host.
- cliKey: sxSStackVersion
- protocol: {}
- - schema: *ref_79
- flattenedNames:
- - properties
- - updateState
- serializedName: updateState
- language:
- default:
- name: update_state
- description: Update state of a SessionHost.
- cli:
- name: updateState
- description: Update state of a SessionHost.
- cliKey: updateState
- protocol: {}
- - schema: *ref_80
- flattenedNames:
- - properties
- - lastUpdateTime
- readOnly: true
- serializedName: lastUpdateTime
- language:
- default:
- name: last_update_time
- description: The timestamp of the last update.
- cli:
- name: lastUpdateTime
- description: The timestamp of the last update.
- cliKey: lastUpdateTime
- protocol: {}
- - schema: *ref_81
- flattenedNames:
- - properties
- - updateErrorMessage
- serializedName: updateErrorMessage
- language:
- default:
- name: update_error_message
- description: The error message.
- cli:
- name: updateErrorMessage
- description: The error message.
- cliKey: updateErrorMessage
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- language:
- default:
- name: SessionHost
- description: Represents a SessionHost definition.
- namespace: ''
- cli:
- name: SessionHost
- description: Represents a SessionHost definition.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10
- propertyCountIfSimplifyWithoutSimpleObject: 10
- simplifiable: true
- cliKey: SessionHost
- protocol: {}
- - &ref_90
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- parents:
- all:
- - *ref_10
- immediate:
- - *ref_10
- properties:
- - &ref_440
- schema: *ref_73
- flattenedNames:
- - properties
- - allowNewSession
- serializedName: allowNewSession
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: &ref_441
- name: allowNewSession
- description: Allow a new session.
- cliKey: allowNewSession
- protocol: {}
- - &ref_442
- schema: *ref_82
- flattenedNames:
- - properties
- - assignedUser
- serializedName: assignedUser
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: &ref_443
- name: assignedUser
- description: User assigned to SessionHost.
- cliKey: assignedUser
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- - output
- language:
- default:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- namespace: ''
- cli:
- name: SessionHostPatch
- description: SessionHost properties that can be patched.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SessionHostPatch
- protocol: {}
- immediate:
- - *ref_9
- - *ref_83
- - *ref_84
- - *ref_85
- - *ref_86
- - *ref_87
- - *ref_88
- - *ref_89
- - *ref_90
- properties:
- - schema: *ref_91
- readOnly: true
- serializedName: id
- language:
- default:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cli:
- name: id
- description: 'Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
- cliKey: id
- protocol: {}
- - schema: *ref_92
- readOnly: true
- serializedName: name
- language:
- default:
- name: name
- description: The name of the resource
- cli:
- name: name
- description: The name of the resource
- cliKey: name
- protocol: {}
- - schema: *ref_93
- readOnly: true
- serializedName: type
- language:
- default:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cli:
- name: type
- description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cliKey: type
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- - input
- extensions:
- x-ms-azure-resource: true
- language:
- default:
- name: Resource
- description: ''
- namespace: ''
- cli:
- name: Resource
- description: ''
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 0
- propertyCountIfSimplifyWithoutSimpleObject: 0
- simplifiable: true
- cliKey: Resource
- protocol: {}
- - *ref_9
- - *ref_34
- - &ref_140
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: *ref_94
- serializedName: code
- language:
- default:
- name: code
- description: Error code
- cli:
- name: code
- description: Error code
- cliKey: code
- protocol: {}
- - schema: *ref_95
- serializedName: message
- language:
- default:
- name: message
- description: Error message indicating why the operation failed.
- cli:
- name: message
- description: Error message indicating why the operation failed.
- cliKey: message
- protocol: {}
- serializationFormats:
- - json
- usage:
- - output
- language:
- default:
- name: CloudError
- description: Error response of an operation failure
- namespace: ''
- cli:
- name: CloudError
- description: Error response of an operation failure
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: CloudError
- protocol: {}
- - &ref_162
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_164
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_165
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_166
- schema: *ref_96
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: &ref_167
- name: description
- description: Description of Workspace.
- cliKey: description
- protocol: {}
- - &ref_168
- schema: *ref_97
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: &ref_169
- name: friendlyName
- description: Friendly name of Workspace.
- cliKey: friendlyName
- protocol: {}
- - &ref_170
- schema: &ref_120
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_98
- language:
- default:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli:
- name: WorkspacePatchPropertiesApplicationGroupReferences
- description: List of applicationGroup links.
- cli-complexity: array_simple
- cli-mark: checked
- protocol: {}
- flattenedNames:
- - properties
- - applicationGroupReferences
- serializedName: applicationGroupReferences
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: &ref_171
- name: applicationGroupReferences
- description: List of applicationGroup links.
- cliKey: applicationGroupReferences
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- namespace: ''
- cli:
- name: WorkspacePatch
- description: Workspace properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspacePatch
- protocol: {}
- - &ref_179
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_121
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_34
- language:
- default:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli:
- name: WorkspaceListValue
- description: List of Workspace definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Workspace definitions.
- cli:
- name: value
- description: List of Workspace definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_99
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: WorkspaceList
- usage:
- - output
- language:
- default:
- name: WorkspaceList
- description: List of Workspace definitions.
- namespace: ''
- summary: WorkspaceList
- cli:
- name: WorkspaceList
- description: List of Workspace definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: WorkspaceList
- protocol: {}
- - &ref_184
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_122
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_35
- language:
- default:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli:
- name: ApplicationGroupListValue
- description: List of ApplicationGroup definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of ApplicationGroup definitions.
- cli:
- name: value
- description: List of ApplicationGroup definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_100
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationGroupList
- usage:
- - output
- language:
- default:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- namespace: ''
- summary: ApplicationGroupList
- cli:
- name: ApplicationGroupList
- description: List of ApplicationGroup definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationGroupList
- protocol: {}
- - *ref_35
- - *ref_83
- - &ref_223
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_123
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_84
- language:
- default:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli:
- name: StartMenuItemListValue
- description: List of StartMenuItem definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of StartMenuItem definitions.
- cli:
- name: value
- description: List of StartMenuItem definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_101
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: StartMenuItemList
- usage:
- - output
- language:
- default:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- namespace: ''
- summary: StartMenuItemList
- cli:
- name: StartMenuItemList
- description: List of StartMenuItem definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: StartMenuItemList
- protocol: {}
- - *ref_84
- - *ref_85
- - &ref_258
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_260
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_261
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_262
- schema: *ref_102
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Application.
- cli: &ref_263
- name: description
- description: Description of Application.
- cliKey: description
- protocol: {}
- - &ref_264
- schema: *ref_103
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: &ref_265
- name: friendlyName
- description: Friendly name of Application.
- cliKey: friendlyName
- protocol: {}
- - &ref_266
- schema: *ref_104
- flattenedNames:
- - properties
- - filePath
- serializedName: filePath
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: &ref_267
- name: filePath
- description: Specifies a path for the executable file for the application.
- cliKey: filePath
- protocol: {}
- - &ref_268
- schema: *ref_51
- flattenedNames:
- - properties
- - commandLineSetting
- serializedName: commandLineSetting
- language:
- default:
- name: command_line_setting
- 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.'
- cli: &ref_269
- name: 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.'
- cliKey: commandLineSetting
- protocol: {}
- - &ref_270
- schema: *ref_105
- flattenedNames:
- - properties
- - commandLineArguments
- serializedName: commandLineArguments
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: &ref_271
- name: commandLineArguments
- description: Command Line Arguments for Application.
- cliKey: commandLineArguments
- protocol: {}
- - &ref_272
- schema: *ref_53
- flattenedNames:
- - properties
- - showInPortal
- serializedName: showInPortal
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: &ref_273
- name: showInPortal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cliKey: showInPortal
- protocol: {}
- - &ref_274
- schema: *ref_106
- flattenedNames:
- - properties
- - iconPath
- serializedName: iconPath
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: &ref_275
- name: iconPath
- description: Path to icon.
- cliKey: iconPath
- protocol: {}
- - &ref_276
- schema: *ref_47
- flattenedNames:
- - properties
- - iconIndex
- serializedName: iconIndex
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: &ref_277
- name: iconIndex
- description: Index of the icon.
- cliKey: iconIndex
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: ApplicationPatch
- description: Application properties that can be patched.
- namespace: ''
- cli:
- name: ApplicationPatch
- description: Application properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationPatch
- protocol: {}
- - &ref_292
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_124
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_85
- language:
- default:
- name: ApplicationListValue
- description: List of Application definitions.
- cli:
- name: ApplicationListValue
- description: List of Application definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Application definitions.
- cli:
- name: value
- description: List of Application definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_107
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: ApplicationList
- usage:
- - output
- language:
- default:
- name: ApplicationList
- description: List of Application definitions.
- namespace: ''
- summary: ApplicationList
- cli:
- name: ApplicationList
- description: List of Application definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: ApplicationList
- protocol: {}
- - *ref_86
- - &ref_296
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_298
- schema: *ref_39
- serializedName: tags
- language:
- default:
- name: tags
- description: tags to be updated
- cli: &ref_299
- name: tags
- description: tags to be updated
- cliKey: tags
- protocol: {}
- - &ref_300
- schema: *ref_108
- flattenedNames:
- - properties
- - description
- serializedName: description
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: &ref_301
- name: description
- description: Description of Desktop.
- cliKey: description
- protocol: {}
- - &ref_302
- schema: *ref_109
- flattenedNames:
- - properties
- - friendlyName
- serializedName: friendlyName
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: &ref_303
- name: friendlyName
- description: Friendly name of Desktop.
- cliKey: friendlyName
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- namespace: ''
- cli:
- name: DesktopPatch
- description: Desktop properties that can be patched.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopPatch
- protocol: {}
- - &ref_312
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_125
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_86
- language:
- default:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli:
- name: DesktopListValue
- description: List of Desktop definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of Desktop definitions.
- cli:
- name: value
- description: List of Desktop definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_110
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: DesktopList
- usage:
- - output
- language:
- default:
- name: DesktopList
- description: List of Desktop definitions.
- namespace: ''
- summary: DesktopList
- cli:
- name: DesktopList
- description: List of Desktop definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: DesktopList
- protocol: {}
- - *ref_36
- - *ref_111
- - *ref_87
- - *ref_112
- - &ref_397
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_127
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_36
- language:
- default:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli:
- name: HostPoolListValue
- description: List of HostPool definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of HostPool definitions.
- cli:
- name: value
- description: List of HostPool definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_113
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: HostPoolList
- usage:
- - output
- language:
- default:
- name: HostPoolList
- description: List of HostPool definitions.
- namespace: ''
- summary: HostPoolList
- cli:
- name: HostPoolList
- description: List of HostPool definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: HostPoolList
- protocol: {}
- - &ref_401
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_128
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_88
- language:
- default:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli:
- name: UserSessionListValue
- description: List of UserSession definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of UserSession definitions.
- cli:
- name: value
- description: List of UserSession definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_114
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: UserSessionList
- usage:
- - output
- language:
- default:
- name: UserSessionList
- description: List of UserSession definitions.
- namespace: ''
- summary: UserSessionList
- cli:
- name: UserSessionList
- description: List of UserSession definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: UserSessionList
- protocol: {}
- - *ref_88
- - *ref_89
- - *ref_90
- - &ref_451
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - schema: &ref_129
- type: array
- apiVersions:
- - version: 2019-12-10-preview
- elementType: *ref_89
- language:
- default:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli:
- name: SessionHostListValue
- description: List of SessionHost definitions.
- cli-complexity: array_complex
- cli-mark: checked
- protocol: {}
- serializedName: value
- language:
- default:
- name: value
- description: List of SessionHost definitions.
- cli:
- name: value
- description: List of SessionHost definitions.
- cliKey: value
- protocol: {}
- - schema: *ref_115
- readOnly: true
- serializedName: nextLink
- language:
- default:
- name: next_link
- description: Link to the next page of results.
- cli:
- name: nextLink
- description: Link to the next page of results.
- cliKey: nextLink
- protocol: {}
- serializationFormats:
- - json
- summary: SessionHostList
- usage:
- - output
- language:
- default:
- name: SessionHostList
- description: List of SessionHost definitions.
- namespace: ''
- summary: SessionHostList
- cli:
- name: SessionHostList
- description: List of SessionHost definitions.
- cli-complexity: object_complex
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 10000
- propertyCountIfSimplifyWithoutSimpleObject: 10000
- simplifiable: false
- cliKey: SessionHostList
- protocol: {}
- - &ref_420
- type: object
- apiVersions:
- - version: 2019-12-10-preview
- properties:
- - &ref_422
- schema: *ref_116
- serializedName: messageTitle
- language:
- default:
- name: message_title
- description: Title of message.
- cli: &ref_423
- name: messageTitle
- description: Title of message.
- cliKey: messageTitle
- protocol: {}
- - &ref_424
- schema: *ref_117
- serializedName: messageBody
- language:
- default:
- name: message_body
- description: Body of message.
- cli: &ref_425
- name: messageBody
- description: Body of message.
- cliKey: messageBody
- protocol: {}
- serializationFormats:
- - json
- usage:
- - input
- language:
- default:
- name: SendMessage
- description: Represents message sent to a UserSession.
- namespace: ''
- cli:
- name: SendMessage
- description: Represents message sent to a UserSession.
- cli-complexity: object_simple
- cli-mark: checked
- cli-simplify-indicator:
- propertyCountIfSimplify: 2
- propertyCountIfSimplifyWithoutSimpleObject: 2
- simplifiable: true
- cliKey: SendMessage
- protocol: {}
- arrays:
- - *ref_118
- - *ref_119
- - *ref_120
- - *ref_121
- - *ref_122
- - *ref_123
- - *ref_124
- - *ref_125
- - *ref_126
- - *ref_127
- - *ref_128
- - *ref_129
-globalParameters:
- - &ref_135
- schema: *ref_130
- implementation: Client
- required: true
- extensions:
- x-ms-priority: 0
- language:
- default:
- name: subscription_id
- description: The ID of the target subscription.
- serializedName: subscriptionId
- cli:
- name: subscriptionId
- description: The ID of the target subscription.
- cliKey: subscriptionId
- protocol:
- http:
- in: path
- - &ref_132
- schema: *ref_0
- clientDefaultValue: 'https://management.azure.com'
- implementation: Client
- origin: 'modelerfour:synthesized/host'
- required: true
- extensions:
- x-ms-skip-url-encoding: true
- language:
- default:
- name: $host
- description: server parameter
- serializedName: $host
- cli:
- name: $host
- description: server parameter
- cliKey: $host
- protocol:
- http:
- in: uri
- - &ref_133
- schema: *ref_131
- implementation: Client
- origin: 'modelerfour:synthesized/api-version'
- required: true
- language:
- default:
- name: api_version
- description: Api Version
- serializedName: api-version
- cli:
- name: ApiVersion
- description: Api Version
- cliKey: ApiVersion
- protocol:
- http:
- in: query
-operationGroups:
- - $key: Operations
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: /providers/Microsoft.DesktopVirtualization/operations
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_134
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- extensions:
- x-ms-examples:
- OperationDescription_List:
- parameters:
- api-version: 2019-12-10-preview
- responses:
- '200':
- body:
- value:
- - name: Microsoft.DesktopVirtualization/ssocontext/read
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- - name: Microsoft.DesktopVirtualization/ssocontext/write
- display:
- provider: Microsoft.DesktopVirtualization
- resource: ssocontext
- language:
- default:
- name: list
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cli:
- name: List
- description: List all of the available operations the Desktop Virtualization resource provider supports.
- cliKey: List
- hidden: true
- protocol: {}
- language:
- default:
- name: Operation
- description: ''
- cli:
- name: Operation
- description: ''
- cliKey: Operations
- protocol: {}
- - $key: Workspaces
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_138
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_139
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_138
- - *ref_139
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Get:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a workspace.
- cli:
- name: Get
- description: Get a workspace.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_158
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_159
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_142
- schema: *ref_34
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_153
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_154
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_155
- schema: *ref_11
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_147
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_148
- protocol: {}
- - &ref_156
- schema: *ref_12
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_149
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_150
- protocol: {}
- - &ref_157
- schema: *ref_119
- implementation: Method
- originalParameter: *ref_142
- pathToProperty: []
- targetProperty: *ref_151
- language:
- default:
- name: application_group_references
- description: List of applicationGroup resource Ids.
- cli: *ref_152
- protocol: {}
- signatureParameters:
- - *ref_153
- - *ref_154
- - *ref_155
- - *ref_156
- - *ref_157
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_158
- - *ref_159
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Create:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a workspace.
- cli:
- name: CreateOrUpdate
- description: Create or update a workspace.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_160
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_161
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_160
- - *ref_161
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Delete:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a workspace.
- cli:
- name: Delete
- description: Remove a workspace.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_176
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_177
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_163
- schema: *ref_162
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _workspace
- description: Object containing Workspace definitions.
- cli:
- name: _workspace
- description: Object containing Workspace definitions.
- cliKey: workspace
- protocol:
- http:
- in: body
- style: json
- - &ref_172
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_164
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_165
- protocol: {}
- - &ref_173
- schema: *ref_96
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_166
- language:
- default:
- name: description
- description: Description of Workspace.
- cli: *ref_167
- protocol: {}
- - &ref_174
- schema: *ref_97
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_168
- language:
- default:
- name: friendly_name
- description: Friendly name of Workspace.
- cli: *ref_169
- protocol: {}
- - &ref_175
- schema: *ref_120
- implementation: Method
- originalParameter: *ref_163
- pathToProperty: []
- targetProperty: *ref_170
- language:
- default:
- name: application_group_references
- description: List of applicationGroup links.
- cli: *ref_171
- protocol: {}
- signatureParameters:
- - *ref_172
- - *ref_173
- - *ref_174
- - *ref_175
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_176
- - *ref_177
- responses:
- - schema: *ref_34
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_Update:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspace:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- workspaceName: workspace1
- responses:
- '200':
- body:
- name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a workspace.
- cli:
- name: Update
- description: Update a workspace.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_178
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_178
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List workspaces.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List workspaces.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_179
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Workspace_ListBySubscription:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: workspace1
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- - name: workspace2
- type: Microsoft.DesktopVirtualization/workspaces
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2
- location: centralus
- properties:
- description: des1
- friendlyName: friendly
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List workspaces in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List workspaces in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: Workspace
- description: ''
- cli:
- name: Workspace
- description: ''
- cliKey: Workspaces
- protocol: {}
- - $key: ApplicationGroupAssignments
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_181
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_182
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: workspace_name
- description: The name of the workspace
- serializedName: workspaceName
- cli:
- name: workspaceName
- description: The name of the workspace
- cliKey: workspaceName
- protocol:
- http:
- in: path
- - &ref_183
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_181
- - *ref_182
- - *ref_183
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroupAssignment_WorkspaceLevelList:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- workspaceName: workspace1
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: workspace_level_list
- description: List application group that user can use.
- paging:
- nextLinkName: nextLink
- cli:
- name: WorkspaceLevelList
- description: List application group that user can use.
- cliKey: WorkspaceLevelList
- protocol: {}
- language:
- default:
- name: ApplicationGroupAssignment
- description: ''
- cli:
- name: ApplicationGroupAssignment
- description: ''
- cliKey: ApplicationGroupAssignments
- hidden: true
- protocol: {}
- - $key: ApplicationGroups
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_185
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_186
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_185
- - *ref_186
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get an application group.
- cli:
- name: Get
- description: Get an application group.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_202
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_203
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_187
- schema: *ref_35
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_196
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_197
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_198
- schema: *ref_14
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_188
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_189
- protocol: {}
- - &ref_199
- schema: *ref_15
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: false
- targetProperty: *ref_190
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_191
- protocol: {}
- - &ref_200
- schema: *ref_16
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_192
- language:
- default:
- name: host_pool_arm_path
- description: HostPool arm path of ApplicationGroup.
- cli: *ref_193
- protocol: {}
- - &ref_201
- schema: *ref_18
- implementation: Method
- originalParameter: *ref_187
- pathToProperty: []
- required: true
- targetProperty: *ref_194
- language:
- default:
- name: application_group_type
- description: Resource Type of ApplicationGroup.
- cli: *ref_195
- protocol: {}
- signatureParameters:
- - *ref_196
- - *ref_197
- - *ref_198
- - *ref_199
- - *ref_200
- - *ref_201
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_202
- - *ref_203
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Create:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update an applicationGroup.
- cli:
- name: CreateOrUpdate
- description: Create or update an applicationGroup.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_204
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_205
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_204
- - *ref_205
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove an applicationGroup.
- cli:
- name: Delete
- description: Remove an applicationGroup.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_216
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_217
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_206
- schema: *ref_83
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cli:
- name: _application_group
- description: Object containing ApplicationGroup definitions.
- cliKey: applicationGroup
- protocol:
- http:
- in: body
- style: json
- - &ref_213
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_207
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_208
- protocol: {}
- - &ref_214
- schema: *ref_40
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_209
- language:
- default:
- name: description
- description: Description of ApplicationGroup.
- cli: *ref_210
- protocol: {}
- - &ref_215
- schema: *ref_41
- implementation: Method
- originalParameter: *ref_206
- pathToProperty: []
- targetProperty: *ref_211
- language:
- default:
- name: friendly_name
- description: Friendly name of ApplicationGroup.
- cli: *ref_212
- protocol: {}
- signatureParameters:
- - *ref_213
- - *ref_214
- - *ref_215
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_216
- - *ref_217
- responses:
- - schema: *ref_35
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroups_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroup:
- properties:
- description: des1
- friendlyName: friendly
- tags:
- tag1: value1
- tag2: value2
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update an applicationGroup.
- cli:
- name: Update
- description: Update an applicationGroup.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_218
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_219
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_218
- - *ref_219
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_ListByResourceGroup:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List applicationGroups.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List applicationGroups.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_220
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are applicationGroupType.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_220
- responses:
- - schema: *ref_184
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ApplicationGroup_List:
- parameters:
- $filter: applicationGroupType eq 'RailApplication'
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- - name: applicationGroup2
- type: Microsoft.DesktopVirtualization/applicationGroups
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2
- location: centralus
- properties:
- description: des1
- applicationGroupType: RemoteApp
- friendlyName: friendly
- hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- workspaceArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_subscription
- description: List applicationGroups in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySubscription
- description: List applicationGroups in subscription.
- cliKey: ListBySubscription
- protocol: {}
- language:
- default:
- name: ApplicationGroup
- description: ''
- cli:
- name: ApplicationGroup
- description: ''
- cliKey: ApplicationGroups
- protocol: {}
- - $key: StartMenuItems
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_221
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_222
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_221
- - *ref_222
- responses:
- - schema: *ref_223
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- StartMenuItem_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: application1
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1
- properties:
- appAlias: word
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- - name: application2
- type: Microsoft.DesktopVirtualization/applicationGroups/startMenuItems
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2
- properties:
- appAlias: excel
- commandLineArguments: arguments
- filePath: /path/to/file
- friendlyName: friendly
- iconIndex: 1
- iconPath: /path/to/icon
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List start menu items in the given application group.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List start menu items in the given application group.
- cliKey: List
- protocol: {}
- language:
- default:
- name: StartMenuItem
- description: ''
- cli:
- name: StartMenuItem
- description: ''
- cliKey: StartMenuItems
- hidden: true
- protocol: {}
- - $key: Applications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_224
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_225
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_226
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_224
- - *ref_225
- - *ref_226
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: get
- description: Get an application.
- cli:
- name: Get
- description: Get an application.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_252
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_253
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_254
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_227
- schema: *ref_85
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_244
- schema: *ref_48
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_228
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_229
- protocol: {}
- - &ref_245
- schema: *ref_49
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_230
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_231
- protocol: {}
- - &ref_246
- schema: *ref_50
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_232
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_233
- protocol: {}
- - &ref_247
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: true
- targetProperty: *ref_234
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_235
- protocol: {}
- - &ref_248
- schema: *ref_52
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_236
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_237
- protocol: {}
- - &ref_249
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_238
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_239
- protocol: {}
- - &ref_250
- schema: *ref_54
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_240
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_241
- protocol: {}
- - &ref_251
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_227
- pathToProperty: []
- required: false
- targetProperty: *ref_242
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_243
- protocol: {}
- signatureParameters:
- - *ref_244
- - *ref_245
- - *ref_246
- - *ref_247
- - *ref_248
- - *ref_249
- - *ref_250
- - *ref_251
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_252
- - *ref_253
- - *ref_254
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Create:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '201':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: create_or_update
- description: Create or update an application.
- cli:
- name: CreateOrUpdate
- description: Create or update an application.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_255
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_256
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_257
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_255
- - *ref_256
- - *ref_257
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Delete:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- '204': {}
- language:
- default:
- name: delete
- description: Remove an application.
- cli:
- name: Delete
- description: Remove an application.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_287
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_288
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_289
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_name
- description: The name of the application within the specified application group
- serializedName: applicationName
- cli:
- name: applicationName
- description: The name of the application within the specified application group
- cliKey: applicationName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_259
- schema: *ref_258
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _application
- description: Object containing Application definitions.
- cli:
- name: _application
- description: Object containing Application definitions.
- cliKey: application
- protocol:
- http:
- in: body
- style: json
- - &ref_278
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_260
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_261
- protocol: {}
- - &ref_279
- schema: *ref_102
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_262
- language:
- default:
- name: description
- description: Description of Application.
- cli: *ref_263
- protocol: {}
- - &ref_280
- schema: *ref_103
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_264
- language:
- default:
- name: friendly_name
- description: Friendly name of Application.
- cli: *ref_265
- protocol: {}
- - &ref_281
- schema: *ref_104
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_266
- language:
- default:
- name: file_path
- description: Specifies a path for the executable file for the application.
- cli: *ref_267
- protocol: {}
- - &ref_282
- schema: *ref_51
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_268
- language:
- default:
- name: command_line_setting
- 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.'
- cli: *ref_269
- protocol: {}
- - &ref_283
- schema: *ref_105
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_270
- language:
- default:
- name: command_line_arguments
- description: Command Line Arguments for Application.
- cli: *ref_271
- protocol: {}
- - &ref_284
- schema: *ref_53
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_272
- language:
- default:
- name: show_in_portal
- description: Specifies whether to show the RemoteApp program in the RD Web Access server.
- cli: *ref_273
- protocol: {}
- - &ref_285
- schema: *ref_106
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_274
- language:
- default:
- name: icon_path
- description: Path to icon.
- cli: *ref_275
- protocol: {}
- - &ref_286
- schema: *ref_47
- implementation: Method
- originalParameter: *ref_259
- pathToProperty: []
- targetProperty: *ref_276
- language:
- default:
- name: icon_index
- description: Index of the icon.
- cli: *ref_277
- protocol: {}
- signatureParameters:
- - *ref_278
- - *ref_279
- - *ref_280
- - *ref_281
- - *ref_282
- - *ref_283
- - *ref_284
- - *ref_285
- - *ref_286
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_287
- - *ref_288
- - *ref_289
- responses:
- - schema: *ref_85
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Application_Update:
- parameters:
- api-version: 2019-12-10-preview
- application:
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- applicationGroupName: applicationGroup1
- applicationName: application1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- language:
- default:
- name: update
- description: Update an application.
- cli:
- name: Update
- description: Update an application.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_290
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_291
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_290
- - *ref_291
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Applications_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List applications.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List applications.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Application
- description: ''
- cli:
- name: Application
- description: ''
- cliKey: Applications
- hidden: true
- protocol: {}
- - $key: Desktops
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_293
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_294
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_295
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_293
- - *ref_294
- - *ref_295
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Get:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: get
- description: Get a desktop.
- cli:
- name: Get
- description: Get a desktop.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_307
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_308
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- - &ref_309
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: desktop_name
- description: The name of the desktop within the specified desktop group
- serializedName: desktopName
- cli:
- name: desktopName
- description: The name of the desktop within the specified desktop group
- cliKey: desktopName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_297
- schema: *ref_296
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _desktop
- description: Object containing Desktop definitions.
- cli:
- name: _desktop
- description: Object containing Desktop definitions.
- cliKey: desktop
- protocol:
- http:
- in: body
- style: json
- - &ref_304
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_298
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_299
- protocol: {}
- - &ref_305
- schema: *ref_108
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_300
- language:
- default:
- name: description
- description: Description of Desktop.
- cli: *ref_301
- protocol: {}
- - &ref_306
- schema: *ref_109
- implementation: Method
- originalParameter: *ref_297
- pathToProperty: []
- targetProperty: *ref_302
- language:
- default:
- name: friendly_name
- description: Friendly name of Desktop.
- cli: *ref_303
- protocol: {}
- signatureParameters:
- - *ref_304
- - *ref_305
- - *ref_306
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_307
- - *ref_308
- - *ref_309
- responses:
- - schema: *ref_86
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_Update:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- desktop:
- properties:
- description: des1
- friendlyName: friendly
- desktopName: SessionDesktop
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: update
- description: Update a desktop.
- cli:
- name: Update
- description: Update a desktop.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_310
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_311
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: application_group_name
- description: The name of the application group
- serializedName: applicationGroupName
- cli:
- name: applicationGroupName
- description: The name of the application group
- cliKey: applicationGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_310
- - *ref_311
- responses:
- - schema: *ref_312
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- Desktop_List:
- parameters:
- api-version: 2019-12-10-preview
- applicationGroupName: applicationGroup1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/SessionDesktop
- type: Microsoft.DesktopVirtualization/applicationGroups/desktops
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop
- properties:
- description: des1
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- language:
- default:
- name: list
- description: List desktops.
- cli:
- name: List
- description: List desktops.
- cliKey: List
- protocol: {}
- language:
- default:
- name: Desktop
- description: ''
- cli:
- name: Desktop
- description: ''
- cliKey: Desktops
- hidden: true
- protocol: {}
- - $key: HostPools
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_313
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_314
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_313
- - *ref_314
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: get
- description: Get a host pool.
- cli:
- name: Get
- description: Get a host pool.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_354
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_355
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_315
- schema: *ref_36
- flattened: true
- implementation: Method
- required: true
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_340
- schema: *ref_37
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_143
- language:
- default:
- name: tags
- description: Resource tags.
- cli: *ref_144
- protocol: {}
- - &ref_341
- schema: *ref_38
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_145
- language:
- default:
- name: location
- description: The geo-location where the resource lives
- cli: *ref_146
- protocol: {}
- - &ref_342
- schema: *ref_19
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_316
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_317
- protocol: {}
- - &ref_343
- schema: *ref_20
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_318
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_319
- protocol: {}
- - &ref_344
- schema: *ref_21
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_320
- language:
- default:
- name: host_pool_type
- description: HostPool type for desktop.
- cli: *ref_321
- protocol: {}
- - &ref_345
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_322
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_323
- protocol: {}
- - &ref_346
- schema: *ref_23
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_324
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_325
- protocol: {}
- - &ref_347
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_326
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_327
- protocol: {}
- - &ref_348
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: true
- targetProperty: *ref_328
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_329
- protocol: {}
- - &ref_349
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_330
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_331
- protocol: {}
- - &ref_350
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_332
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_333
- protocol: {}
- - &ref_351
- schema: *ref_111
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_334
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_335
- protocol: {}
- - &ref_352
- schema: *ref_31
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_336
- language:
- default:
- name: vm_template
- description: VM template for sessionhosts configuration within hostpool.
- cli: *ref_337
- protocol: {}
- - &ref_353
- schema: *ref_33
- implementation: Method
- originalParameter: *ref_315
- pathToProperty: []
- required: false
- targetProperty: *ref_338
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_339
- protocol: {}
- signatureParameters:
- - *ref_340
- - *ref_341
- - *ref_342
- - *ref_343
- - *ref_344
- - *ref_345
- - *ref_346
- - *ref_347
- - *ref_348
- - *ref_349
- - *ref_350
- - *ref_351
- - *ref_352
- - *ref_353
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: put
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_354
- - *ref_355
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '201'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Create:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '201':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-01T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: create_or_update
- description: Create or update a host pool.
- cli:
- name: CreateOrUpdate
- description: Create or update a host pool.
- cliKey: CreateOrUpdate
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_357
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_358
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_359
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to delete sessionHost.
- serializedName: force
- cli:
- name: force
- description: Force flag to delete sessionHost.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_357
- - *ref_358
- - *ref_359
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- '204': {}
- language:
- default:
- name: delete
- description: Remove a host pool.
- cli:
- name: Delete
- description: Remove a host pool.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_394
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_395
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_360
- schema: *ref_87
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _host_pool
- description: Object containing HostPool definitions.
- cli:
- name: _host_pool
- description: Object containing HostPool definitions.
- cliKey: hostPool
- protocol:
- http:
- in: body
- style: json
- - &ref_383
- schema: *ref_39
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_361
- language:
- default:
- name: tags
- description: tags to be updated
- cli: *ref_362
- protocol: {}
- - &ref_384
- schema: *ref_61
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_363
- language:
- default:
- name: friendly_name
- description: Friendly name of HostPool.
- cli: *ref_364
- protocol: {}
- - &ref_385
- schema: *ref_62
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_365
- language:
- default:
- name: description
- description: Description of HostPool.
- cli: *ref_366
- protocol: {}
- - &ref_386
- schema: *ref_63
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_367
- language:
- default:
- name: custom_rdp_property
- description: Custom rdp property of HostPool.
- cli: *ref_368
- protocol: {}
- - &ref_387
- schema: *ref_24
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_369
- language:
- default:
- name: max_session_limit
- description: The max session limit of HostPool.
- cli: *ref_370
- protocol: {}
- - &ref_388
- schema: *ref_22
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_371
- language:
- default:
- name: personal_desktop_assignment_type
- description: PersonalDesktopAssignment type for HostPool.
- cli: *ref_372
- protocol: {}
- - &ref_389
- schema: *ref_25
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_373
- language:
- default:
- name: load_balancer_type
- description: The type of the load balancer.
- cli: *ref_374
- protocol: {}
- - &ref_390
- schema: *ref_26
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_375
- language:
- default:
- name: ring
- description: The ring number of HostPool.
- cli: *ref_376
- protocol: {}
- - &ref_391
- schema: *ref_27
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_377
- language:
- default:
- name: validation_environment
- description: Is validation environment.
- cli: *ref_378
- protocol: {}
- - &ref_392
- schema: *ref_112
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_379
- language:
- default:
- name: registration_info
- description: The registration info of HostPool.
- cli: *ref_380
- protocol: {}
- - &ref_393
- schema: *ref_64
- implementation: Method
- originalParameter: *ref_360
- pathToProperty: []
- targetProperty: *ref_381
- language:
- default:
- name: sso_context
- description: Path to keyvault containing ssoContext secret.
- cli: *ref_382
- protocol: {}
- signatureParameters:
- - *ref_383
- - *ref_384
- - *ref_385
- - *ref_386
- - *ref_387
- - *ref_388
- - *ref_389
- - *ref_390
- - *ref_391
- - *ref_392
- - *ref_393
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_394
- - *ref_395
- responses:
- - schema: *ref_36
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPool:
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2020-10-02T14:01:54.9571247Z'
- ssoContext: KeyVaultPath
- tags:
- tag1: value1
- tag2: value2
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- language:
- default:
- name: update
- description: Update a host pool.
- cli:
- name: Update
- description: Update a host pool.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_396
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_396
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_ListByResourceGroup:
- parameters:
- api-version: 2019-12-10-preview
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_resource_group
- description: List hostPools.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByResourceGroup
- description: List hostPools.
- cliKey: ListByResourceGroup
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'
- method: get
- uri: '{$host}'
- signatureParameters: []
- responses:
- - schema: *ref_397
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- HostPool_List:
- parameters:
- api-version: 2019-12-10-preview
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: hostPool1
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- - name: hostPool2
- type: /Microsoft.DesktopVirtualization/hostPools
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2
- location: centralus
- properties:
- description: des1
- customRdpProperty: null
- friendlyName: friendly
- hostPoolType: Pooled
- loadBalancerType: BreadthFirst
- maxSessionLimit: 999999
- personalDesktopAssignmentType: Automatic
- registrationInfo:
- expirationTime: '2008-09-22T14:01:54.9571247Z'
- registrationTokenOperation: Update
- token: token
- ring: null
- ssoContext: KeyVaultPath
- validationEnvironment: null
- tags:
- key1: value1
- key2: value2
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List hostPools in subscription.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List hostPools in subscription.
- cliKey: List
- protocol: {}
- language:
- default:
- name: HostPool
- description: ''
- cli:
- name: HostPool
- description: ''
- cliKey: HostPools
- protocol: {}
- - $key: UserSessions
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_398
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_399
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_400
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_398
- - *ref_399
- - *ref_400
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_ListByHostPool:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com' and state eq 'active'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_host_pool
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListByHostPool
- description: List userSessions.
- cliKey: ListByHostPool
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_404
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_405
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_406
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_407
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_404
- - *ref_405
- - *ref_406
- - *ref_407
- responses:
- - schema: *ref_88
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- body:
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- language:
- default:
- name: get
- description: Get a userSession.
- cli:
- name: Get
- description: Get a userSession.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_408
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_409
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_410
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_411
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- - &ref_412
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to login off userSession.
- serializedName: force
- cli:
- name: force
- description: Force flag to login off userSession.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_408
- - *ref_409
- - *ref_410
- - *ref_411
- - *ref_412
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200':
- name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- '204': {}
- language:
- default:
- name: delete
- description: Remove a userSession.
- cli:
- name: Delete
- description: Remove a userSession.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_413
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_414
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_415
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_413
- - *ref_414
- - *ref_415
- responses:
- - schema: *ref_401
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: '1'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- - name: '2'
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2
- properties:
- activeDirectoryUserName: WVDARM\user1
- applicationType: Desktop
- createTime: '2008-09-22T14:01:54.9571247Z'
- sessionState: Active
- userPrincipalName: user1@microsoft.com
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List userSessions.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List userSessions.
- cliKey: List
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_416
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_417
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_418
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_419
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'
- method: post
- uri: '{$host}'
- signatureParameters:
- - *ref_416
- - *ref_417
- - *ref_418
- - *ref_419
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_Disconnect_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: disconnect
- description: Disconnect a userSession.
- cli:
- name: Disconnect
- description: Disconnect a userSession.
- cliKey: Disconnect
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_428
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_429
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_430
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_431
- schema: *ref_403
- implementation: Method
- required: true
- language:
- default:
- name: user_session_id
- description: The name of the user session within the specified session host
- serializedName: userSessionId
- cli:
- name: userSessionId
- description: The name of the user session within the specified session host
- cliKey: userSessionId
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_421
- schema: *ref_420
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _send_message
- description: Object containing message includes title and message body
- cli:
- name: _send_message
- description: Object containing message includes title and message body
- cliKey: sendMessage
- protocol:
- http:
- in: body
- style: json
- - &ref_426
- schema: *ref_116
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_422
- language:
- default:
- name: message_title
- description: Title of message.
- cli: *ref_423
- protocol: {}
- - &ref_427
- schema: *ref_117
- implementation: Method
- originalParameter: *ref_421
- pathToProperty: []
- targetProperty: *ref_424
- language:
- default:
- name: message_body
- description: Body of message.
- cli: *ref_425
- protocol: {}
- signatureParameters:
- - *ref_426
- - *ref_427
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'
- method: post
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_428
- - *ref_429
- - *ref_430
- - *ref_431
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- UserSession_SendMessage_Post:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sendMessage:
- messageBody: body
- messageTitle: title
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- userSessionId: '1'
- responses:
- '200': {}
- language:
- default:
- name: send_message
- description: Send a message to a user.
- cli:
- name: SendMessage
- description: Send a message to a user.
- cliKey: SendMessage
- protocol: {}
- language:
- default:
- name: UserSession
- description: ''
- cli:
- name: UserSession
- description: ''
- cliKey: UserSessions
- hidden: true
- protocol: {}
- - $key: SessionHosts
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_432
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_433
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_434
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_432
- - *ref_433
- - *ref_434
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Get:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: get
- description: Get a session host.
- cli:
- name: Get
- description: Get a session host.
- cliKey: Get
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_435
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_436
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_437
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_438
- schema: *ref_356
- implementation: Method
- language:
- default:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- serializedName: force
- cli:
- name: force
- description: Force flag to force sessionHost deletion even when userSession exists.
- cliKey: force
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: delete
- uri: '{$host}'
- signatureParameters:
- - *ref_435
- - *ref_436
- - *ref_437
- - *ref_438
- responses:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '200'
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- statusCodes:
- - '204'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Delete:
- parameters:
- api-version: 2019-12-10-preview
- force: true
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionHosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- '204': {}
- language:
- default:
- name: delete
- description: Remove a SessionHost.
- cli:
- name: Delete
- description: Remove a SessionHost.
- cliKey: Delete
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_446
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_447
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_448
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- requests:
- - parameters:
- - schema: *ref_141
- implementation: Method
- origin: 'modelerfour:synthesized/content-type'
- required: true
- language:
- default:
- name: content_type
- description: Body Parameter content-type
- serializedName: Content-Type
- cli:
- name: ContentType
- description: Body Parameter content-type
- cliKey: content-type
- protocol:
- http:
- in: header
- - &ref_439
- schema: *ref_90
- flattened: true
- implementation: Method
- required: false
- extensions:
- x-ms-client-flatten: true
- language:
- default:
- name: _session_host
- description: Object containing SessionHost definitions.
- cli:
- name: _session_host
- description: Object containing SessionHost definitions.
- cliKey: sessionHost
- protocol:
- http:
- in: body
- style: json
- - &ref_444
- schema: *ref_73
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_440
- language:
- default:
- name: allow_new_session
- description: Allow a new session.
- cli: *ref_441
- protocol: {}
- - &ref_445
- schema: *ref_82
- implementation: Method
- originalParameter: *ref_439
- pathToProperty: []
- targetProperty: *ref_442
- language:
- default:
- name: assigned_user
- description: User assigned to SessionHost.
- cli: *ref_443
- protocol: {}
- signatureParameters:
- - *ref_444
- - *ref_445
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}'
- method: patch
- knownMediaType: json
- mediaTypes:
- - application/json
- uri: '{$host}'
- signatureParameters:
- - *ref_446
- - *ref_447
- - *ref_448
- responses:
- - schema: *ref_89
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_Update:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHost:
- properties:
- allowNewSession: true
- assignedUser: user1@microsoft.com
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2019-01-11T19:27:13.6108027Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2019-01-24T20:00:08.2893033Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- language:
- default:
- name: update
- description: Update a session host.
- cli:
- name: Update
- description: Update a session host.
- cliKey: Update
- protocol: {}
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_449
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_450
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_449
- - *ref_450
- responses:
- - schema: *ref_451
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- SessionHost_List:
- parameters:
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: sessionHost1.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user1@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- - name: sessionHost2.microsoft.com
- type: Microsoft.DesktopVirtualization/hostPools/sessionhosts
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com
- properties:
- agentVersion: 1.0.0.1391
- allowNewSession: true
- assignedUser: user2@microsoft.com
- lastHeartBeat: '2008-09-22T14:01:54.9571247Z'
- lastUpdateTime: '2008-09-22T14:01:54.9571247Z'
- osVersion: 10.0.17763
- sessions: 1
- status: Available
- statusTimestamp: '2008-09-22T14:01:54.9571247Z'
- sxSStackVersion: rdp-sxs190816002
- updateErrorMessage: ''
- updateState: Succeeded
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list
- description: List sessionHosts.
- paging:
- nextLinkName: nextLink
- cli:
- name: List
- description: List sessionHosts.
- cliKey: List
- protocol: {}
- language:
- default:
- name: SessionHost
- description: ''
- cli:
- name: SessionHost
- description: ''
- cliKey: SessionHosts
- hidden: true
- protocol: {}
- - $key: ActiveApplications
- operations:
- - apiVersions:
- - version: 2019-12-10-preview
- parameters:
- - *ref_132
- - *ref_133
- - *ref_135
- - &ref_452
- schema: *ref_136
- implementation: Method
- required: true
- language:
- default:
- name: resource_group_name
- description: The name of the resource group. The name is case insensitive.
- serializedName: resourceGroupName
- cli:
- name: resourceGroupName
- description: The name of the resource group. The name is case insensitive.
- cliKey: resourceGroupName
- protocol:
- http:
- in: path
- - &ref_453
- schema: *ref_137
- implementation: Method
- required: true
- language:
- default:
- name: host_pool_name
- description: The name of the host pool within the specified resource group
- serializedName: hostPoolName
- cli:
- name: hostPoolName
- description: The name of the host pool within the specified resource group
- cliKey: hostPoolName
- protocol:
- http:
- in: path
- - &ref_454
- schema: *ref_402
- implementation: Method
- required: true
- language:
- default:
- name: session_host_name
- description: The name of the session host within the specified host pool
- serializedName: sessionHostName
- cli:
- name: sessionHostName
- description: The name of the session host within the specified host pool
- cliKey: sessionHostName
- protocol:
- http:
- in: path
- - &ref_455
- schema: *ref_180
- implementation: Method
- language:
- default:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- serializedName: $filter
- cli:
- name: filter
- description: OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
- cliKey: $filter
- protocol:
- http:
- in: query
- requests:
- - language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'
- method: get
- uri: '{$host}'
- signatureParameters:
- - *ref_452
- - *ref_453
- - *ref_454
- - *ref_455
- responses:
- - schema: *ref_292
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - '200'
- exceptions:
- - schema: *ref_140
- language:
- default:
- name: ''
- description: ''
- protocol:
- http:
- knownMediaType: json
- mediaTypes:
- - application/json
- statusCodes:
- - default
- extensions:
- x-ms-examples:
- ActiveApplications_List:
- parameters:
- $filter: userPrincipalName eq 'user1@microsoft.com'
- api-version: 2019-12-10-preview
- hostPoolName: hostPool1
- resourceGroupName: resourceGroup1
- sessionHostName: sessionHost1.microsoft.com
- subscriptionId: daefabc0-95b4-48b3-b645-8a753a63c4fa
- responses:
- '200':
- body:
- value:
- - name: applicationGroup1/application1
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1
- properties:
- description: des1
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- - name: applicationGroup1/application2
- type: Microsoft.DesktopVirtualization/applicationGroups/applications
- id: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2
- properties:
- description: des2
- commandLineArguments: arguments
- commandLineSetting: Allow
- filePath: path
- friendlyName: friendly
- iconContent: AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...
- iconHash: bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc
- iconIndex: 1
- iconPath: icon
- showInPortal: true
- x-ms-pageable:
- nextLinkName: nextLink
- language:
- default:
- name: list_by_session_host
- description: List applications for the given session host.
- paging:
- nextLinkName: nextLink
- cli:
- name: ListBySessionHost
- description: List applications for the given session host.
- cliKey: ListBySessionHost
- protocol: {}
- language:
- default:
- name: ActiveApplication
- description: ''
- cli:
- name: ActiveApplication
- description: ''
- cliKey: ActiveApplications
- hidden: true
- protocol: {}
-language:
- default:
- name: DesktopVirtualizationAPIClient
- description: ''
- cli:
- name: DesktopVirtualizationAPIClient
- description: ''
-protocol:
- http: {}
diff --git a/src/desktopvirtualization/_az_debug/clicommon-flatten-object-map.txt b/src/desktopvirtualization/_az_debug/clicommon-flatten-object-map.txt
deleted file mode 100644
index b029cf1c9fe..00000000000
--- a/src/desktopvirtualization/_az_debug/clicommon-flatten-object-map.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-ResourceProviderOperationList<1>
-ResourceProviderOperation<2>(display:ResourceProviderOperation-display)
-ResourceProviderOperation-display<4>
-Resource<3>
-TrackedResource<2>
-Workspace<1>[properties] -> WorkspaceProperties<3>
-CloudError<2>
-WorkspacePatch<2>[properties] -> WorkspacePatchProperties<3>
-WorkspaceList<2>
-ApplicationGroupList<2>
-ApplicationGroup<1>[properties] -> ApplicationGroupProperties<5>
-ApplicationGroupPatch<2>[properties] -> ApplicationGroupPatchProperties<2>
-StartMenuItemList<2>
-StartMenuItem<1>[properties] -> StartMenuItemProperties<6>
-Application<1>[properties] -> ApplicationProperties<10>
-ApplicationPatch<2>[properties] -> ApplicationPatchProperties<8>
-ApplicationList<2>
-Desktop<1>[properties] -> DesktopProperties<4>
-DesktopPatch<2>[properties] -> DesktopPatchProperties<2>
-DesktopList<2>
-HostPool<1>[properties] -> HostPoolProperties<13>(registrationInfo:RegistrationInfo)
-RegistrationInfo<3>
-HostPoolPatch<2>[properties] -> HostPoolPatchProperties<10>(registrationInfo:RegistrationInfoPatch)
-RegistrationInfoPatch<1>
-HostPoolList<2>
-UserSessionList<2>
-UserSession<1>[properties] -> UserSessionProperties<5>
-SessionHost<1>[properties] -> SessionHostProperties<12>
-SessionHostPatch<1>[properties] -> SessionHostPatchProperties<2>
-SessionHostList<2>
-SendMessage<2>
\ No newline at end of file
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/__init__.py
index abb688f1d18..9ce6b976062 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/__init__.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/__init__.py
@@ -10,6 +10,10 @@
from azure.cli.core import AzCommandsLoader
from azext_desktopvirtualization.generated._help import helps # pylint: disable=unused-import
+try:
+ from azext_desktopvirtualization.manual._help import helps # pylint: disable=reimported
+except ImportError:
+ pass
class DesktopVirtualizationAPIClientCommandsLoader(AzCommandsLoader):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/azext_metadata.json b/src/desktopvirtualization/azext_desktopvirtualization/azext_metadata.json
index 13025150393..cfc30c747c7 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/azext_metadata.json
+++ b/src/desktopvirtualization/azext_desktopvirtualization/azext_metadata.json
@@ -1,4 +1,4 @@
{
"azext.isExperimental": true,
- "azext.minCliCoreVersion": "2.3.1"
+ "azext.minCliCoreVersion": "2.15.0"
}
\ No newline at end of file
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/_client_factory.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/_client_factory.py
index c2eaaf78da0..80f758f5be5 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/generated/_client_factory.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/_client_factory.py
@@ -11,17 +11,30 @@
def cf_desktopvirtualization_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
- from ..vendored_sdks.desktopvirtualization import DesktopVirtualizationAPIClient
- return get_mgmt_service_client(cli_ctx, DesktopVirtualizationAPIClient)
+ from azext_desktopvirtualization.vendored_sdks.desktopvirtualization import DesktopVirtualizationAPIClient
+ return get_mgmt_service_client(cli_ctx,
+ DesktopVirtualizationAPIClient)
def cf_workspace(cli_ctx, *_):
- return cf_desktopvirtualization_cl(cli_ctx).workspace
+ return cf_desktopvirtualization_cl(cli_ctx).workspaces
+
+
+def cf_scaling_plan(cli_ctx, *_):
+ return cf_desktopvirtualization_cl(cli_ctx).scaling_plans
def cf_application_group(cli_ctx, *_):
- return cf_desktopvirtualization_cl(cli_ctx).application_group
+ return cf_desktopvirtualization_cl(cli_ctx).application_groups
def cf_host_pool(cli_ctx, *_):
- return cf_desktopvirtualization_cl(cli_ctx).host_pool
+ return cf_desktopvirtualization_cl(cli_ctx).host_pools
+
+
+def cf_msix_package(cli_ctx, *_):
+ return cf_desktopvirtualization_cl(cli_ctx).msix_packages
+
+
+def cf_msix_image(cli_ctx, *_):
+ return cf_desktopvirtualization_cl(cli_ctx).msix_images
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py
index f83a14c0562..29cc7ee8cfe 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py
@@ -14,164 +14,458 @@
helps['desktopvirtualization workspace'] = """
type: group
- short-summary: desktopvirtualization workspace
+ short-summary: Manage workspace with desktopvirtualization
"""
helps['desktopvirtualization workspace list'] = """
type: command
- short-summary: List workspaces in subscription.
+ short-summary: "List workspaces. And List workspaces in subscription."
examples:
- name: Workspace_ListByResourceGroup
text: |-
- az desktopvirtualization workspace list --resource-group "MyResourceGroup"
+ az desktopvirtualization workspace list --resource-group "resourceGroup1"
+ - name: Workspace_ListBySubscription
+ text: |-
+ az desktopvirtualization workspace list
"""
helps['desktopvirtualization workspace show'] = """
type: command
- short-summary: Get a workspace.
+ short-summary: "Get a workspace."
examples:
- name: Workspace_Get
text: |-
- az desktopvirtualization workspace show --resource-group "MyResourceGroup" --name "MyWorkspace"
+ az desktopvirtualization workspace show --resource-group "resourceGroup1" --name "workspace1"
"""
helps['desktopvirtualization workspace create'] = """
type: command
- short-summary: Create or update a workspace.
+ short-summary: "Create a workspace."
+ parameters:
+ - name: --sku
+ short-summary: "The resource model definition representing SKU"
+ long-summary: |
+ Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX
+
+ name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code
+ tier: 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.
+ size: The SKU size. When the name field is the combination of tier and some other value, this would be the \
+standalone code.
+ family: If the service has different generations of hardware, for the same SKU, then that can be captured \
+here.
+ capacity: 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.
+ - name: --plan
+ short-summary: "Plan for the resource."
+ long-summary: |
+ Usage: --plan name=XX publisher=XX product=XX promotion-code=XX version=XX
+
+ name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
+ product: Required. 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.
+ promotion-code: A publisher provided promotion code as provisioned in Data Market for the said \
+product/artifact.
+ version: The version of the desired product/artifact.
examples:
- name: Workspace_Create
text: |-
- az desktopvirtualization workspace create --resource-group "MyResourceGroup" --location "centralus" \
---description "des1" --friendly-name "friendly" --tags tag1="value1" tag2="value2" --name "MyWorkspace"
+ az desktopvirtualization workspace create --resource-group "resourceGroup1" --location "centralus" \
+--description "des1" --friendly-name "friendly" --tags tag1="value1" tag2="value2" --name "workspace1"
"""
helps['desktopvirtualization workspace update'] = """
type: command
- short-summary: Update a workspace.
+ short-summary: "Update a workspace."
examples:
- name: Workspace_Update
text: |-
- az desktopvirtualization workspace update --resource-group "MyResourceGroup" --description "des1" \
---friendly-name "friendly" --tags tag1="value1" tag2="value2" --name "MyWorkspace"
+ az desktopvirtualization workspace update --resource-group "resourceGroup1" --description "des1" \
+--friendly-name "friendly" --tags tag1="value1" tag2="value2" --name "workspace1"
"""
helps['desktopvirtualization workspace delete'] = """
type: command
- short-summary: Remove a workspace.
+ short-summary: "Remove a workspace."
examples:
- name: Workspace_Delete
text: |-
- az desktopvirtualization workspace delete --resource-group "MyResourceGroup" --name "MyWorkspace"
+ az desktopvirtualization workspace delete --resource-group "resourceGroup1" --name "workspace1"
+"""
+
+helps['desktopvirtualization scaling-plan'] = """
+ type: group
+ short-summary: Manage scaling plan with desktopvirtualization
+"""
+
+helps['desktopvirtualization scaling-plan list'] = """
+ type: command
+ short-summary: "List scaling plan associated with hostpool. And List scaling plans. And List scaling plans in \
+subscription."
+ examples:
+ - name: UserSession_SendMessage_Post
+ text: |-
+ az desktopvirtualization scaling-plan list --host-pool-name "hostPool1" --resource-group \
+"resourceGroup1"
+ - name: ScalingPlans_ListByResourceGroup
+ text: |-
+ az desktopvirtualization scaling-plan list --resource-group "resourceGroup1"
+ - name: ScalingPlans_ListBySubscription
+ text: |-
+ az desktopvirtualization scaling-plan list
+"""
+
+helps['desktopvirtualization scaling-plan show'] = """
+ type: command
+ short-summary: "Get a scaling plan."
+ examples:
+ - name: ScalingPlans_Get
+ text: |-
+ az desktopvirtualization scaling-plan show --resource-group "resourceGroup1" --name "scalingPlan1"
+"""
+
+helps['desktopvirtualization scaling-plan create'] = """
+ type: command
+ short-summary: "Create or update a scaling plan."
+ parameters:
+ - name: --sku
+ short-summary: "The resource model definition representing SKU"
+ long-summary: |
+ Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX
+
+ name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code
+ tier: 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.
+ size: The SKU size. When the name field is the combination of tier and some other value, this would be the \
+standalone code.
+ family: If the service has different generations of hardware, for the same SKU, then that can be captured \
+here.
+ capacity: 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.
+ - name: --plan
+ short-summary: "Plan for the resource."
+ long-summary: |
+ Usage: --plan name=XX publisher=XX product=XX promotion-code=XX version=XX
+
+ name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
+ product: Required. 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.
+ promotion-code: A publisher provided promotion code as provisioned in Data Market for the said \
+product/artifact.
+ version: The version of the desired product/artifact.
+ - name: --schedules
+ short-summary: "List of ScalingSchedule definitions."
+ long-summary: |
+ Usage: --schedules name=XX days-of-week=XX ramp-up-start-time=XX ramp-up-load-balancing-algorithm=XX \
+ramp-up-minimum-hosts-pct=XX ramp-up-capacity-threshold-pct=XX peak-start-time=XX peak-load-balancing-algorithm=XX \
+ramp-down-start-time=XX ramp-down-load-balancing-algorithm=XX ramp-down-minimum-hosts-pct=XX \
+ramp-down-capacity-threshold-pct=XX ramp-down-force-logoff-users=XX ramp-down-stop-hosts-when=XX \
+ramp-down-wait-time-minutes=XX ramp-down-notification-message=XX off-peak-start-time=XX off-peak-load-balancing-algorit\
+hm=XX
+
+ name: Name of the scaling schedule.
+ days-of-week: Set of days of the week on which this schedule is active.
+ ramp-up-start-time: Starting time for ramp up period.
+ ramp-up-load-balancing-algorithm: Load balancing algorithm for ramp up period.
+ ramp-up-minimum-hosts-pct: Minimum host percentage for ramp up period.
+ ramp-up-capacity-threshold-pct: Capacity threshold for ramp up period.
+ peak-start-time: Starting time for peak period.
+ peak-load-balancing-algorithm: Load balancing algorithm for peak period.
+ ramp-down-start-time: Starting time for ramp down period.
+ ramp-down-load-balancing-algorithm: Load balancing algorithm for ramp down period.
+ ramp-down-minimum-hosts-pct: Minimum host percentage for ramp down period.
+ ramp-down-capacity-threshold-pct: Capacity threshold for ramp down period.
+ ramp-down-force-logoff-users: Should users be logged off forcefully from hosts.
+ ramp-down-stop-hosts-when: Specifies when to stop hosts during ramp down period.
+ ramp-down-wait-time-minutes: Number of minutes to wait to stop hosts during ramp down period.
+ ramp-down-notification-message: Notification message for users during ramp down period.
+ off-peak-start-time: Starting time for off-peak period.
+ off-peak-load-balancing-algorithm: Load balancing algorithm for off-peak period.
+
+ Multiple actions can be specified by using more than one --schedules argument.
+ - name: --host-pool-references
+ short-summary: "List of ScalingHostPoolReference definitions."
+ long-summary: |
+ Usage: --host-pool-references host-pool-arm-path=XX scaling-plan-enabled=XX
+
+ host-pool-arm-path: Arm path of referenced hostpool.
+ scaling-plan-enabled: Is the scaling plan enabled for this hostpool.
+
+ Multiple actions can be specified by using more than one --host-pool-references argument.
+ examples:
+ - name: ScalingPlans_Create
+ text: |-
+ az desktopvirtualization scaling-plan create --resource-group "resourceGroup1" --location "centralus" \
+--description "des1" --exclusion-tag "value" --friendly-name "friendly" --host-pool-references \
+host-pool-arm-path="/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microso\
+ft.DesktopVirtualization/hostPools/hostPool1" scaling-plan-enabled=true --host-pool-type "Personal" --schedules \
+name="schedule1" days-of-week="Monday" days-of-week="Tuesday" days-of-week="Wednesday" days-of-week="Thursday" \
+days-of-week="Friday" off-peak-load-balancing-algorithm="DepthFirst" off-peak-start-time="2020-11-10T20:00:00.000Z" \
+peak-load-balancing-algorithm="BreadthFirst" peak-start-time="2020-11-10T08:00:00.000Z" ramp-down-capacity-threshold-pc\
+t=50 ramp-down-force-logoff-users=true ramp-down-load-balancing-algorithm="DepthFirst" ramp-down-minimum-hosts-pct=20 \
+ramp-down-notification-message="message" ramp-down-start-time="2020-11-10T18:00:00.000Z" \
+ramp-down-wait-time-minutes=30 ramp-up-capacity-threshold-pct=80 ramp-up-load-balancing-algorithm="DepthFirst" \
+ramp-up-minimum-hosts-pct=20 ramp-up-start-time="2020-11-10T06:00:00.000Z" --time-zone "" --tags tag1="value1" \
+tag2="value2" --name "scalingPlan1"
+"""
+
+helps['desktopvirtualization scaling-plan update'] = """
+ type: command
+ short-summary: "Update a scaling plan."
+ parameters:
+ - name: --schedules
+ short-summary: "List of ScalingSchedule definitions."
+ long-summary: |
+ Usage: --schedules name=XX days-of-week=XX ramp-up-start-time=XX ramp-up-load-balancing-algorithm=XX \
+ramp-up-minimum-hosts-pct=XX ramp-up-capacity-threshold-pct=XX peak-start-time=XX peak-load-balancing-algorithm=XX \
+ramp-down-start-time=XX ramp-down-load-balancing-algorithm=XX ramp-down-minimum-hosts-pct=XX \
+ramp-down-capacity-threshold-pct=XX ramp-down-force-logoff-users=XX ramp-down-stop-hosts-when=XX \
+ramp-down-wait-time-minutes=XX ramp-down-notification-message=XX off-peak-start-time=XX off-peak-load-balancing-algorit\
+hm=XX
+
+ name: Name of the scaling schedule.
+ days-of-week: Set of days of the week on which this schedule is active.
+ ramp-up-start-time: Starting time for ramp up period.
+ ramp-up-load-balancing-algorithm: Load balancing algorithm for ramp up period.
+ ramp-up-minimum-hosts-pct: Minimum host percentage for ramp up period.
+ ramp-up-capacity-threshold-pct: Capacity threshold for ramp up period.
+ peak-start-time: Starting time for peak period.
+ peak-load-balancing-algorithm: Load balancing algorithm for peak period.
+ ramp-down-start-time: Starting time for ramp down period.
+ ramp-down-load-balancing-algorithm: Load balancing algorithm for ramp down period.
+ ramp-down-minimum-hosts-pct: Minimum host percentage for ramp down period.
+ ramp-down-capacity-threshold-pct: Capacity threshold for ramp down period.
+ ramp-down-force-logoff-users: Should users be logged off forcefully from hosts.
+ ramp-down-stop-hosts-when: Specifies when to stop hosts during ramp down period.
+ ramp-down-wait-time-minutes: Number of minutes to wait to stop hosts during ramp down period.
+ ramp-down-notification-message: Notification message for users during ramp down period.
+ off-peak-start-time: Starting time for off-peak period.
+ off-peak-load-balancing-algorithm: Load balancing algorithm for off-peak period.
+
+ Multiple actions can be specified by using more than one --schedules argument.
+ - name: --host-pool-references
+ short-summary: "List of ScalingHostPoolReference definitions."
+ long-summary: |
+ Usage: --host-pool-references host-pool-arm-path=XX scaling-plan-enabled=XX
+
+ host-pool-arm-path: Arm path of referenced hostpool.
+ scaling-plan-enabled: Is the scaling plan enabled for this hostpool.
+
+ Multiple actions can be specified by using more than one --host-pool-references argument.
+ examples:
+ - name: ScalingPlans_Update
+ text: |-
+ az desktopvirtualization scaling-plan update --resource-group "resourceGroup1" --name "scalingPlan1" \
+--description "des1" --exclusion-tag "value" --friendly-name "friendly" --host-pool-references \
+host-pool-arm-path="/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microso\
+ft.DesktopVirtualization/hostPools/hostPool1" scaling-plan-enabled=true --host-pool-type "Personal" --schedules \
+name="schedule1" days-of-week="Monday" days-of-week="Tuesday" days-of-week="Wednesday" days-of-week="Thursday" \
+days-of-week="Friday" off-peak-load-balancing-algorithm="DepthFirst" off-peak-start-time="2020-11-10T20:00:00.000Z" \
+peak-load-balancing-algorithm="BreadthFirst" peak-start-time="2020-11-10T08:00:00.000Z" ramp-down-capacity-threshold-pc\
+t=50 ramp-down-force-logoff-users=true ramp-down-load-balancing-algorithm="DepthFirst" ramp-down-minimum-hosts-pct=20 \
+ramp-down-notification-message="message" ramp-down-start-time="2020-11-10T18:00:00.000Z" \
+ramp-down-wait-time-minutes=30 ramp-up-capacity-threshold-pct=80 ramp-up-load-balancing-algorithm="DepthFirst" \
+ramp-up-minimum-hosts-pct=20 ramp-up-start-time="2020-11-10T06:00:00.000Z" --time-zone "" --tags tag1="value1" \
+tag2="value2"
+"""
+
+helps['desktopvirtualization scaling-plan delete'] = """
+ type: command
+ short-summary: "Remove a scaling plan."
+ examples:
+ - name: ScalingPlans_Delete
+ text: |-
+ az desktopvirtualization scaling-plan delete --resource-group "resourceGroup1" --name "scalingPlan1"
"""
helps['desktopvirtualization applicationgroup'] = """
type: group
- short-summary: desktopvirtualization applicationgroup
+ short-summary: Manage application group with desktopvirtualization
"""
helps['desktopvirtualization applicationgroup list'] = """
type: command
- short-summary: List applicationGroups in subscription.
+ short-summary: "List applicationGroups. And List applicationGroups in subscription."
examples:
- name: ApplicationGroup_ListByResourceGroup
text: |-
az desktopvirtualization applicationgroup list --filter "applicationGroupType eq \'RailApplication\'" \
---resource-group "MyResourceGroup"
+--resource-group "resourceGroup1"
+ - name: ApplicationGroup_List
+ text: |-
+ az desktopvirtualization applicationgroup list --filter "applicationGroupType eq \'RailApplication\'"
"""
helps['desktopvirtualization applicationgroup show'] = """
type: command
- short-summary: Get an application group.
+ short-summary: "Get an application group."
examples:
- name: ApplicationGroup_Get
text: |-
- az desktopvirtualization applicationgroup show --name "MyApplicationGroup" --resource-group \
-"MyResourceGroup"
+ az desktopvirtualization applicationgroup show --name "applicationGroup1" --resource-group \
+"resourceGroup1"
"""
helps['desktopvirtualization applicationgroup create'] = """
type: command
- short-summary: Create or update an applicationGroup.
+ short-summary: "Create an applicationGroup."
+ parameters:
+ - name: --sku
+ short-summary: "The resource model definition representing SKU"
+ long-summary: |
+ Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX
+
+ name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code
+ tier: 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.
+ size: The SKU size. When the name field is the combination of tier and some other value, this would be the \
+standalone code.
+ family: If the service has different generations of hardware, for the same SKU, then that can be captured \
+here.
+ capacity: 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.
+ - name: --plan
+ short-summary: "Plan for the resource."
+ long-summary: |
+ Usage: --plan name=XX publisher=XX product=XX promotion-code=XX version=XX
+
+ name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
+ product: Required. 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.
+ promotion-code: A publisher provided promotion code as provisioned in Data Market for the said \
+product/artifact.
+ version: The version of the desired product/artifact.
+ - name: --migration-request
+ short-summary: "The registration info of HostPool."
+ long-summary: |
+ Usage: --migration-request operation=XX migration-path=XX
+
+ operation: The type of operation for migration.
+ migration-path: The path to the legacy object to migrate.
examples:
- name: ApplicationGroup_Create
text: |-
az desktopvirtualization applicationgroup create --location "centralus" --description "des1" \
--application-group-type "RemoteApp" --friendly-name "friendly" --host-pool-arm-path "/subscriptions/daefabc0-95b4-48b3\
--b645-8a753a63c4fa/resourceGroups/MyResourceGroup/providers/Microsoft.DesktopVirtualization/hostPools/MyHostPool" \
---tags tag1="value1" tag2="value2" --name "MyApplicationGroup" --resource-group "MyResourceGroup"
+-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1" \
+--migration-request migration-path="TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{\
+sessionHostPool.Name}" operation="Start" --tags tag1="value1" tag2="value2" --name "applicationGroup1" \
+--resource-group "resourceGroup1"
"""
helps['desktopvirtualization applicationgroup update'] = """
type: command
- short-summary: Update an applicationGroup.
+ short-summary: "Update an applicationGroup."
examples:
- name: ApplicationGroups_Update
text: |-
az desktopvirtualization applicationgroup update --description "des1" --friendly-name "friendly" --tags \
-tag1="value1" tag2="value2" --name "MyApplicationGroup" --resource-group "MyResourceGroup"
+tag1="value1" tag2="value2" --name "applicationGroup1" --resource-group "resourceGroup1"
"""
helps['desktopvirtualization applicationgroup delete'] = """
type: command
- short-summary: Remove an applicationGroup.
+ short-summary: "Remove an applicationGroup."
examples:
- name: ApplicationGroup_Delete
text: |-
- az desktopvirtualization applicationgroup delete --name "MyApplicationGroup" --resource-group \
-"MyResourceGroup"
+ az desktopvirtualization applicationgroup delete --name "applicationGroup1" --resource-group \
+"resourceGroup1"
"""
helps['desktopvirtualization hostpool'] = """
type: group
- short-summary: desktopvirtualization hostpool
+ short-summary: Manage host pool with desktopvirtualization
"""
helps['desktopvirtualization hostpool list'] = """
type: command
- short-summary: List hostPools in subscription.
+ short-summary: "List hostPools. And List hostPools in subscription."
examples:
- name: HostPool_ListByResourceGroup
text: |-
- az desktopvirtualization hostpool list --resource-group "MyResourceGroup"
+ az desktopvirtualization hostpool list --resource-group "resourceGroup1"
+ - name: HostPool_List
+ text: |-
+ az desktopvirtualization hostpool list
"""
helps['desktopvirtualization hostpool show'] = """
type: command
- short-summary: Get a host pool.
+ short-summary: "Get a host pool."
examples:
- name: HostPool_Get
text: |-
- az desktopvirtualization hostpool show --name "MyHostPool" --resource-group "MyResourceGroup"
+ az desktopvirtualization hostpool show --name "hostPool1" --resource-group "resourceGroup1"
"""
helps['desktopvirtualization hostpool create'] = """
type: command
- short-summary: Create or update a host pool.
+ short-summary: "Create a host pool."
parameters:
+ - name: --sku
+ short-summary: "The resource model definition representing SKU"
+ long-summary: |
+ Usage: --sku name=XX tier=XX size=XX family=XX capacity=XX
+
+ name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code
+ tier: 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.
+ size: The SKU size. When the name field is the combination of tier and some other value, this would be the \
+standalone code.
+ family: If the service has different generations of hardware, for the same SKU, then that can be captured \
+here.
+ capacity: 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.
+ - name: --plan
+ short-summary: "Plan for the resource."
+ long-summary: |
+ Usage: --plan name=XX publisher=XX product=XX promotion-code=XX version=XX
+
+ name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
+ product: Required. 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.
+ promotion-code: A publisher provided promotion code as provisioned in Data Market for the said \
+product/artifact.
+ version: The version of the desired product/artifact.
- name: --registration-info
- short-summary: The registration info of HostPool.
+ short-summary: "The registration info of HostPool."
long-summary: |
Usage: --registration-info expiration-time=XX token=XX registration-token-operation=XX
expiration-time: Expiration time of registration token.
token: The registration token base64 encoded string.
registration-token-operation: The type of resetting the token.
+ - name: --migration-request
+ short-summary: "The registration info of HostPool."
+ long-summary: |
+ Usage: --migration-request operation=XX migration-path=XX
+
+ operation: The type of operation for migration.
+ migration-path: The path to the legacy object to migrate.
examples:
- name: HostPool_Create
text: |-
az desktopvirtualization hostpool create --location "centralus" --description "des1" --friendly-name \
"friendly" --host-pool-type "Pooled" --load-balancer-type "BreadthFirst" --max-session-limit 999999 \
---personal-desktop-assignment-type "Automatic" --registration-info expiration-time="2020-10-01T14:01:54.9571247Z" \
-registration-token-operation="Update" --sso-context "KeyVaultPath" --tags tag1="value1" tag2="value2" --name \
-"MyHostPool" --resource-group "MyResourceGroup"
+--migration-request migration-path="TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{\
+sessionHostPool.Name}" operation="Start" --personal-desktop-assignment-type "Automatic" --preferred-app-group-type \
+"Desktop" --registration-info expiration-time="2020-10-01T14:01:54.9571247Z" registration-token-operation="Update" \
+--sso-client-id "client" --sso-client-secret-key-vault-path "https://keyvault/secret" --sso-secret-type "SharedKey" \
+--ssoadfs-authority "https://adfs" --start-vm-on-connect false --vm-template "{json:json}" --tags tag1="value1" \
+tag2="value2" --name "hostPool1" --resource-group "resourceGroup1"
"""
helps['desktopvirtualization hostpool update'] = """
type: command
- short-summary: Update a host pool.
+ short-summary: "Update a host pool."
parameters:
- name: --registration-info
- short-summary: The registration info of HostPool.
+ short-summary: "The registration info of HostPool."
long-summary: |
Usage: --registration-info expiration-time=XX registration-token-operation=XX
@@ -182,16 +476,132 @@
text: |-
az desktopvirtualization hostpool update --description "des1" --friendly-name "friendly" \
--load-balancer-type "BreadthFirst" --max-session-limit 999999 --personal-desktop-assignment-type "Automatic" \
---registration-info expiration-time="2020-10-01T15:01:54.9571247Z" registration-token-operation="Update" --sso-context \
-"KeyVaultPath" --tags tag1="value1" tag2="value2" --name "MyHostPool" --resource-group "MyResourceGroup"
+--registration-info expiration-time="2020-10-01T15:01:54.9571247Z" registration-token-operation="Update" \
+--sso-client-id "client" --sso-client-secret-key-vault-path "https://keyvault/secret" --sso-secret-type "SharedKey" \
+--ssoadfs-authority "https://adfs" --start-vm-on-connect false --vm-template "{json:json}" --tags tag1="value1" \
+tag2="value2" --name "hostPool1" --resource-group "resourceGroup1"
"""
helps['desktopvirtualization hostpool delete'] = """
type: command
- short-summary: Remove a host pool.
+ short-summary: "Remove a host pool."
examples:
- name: HostPool_Delete
text: |-
- az desktopvirtualization hostpool delete --force true --name "MyHostPool" --resource-group \
-"MyResourceGroup"
+ az desktopvirtualization hostpool delete --force true --name "hostPool1" --resource-group \
+"resourceGroup1"
+"""
+
+helps['desktopvirtualization hostpool retrieve-registration-token'] = """
+ type: command
+ short-summary: "Registration token of the host pool."
+ examples:
+ - name: HostPools_RetrieveRegistrationToken_Post
+ text: |-
+ az desktopvirtualization hostpool retrieve-registration-token --name "hostPool1" --resource-group \
+"resourceGroup1"
+"""
+
+helps['desktopvirtualization msix-package'] = """
+ type: group
+ short-summary: Manage msix package with desktopvirtualization
+"""
+
+helps['desktopvirtualization msix-package list'] = """
+ type: command
+ short-summary: "List MSIX packages in hostpool."
+ examples:
+ - name: MSIXPackage_List
+ text: |-
+ az desktopvirtualization msix-package list --host-pool-name "hostpool1" --resource-group \
+"resourceGroup1"
+"""
+
+helps['desktopvirtualization msix-package show'] = """
+ type: command
+ short-summary: "Get a msixpackage."
+ examples:
+ - name: MSIXPackage_Get
+ text: |-
+ az desktopvirtualization msix-package show --host-pool-name "hostpool1" --msix-package-full-name \
+"packagefullname" --resource-group "resourceGroup1"
+"""
+
+helps['desktopvirtualization msix-package create'] = """
+ type: command
+ short-summary: "Create a MSIX package."
+ parameters:
+ - name: --package-dependencies
+ short-summary: "List of package dependencies."
+ long-summary: |
+ Usage: --package-dependencies dependency-name=XX publisher=XX min-version=XX
+
+ dependency-name: Name of package dependency.
+ publisher: Name of dependency publisher.
+ min-version: Dependency version required.
+
+ Multiple actions can be specified by using more than one --package-dependencies argument.
+ - name: --package-applications
+ short-summary: "List of package applications."
+ long-summary: |
+ Usage: --package-applications app-id=XX description=XX app-user-model-id=XX friendly-name=XX \
+icon-image-name=XX raw-icon=XX raw-png=XX
+
+ app-id: Package Application Id, found in appxmanifest.xml.
+ description: Description of Package Application.
+ app-user-model-id: Used to activate Package Application. Consists of Package Name and ApplicationID. Found \
+in appxmanifest.xml.
+ friendly-name: User friendly name.
+ icon-image-name: User friendly name.
+ raw-icon: the icon a 64 bit string as a byte array.
+ raw-png: the icon a 64 bit string as a byte array.
+
+ Multiple actions can be specified by using more than one --package-applications argument.
+ examples:
+ - name: MSIXPackage_Create
+ text: |-
+ az desktopvirtualization msix-package create --host-pool-name "hostpool1" --display-name "displayname" \
+--image-path "imagepath" --is-active false --is-regular-registration false --last-updated \
+"2008-09-22T14:01:54.9571247Z" --package-applications description="application-desc" app-id="ApplicationId" \
+app-user-model-id="AppUserModelId" friendly-name="friendlyname" icon-image-name="Apptile" \
+raw-icon="VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" raw-png="VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" --package-dependencies \
+dependency-name="MsixTest_Dependency_Name" min-version="version" publisher="PublishedName" --package-family-name \
+"MsixPackage_FamilyName" --package-name "MsixPackage_name" --package-relative-path "packagerelativepath" --version \
+"version" --msix-package-full-name "msixpackagefullname" --resource-group "resourceGroup1"
+"""
+
+helps['desktopvirtualization msix-package update'] = """
+ type: command
+ short-summary: "Update an MSIX Package."
+ examples:
+ - name: MSIXPackage_Update
+ text: |-
+ az desktopvirtualization msix-package update --host-pool-name "hostpool1" --display-name "displayname" \
+--is-active true --is-regular-registration false --msix-package-full-name "msixpackagefullname" --resource-group \
+"resourceGroup1"
+"""
+
+helps['desktopvirtualization msix-package delete'] = """
+ type: command
+ short-summary: "Remove an MSIX Package."
+ examples:
+ - name: MSIXPackage_Delete
+ text: |-
+ az desktopvirtualization msix-package delete --host-pool-name "hostpool1" --msix-package-full-name \
+"packagefullname" --resource-group "resourceGroup1"
+"""
+
+helps['desktopvirtualization msix-image'] = """
+ type: group
+ short-summary: Manage msix image with desktopvirtualization
+"""
+
+helps['desktopvirtualization msix-image expand'] = """
+ type: command
+ short-summary: "Expands and Lists MSIX packages in an Image, given the Image Path."
+ examples:
+ - name: MsixImage_Expand
+ text: |-
+ az desktopvirtualization msix-image expand --host-pool-name "hostpool1" --uri "imagepath" \
+--resource-group "resourceGroup1"
"""
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/_params.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/_params.py
index 378f640e374..20eb7ffd24d 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/generated/_params.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/_params.py
@@ -19,8 +19,17 @@
)
from azure.cli.core.commands.validators import get_default_location_from_resource_group
from azext_desktopvirtualization.action import (
+ AddSku,
+ AddPlan,
+ AddDesktopvirtualizationScalingPlanCreateSchedules,
+ AddDesktopvirtualizationScalingPlanCreateHostPoolReferences,
+ AddDesktopvirtualizationScalingPlanUpdateSchedules,
+ AddDesktopvirtualizationScalingPlanUpdateHostPoolReferences,
+ AddMigrationRequest,
AddDesktopvirtualizationHostpoolCreateRegistrationInfo,
- AddDesktopvirtualizationHostpoolUpdateRegistrationInfo
+ AddDesktopvirtualizationHostpoolUpdateRegistrationInfo,
+ AddPackageDependencies,
+ AddPackageApplications
)
@@ -31,117 +40,296 @@ def load_arguments(self, _):
with self.argument_context('desktopvirtualization workspace show') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('workspace_name', options_list=['--name', '-n'], help='The name of the workspace', id_part='name')
+ c.argument('workspace_name', options_list=['--name', '-n', '--workspace-name'], type=str, help='The name of '
+ 'the workspace', id_part='name')
with self.argument_context('desktopvirtualization workspace create') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('workspace_name', options_list=['--name', '-n'], help='The name of the workspace')
- c.argument('tags', tags_type)
- c.argument('location', arg_type=get_location_type(self.cli_ctx),
+ c.argument('workspace_name', options_list=['--name', '-n', '--workspace-name'], type=str, help='The name of '
+ 'the workspace')
+ c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False,
validator=get_default_location_from_resource_group)
- c.argument('description', help='Description of Workspace.')
- c.argument('friendly_name', help='Friendly name of Workspace.')
+ c.argument('managed_by', type=str, help='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.')
+ c.argument('kind', type=str, help='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.')
+ c.argument('tags', tags_type)
+ c.argument('sku', action=AddSku, nargs='+', help='The resource model definition representing SKU')
+ c.argument('plan', action=AddPlan, nargs='+', help='Plan for the resource.')
+ c.argument('description', type=str, help='Description of Workspace.')
+ c.argument('friendly_name', type=str, help='Friendly name of Workspace.')
c.argument('application_group_references', nargs='+', help='List of applicationGroup resource Ids.')
with self.argument_context('desktopvirtualization workspace update') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('workspace_name', options_list=['--name', '-n'], help='The name of the workspace', id_part='name')
+ c.argument('workspace_name', options_list=['--name', '-n', '--workspace-name'], type=str, help='The name of '
+ 'the workspace', id_part='name')
c.argument('tags', tags_type)
- c.argument('description', help='Description of Workspace.')
- c.argument('friendly_name', help='Friendly name of Workspace.')
+ c.argument('description', type=str, help='Description of Workspace.')
+ c.argument('friendly_name', type=str, help='Friendly name of Workspace.')
c.argument('application_group_references', nargs='+', help='List of applicationGroup links.')
with self.argument_context('desktopvirtualization workspace delete') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('workspace_name', options_list=['--name', '-n'], help='The name of the workspace', id_part='name')
+ c.argument('workspace_name', options_list=['--name', '-n', '--workspace-name'], type=str, help='The name of '
+ 'the workspace', id_part='name')
+
+ with self.argument_context('desktopvirtualization scaling-plan list') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', type=str, help='The name of the host pool within the specified resource group')
+
+ with self.argument_context('desktopvirtualization scaling-plan show') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('scaling_plan_name', options_list=['--name', '-n', '--scaling-plan-name'], type=str, help='The name '
+ 'of the scaling plan.', id_part='name')
+
+ with self.argument_context('desktopvirtualization scaling-plan create') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('scaling_plan_name', options_list=['--name', '-n', '--scaling-plan-name'], type=str, help='The name '
+ 'of the scaling plan.')
+ c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False,
+ validator=get_default_location_from_resource_group)
+ c.argument('managed_by', type=str, help='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.')
+ c.argument('kind', type=str, help='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.')
+ c.argument('tags', tags_type)
+ c.argument('sku', action=AddSku, nargs='+', help='The resource model definition representing SKU')
+ c.argument('plan', action=AddPlan, nargs='+', help='Plan for the resource.')
+ c.argument('description', type=str, help='Description of scaling plan.')
+ c.argument('friendly_name', type=str, help='User friendly name of scaling plan.')
+ c.argument('time_zone', type=str, help='Timezone of the scaling plan.')
+ c.argument('host_pool_type', arg_type=get_enum_type(['Personal', 'Pooled', 'BYODesktop']), help='HostPool type '
+ 'for desktop.')
+ c.argument('exclusion_tag', type=str, help='Exclusion tag for scaling plan.')
+ c.argument('schedules', action=AddDesktopvirtualizationScalingPlanCreateSchedules, nargs='+', help='List of '
+ 'ScalingSchedule definitions.')
+ c.argument('host_pool_references', action=AddDesktopvirtualizationScalingPlanCreateHostPoolReferences,
+ nargs='+', help='List of ScalingHostPoolReference definitions.')
+
+ with self.argument_context('desktopvirtualization scaling-plan update') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('scaling_plan_name', options_list=['--name', '-n', '--scaling-plan-name'], type=str, help='The name '
+ 'of the scaling plan.', id_part='name')
+ c.argument('tags', tags_type)
+ c.argument('description', type=str, help='Description of scaling plan.')
+ c.argument('friendly_name', type=str, help='User friendly name of scaling plan.')
+ c.argument('time_zone', type=str, help='Timezone of the scaling plan.')
+ c.argument('host_pool_type', arg_type=get_enum_type(['Personal', 'Pooled', 'BYODesktop']), help='HostPool type '
+ 'for desktop.')
+ c.argument('exclusion_tag', type=str, help='Exclusion tag for scaling plan.')
+ c.argument('schedules', action=AddDesktopvirtualizationScalingPlanUpdateSchedules, nargs='+', help='List of '
+ 'ScalingSchedule definitions.')
+ c.argument('host_pool_references', action=AddDesktopvirtualizationScalingPlanUpdateHostPoolReferences,
+ nargs='+', help='List of ScalingHostPoolReference definitions.')
+
+ with self.argument_context('desktopvirtualization scaling-plan delete') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('scaling_plan_name', options_list=['--name', '-n', '--scaling-plan-name'], type=str, help='The name '
+ 'of the scaling plan.', id_part='name')
with self.argument_context('desktopvirtualization applicationgroup list') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('filter', help='OData filter expression. Valid properties for filtering are applicationGroupType.')
+ c.argument('filter_', options_list=['--filter'], type=str, help='OData filter expression. Valid properties for '
+ 'filtering are applicationGroupType.')
with self.argument_context('desktopvirtualization applicationgroup show') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('application_group_name', options_list=['--name', '-n'], help='The name of the application group',
- id_part='name')
+ c.argument('application_group_name', options_list=['--name', '-n', '--application-group-name'], type=str,
+ help='The name of the application group', id_part='name')
with self.argument_context('desktopvirtualization applicationgroup create') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('application_group_name', options_list=['--name', '-n'], help='The name of the application group')
- c.argument('tags', tags_type)
- c.argument('location', arg_type=get_location_type(self.cli_ctx),
+ c.argument('application_group_name', options_list=['--name', '-n', '--application-group-name'], type=str,
+ help='The name of the application group')
+ c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False,
validator=get_default_location_from_resource_group)
- c.argument('description', help='Description of ApplicationGroup.')
- c.argument('friendly_name', help='Friendly name of ApplicationGroup.')
- c.argument('host_pool_arm_path', help='HostPool arm path of ApplicationGroup.')
+ c.argument('managed_by', type=str, help='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.')
+ c.argument('kind', type=str, help='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.')
+ c.argument('tags', tags_type)
+ c.argument('sku', action=AddSku, nargs='+', help='The resource model definition representing SKU')
+ c.argument('plan', action=AddPlan, nargs='+', help='Plan for the resource.')
+ c.argument('description', type=str, help='Description of ApplicationGroup.')
+ c.argument('friendly_name', type=str, help='Friendly name of ApplicationGroup.')
+ c.argument('host_pool_arm_path', type=str, help='HostPool arm path of ApplicationGroup.')
c.argument('application_group_type', arg_type=get_enum_type(['RemoteApp', 'Desktop']), help='Resource Type of '
'ApplicationGroup.')
+ c.argument('migration_request', action=AddMigrationRequest, nargs='+', help='The registration info of '
+ 'HostPool.')
with self.argument_context('desktopvirtualization applicationgroup update') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('application_group_name', options_list=['--name', '-n'], help='The name of the application group',
- id_part='name')
+ c.argument('application_group_name', options_list=['--name', '-n', '--application-group-name'], type=str,
+ help='The name of the application group', id_part='name')
c.argument('tags', tags_type)
- c.argument('description', help='Description of ApplicationGroup.')
- c.argument('friendly_name', help='Friendly name of ApplicationGroup.')
+ c.argument('description', type=str, help='Description of ApplicationGroup.')
+ c.argument('friendly_name', type=str, help='Friendly name of ApplicationGroup.')
with self.argument_context('desktopvirtualization applicationgroup delete') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('application_group_name', options_list=['--name', '-n'], help='The name of the application group',
- id_part='name')
+ c.argument('application_group_name', options_list=['--name', '-n', '--application-group-name'], type=str,
+ help='The name of the application group', id_part='name')
with self.argument_context('desktopvirtualization hostpool list') as c:
c.argument('resource_group_name', resource_group_name_type)
with self.argument_context('desktopvirtualization hostpool show') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('host_pool_name', options_list=['--name', '-n'], help='The name of the host pool within the '
- 'specified resource group', id_part='name')
+ c.argument('host_pool_name', options_list=['--name', '-n', '--host-pool-name'], type=str, help='The name of '
+ 'the host pool within the specified resource group', id_part='name')
with self.argument_context('desktopvirtualization hostpool create') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('host_pool_name', options_list=['--name', '-n'], help='The name of the host pool within the '
- 'specified resource group')
- c.argument('tags', tags_type)
- c.argument('location', arg_type=get_location_type(self.cli_ctx),
+ c.argument('host_pool_name', options_list=['--name', '-n', '--host-pool-name'], type=str, help='The name of '
+ 'the host pool within the specified resource group')
+ c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False,
validator=get_default_location_from_resource_group)
- c.argument('friendly_name', help='Friendly name of HostPool.')
- c.argument('description', help='Description of HostPool.')
- c.argument('host_pool_type', arg_type=get_enum_type(['Personal', 'Pooled']),
- help='HostPool type for desktop.')
- c.argument('personal_desktop_assignment_type', arg_type=get_enum_type(['Automatic', 'Direct']), help=''
- 'PersonalDesktopAssignment type for HostPool.')
- c.argument('custom_rdp_property', help='Custom rdp property of HostPool.')
- c.argument('max_session_limit', help='The max session limit of HostPool.')
- c.argument('load_balancer_type', arg_type=get_enum_type(['BreadthFirst', 'DepthFirst', 'Persistent']), help=''
- 'The type of the load balancer.')
- c.argument('ring', help='The ring number of HostPool.')
+ c.argument('managed_by', type=str, help='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.')
+ c.argument('kind', type=str, help='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.')
+ c.argument('tags', tags_type)
+ c.argument('sku', action=AddSku, nargs='+', help='The resource model definition representing SKU')
+ c.argument('plan', action=AddPlan, nargs='+', help='Plan for the resource.')
+ c.argument('friendly_name', type=str, help='Friendly name of HostPool.')
+ c.argument('description', type=str, help='Description of HostPool.')
+ c.argument('host_pool_type', arg_type=get_enum_type(['Personal', 'Pooled', 'BYODesktop']), help='HostPool type '
+ 'for desktop.')
+ c.argument('personal_desktop_assignment_type', arg_type=get_enum_type(['Automatic', 'Direct']),
+ help='PersonalDesktopAssignment type for HostPool.')
+ c.argument('custom_rdp_property', type=str, help='Custom rdp property of HostPool.')
+ c.argument('max_session_limit', type=int, help='The max session limit of HostPool.')
+ c.argument('load_balancer_type', arg_type=get_enum_type(['BreadthFirst', 'DepthFirst', 'Persistent']),
+ help='The type of the load balancer.')
+ c.argument('ring', type=int, help='The ring number of HostPool.')
c.argument('validation_environment', arg_type=get_three_state_flag(), help='Is validation environment.')
c.argument('registration_info', action=AddDesktopvirtualizationHostpoolCreateRegistrationInfo, nargs='+',
help='The registration info of HostPool.')
- c.argument('vm_template', help='VM template for sessionhosts configuration within hostpool.')
- c.argument('sso_context', help='Path to keyvault containing ssoContext secret.')
+ c.argument('vm_template', type=str, help='VM template for sessionhosts configuration within hostpool.')
+ c.argument('ssoadfs_authority', type=str,
+ help='URL to customer ADFS server for signing WVD SSO certificates.')
+ c.argument('sso_client_id', type=str, help='ClientId for the registered Relying Party used to issue WVD SSO '
+ 'certificates.')
+ c.argument('sso_client_secret_key_vault_path', type=str, help='Path to Azure KeyVault storing the secret used '
+ 'for communication to ADFS.')
+ c.argument('sso_secret_type', arg_type=get_enum_type(['SharedKey', 'Certificate', 'SharedKeyInKeyVault',
+ 'CertificateInKeyVault']), help='The type of single sign '
+ 'on Secret Type.')
+ c.argument('preferred_app_group_type', arg_type=get_enum_type(['None', 'Desktop', 'RailApplications']),
+ help='The type of preferred application group type, default to Desktop Application Group')
+ c.argument('start_vm_on_connect', arg_type=get_three_state_flag(), help='The flag to turn on/off '
+ 'StartVMOnConnect feature.')
+ c.argument('migration_request', action=AddMigrationRequest, nargs='+', help='The registration info of '
+ 'HostPool.')
with self.argument_context('desktopvirtualization hostpool update') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('host_pool_name', options_list=['--name', '-n'], help='The name of the host pool within the '
- 'specified resource group', id_part='name')
+ c.argument('host_pool_name', options_list=['--name', '-n', '--host-pool-name'], type=str, help='The name of '
+ 'the host pool within the specified resource group', id_part='name')
c.argument('tags', tags_type)
- c.argument('friendly_name', help='Friendly name of HostPool.')
- c.argument('description', help='Description of HostPool.')
- c.argument('custom_rdp_property', help='Custom rdp property of HostPool.')
- c.argument('max_session_limit', help='The max session limit of HostPool.')
- c.argument('personal_desktop_assignment_type', arg_type=get_enum_type(['Automatic', 'Direct']), help=''
- 'PersonalDesktopAssignment type for HostPool.')
- c.argument('load_balancer_type', arg_type=get_enum_type(['BreadthFirst', 'DepthFirst', 'Persistent']), help=''
- 'The type of the load balancer.')
- c.argument('ring', help='The ring number of HostPool.')
+ c.argument('friendly_name', type=str, help='Friendly name of HostPool.')
+ c.argument('description', type=str, help='Description of HostPool.')
+ c.argument('custom_rdp_property', type=str, help='Custom rdp property of HostPool.')
+ c.argument('max_session_limit', type=int, help='The max session limit of HostPool.')
+ c.argument('personal_desktop_assignment_type', arg_type=get_enum_type(['Automatic', 'Direct']),
+ help='PersonalDesktopAssignment type for HostPool.')
+ c.argument('load_balancer_type', arg_type=get_enum_type(['BreadthFirst', 'DepthFirst', 'Persistent']),
+ help='The type of the load balancer.')
+ c.argument('ring', type=int, help='The ring number of HostPool.')
c.argument('validation_environment', arg_type=get_three_state_flag(), help='Is validation environment.')
c.argument('registration_info', action=AddDesktopvirtualizationHostpoolUpdateRegistrationInfo, nargs='+',
help='The registration info of HostPool.')
- c.argument('sso_context', help='Path to keyvault containing ssoContext secret.')
+ c.argument('vm_template', type=str, help='VM template for sessionhosts configuration within hostpool.')
+ c.argument('ssoadfs_authority', type=str,
+ help='URL to customer ADFS server for signing WVD SSO certificates.')
+ c.argument('sso_client_id', type=str, help='ClientId for the registered Relying Party used to issue WVD SSO '
+ 'certificates.')
+ c.argument('sso_client_secret_key_vault_path', type=str, help='Path to Azure KeyVault storing the secret used '
+ 'for communication to ADFS.')
+ c.argument('sso_secret_type', arg_type=get_enum_type(['SharedKey', 'Certificate', 'SharedKeyInKeyVault',
+ 'CertificateInKeyVault']), help='The type of single sign '
+ 'on Secret Type.')
+ c.argument('preferred_app_group_type', arg_type=get_enum_type(['None', 'Desktop', 'RailApplications']),
+ help='The type of preferred application group type, default to Desktop Application Group')
+ c.argument('start_vm_on_connect', arg_type=get_three_state_flag(), help='The flag to turn on/off '
+ 'StartVMOnConnect feature.')
with self.argument_context('desktopvirtualization hostpool delete') as c:
c.argument('resource_group_name', resource_group_name_type)
- c.argument('host_pool_name', options_list=['--name', '-n'], help='The name of the host pool within the '
- 'specified resource group', id_part='name')
+ c.argument('host_pool_name', options_list=['--name', '-n', '--host-pool-name'], type=str, help='The name of '
+ 'the host pool within the specified resource group', id_part='name')
c.argument('force', arg_type=get_three_state_flag(), help='Force flag to delete sessionHost.')
+
+ with self.argument_context('desktopvirtualization hostpool retrieve-registration-token') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', options_list=['--name', '-n', '--host-pool-name'], type=str, help='The name of '
+ 'the host pool within the specified resource group', id_part='name')
+
+ with self.argument_context('desktopvirtualization msix-package list') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', type=str, help='The name of the host pool within the specified resource group')
+
+ with self.argument_context('desktopvirtualization msix-package show') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', type=str, help='The name of the host pool within the specified resource group')
+ c.argument('msix_package_full_name', type=str, help='The version specific package full name of the MSIX '
+ 'package within specified hostpool')
+
+ with self.argument_context('desktopvirtualization msix-package create') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', type=str, help='The name of the host pool within the specified resource group')
+ c.argument('msix_package_full_name', type=str, help='The version specific package full name of the MSIX '
+ 'package within specified hostpool')
+ c.argument('image_path', type=str, help='VHD/CIM image path on Network Share.')
+ c.argument('package_name', type=str, help='Package Name from appxmanifest.xml.')
+ c.argument('package_family_name', type=str, help='Package Family Name from appxmanifest.xml. Contains Package '
+ 'Name and Publisher name.')
+ c.argument('display_name', type=str, help='User friendly Name to be displayed in the portal.')
+ c.argument('package_relative_path', type=str, help='Relative Path to the package inside the image.')
+ c.argument('is_regular_registration', arg_type=get_three_state_flag(), help='Specifies how to register Package '
+ 'in feed.')
+ c.argument('is_active', arg_type=get_three_state_flag(), help='Make this version of the package the active one '
+ 'across the hostpool.')
+ c.argument('package_dependencies', action=AddPackageDependencies, nargs='+', help='List of package '
+ 'dependencies.')
+ c.argument('version', type=str, help='Package Version found in the appxmanifest.xml.')
+ c.argument('last_updated', help='Date Package was last updated, found in the appxmanifest.xml.')
+ c.argument('package_applications', action=AddPackageApplications, nargs='+', help='List of package '
+ 'applications.')
+
+ with self.argument_context('desktopvirtualization msix-package update') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', type=str, help='The name of the host pool within the specified resource group')
+ c.argument('msix_package_full_name', type=str, help='The version specific package full name of the MSIX '
+ 'package within specified hostpool')
+ c.argument('is_active', arg_type=get_three_state_flag(), help='Set a version of the package to be active '
+ 'across hostpool.')
+ c.argument('is_regular_registration', arg_type=get_three_state_flag(), help='Set Registration mode. Regular or '
+ 'Delayed.')
+ c.argument('display_name', type=str, help='Display name for MSIX Package.')
+
+ with self.argument_context('desktopvirtualization msix-package delete') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', type=str, help='The name of the host pool within the specified resource group')
+ c.argument('msix_package_full_name', type=str, help='The version specific package full name of the MSIX '
+ 'package within specified hostpool')
+
+ with self.argument_context('desktopvirtualization msix-image expand') as c:
+ c.argument('resource_group_name', resource_group_name_type)
+ c.argument('host_pool_name', type=str, help='The name of the host pool within the specified resource group',
+ id_part='name')
+ c.argument('uri', type=str, help='URI to Image')
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/action.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/action.py
index b28cf5edb10..82ddf250b9c 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/generated/action.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/action.py
@@ -10,8 +10,285 @@
# pylint: disable=protected-access
import argparse
-from knack.util import CLIError
from collections import defaultdict
+from knack.util import CLIError
+
+
+class AddSku(argparse.Action):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ namespace.sku = action
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'name':
+ d['name'] = v[0]
+ elif kl == 'tier':
+ d['tier'] = v[0]
+ elif kl == 'size':
+ d['size'] = v[0]
+ elif kl == 'family':
+ d['family'] = v[0]
+ elif kl == 'capacity':
+ d['capacity'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter sku. All possible keys are: name, tier, '
+ 'size, family, capacity'.format(k))
+ return d
+
+
+class AddPlan(argparse.Action):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ namespace.plan = action
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'name':
+ d['name'] = v[0]
+ elif kl == 'publisher':
+ d['publisher'] = v[0]
+ elif kl == 'product':
+ d['product'] = v[0]
+ elif kl == 'promotion-code':
+ d['promotion_code'] = v[0]
+ elif kl == 'version':
+ d['version'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter plan. All possible keys are: name, '
+ 'publisher, product, promotion-code, version'.format(k))
+ return d
+
+
+class AddDesktopvirtualizationScalingPlanCreateSchedules(argparse._AppendAction):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ super(AddDesktopvirtualizationScalingPlanCreateSchedules, self).__call__(parser, namespace, action, option_string)
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'name':
+ d['name'] = v[0]
+ elif kl == 'days-of-week':
+ d['days_of_week'] = v
+ elif kl == 'ramp-up-start-time':
+ d['ramp_up_start_time'] = v[0]
+ elif kl == 'ramp-up-load-balancing-algorithm':
+ d['ramp_up_load_balancing_algorithm'] = v[0]
+ elif kl == 'ramp-up-minimum-hosts-pct':
+ d['ramp_up_minimum_hosts_pct'] = v[0]
+ elif kl == 'ramp-up-capacity-threshold-pct':
+ d['ramp_up_capacity_threshold_pct'] = v[0]
+ elif kl == 'peak-start-time':
+ d['peak_start_time'] = v[0]
+ elif kl == 'peak-load-balancing-algorithm':
+ d['peak_load_balancing_algorithm'] = v[0]
+ elif kl == 'ramp-down-start-time':
+ d['ramp_down_start_time'] = v[0]
+ elif kl == 'ramp-down-load-balancing-algorithm':
+ d['ramp_down_load_balancing_algorithm'] = v[0]
+ elif kl == 'ramp-down-minimum-hosts-pct':
+ d['ramp_down_minimum_hosts_pct'] = v[0]
+ elif kl == 'ramp-down-capacity-threshold-pct':
+ d['ramp_down_capacity_threshold_pct'] = v[0]
+ elif kl == 'ramp-down-force-logoff-users':
+ d['ramp_down_force_logoff_users'] = v[0]
+ elif kl == 'ramp-down-stop-hosts-when':
+ d['ramp_down_stop_hosts_when'] = v[0]
+ elif kl == 'ramp-down-wait-time-minutes':
+ d['ramp_down_wait_time_minutes'] = v[0]
+ elif kl == 'ramp-down-notification-message':
+ d['ramp_down_notification_message'] = v[0]
+ elif kl == 'off-peak-start-time':
+ d['off_peak_start_time'] = v[0]
+ elif kl == 'off-peak-load-balancing-algorithm':
+ d['off_peak_load_balancing_algorithm'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter schedules. All possible keys are: name, '
+ 'days-of-week, ramp-up-start-time, ramp-up-load-balancing-algorithm, '
+ 'ramp-up-minimum-hosts-pct, ramp-up-capacity-threshold-pct, peak-start-time, '
+ 'peak-load-balancing-algorithm, ramp-down-start-time, ramp-down-load-balancing-algorithm'
+ ', ramp-down-minimum-hosts-pct, ramp-down-capacity-threshold-pct, '
+ 'ramp-down-force-logoff-users, ramp-down-stop-hosts-when, ramp-down-wait-time-minutes, '
+ 'ramp-down-notification-message, off-peak-start-time, off-peak-load-balancing-algorithm'
+ .format(k))
+ return d
+
+
+class AddDesktopvirtualizationScalingPlanCreateHostPoolReferences(argparse._AppendAction):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ super(AddDesktopvirtualizationScalingPlanCreateHostPoolReferences, self).__call__(parser, namespace, action, option_string)
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'host-pool-arm-path':
+ d['host_pool_arm_path'] = v[0]
+ elif kl == 'scaling-plan-enabled':
+ d['scaling_plan_enabled'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter host_pool_references. All possible keys '
+ 'are: host-pool-arm-path, scaling-plan-enabled'.format(k))
+ return d
+
+
+class AddDesktopvirtualizationScalingPlanUpdateSchedules(argparse._AppendAction):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ super(AddDesktopvirtualizationScalingPlanUpdateSchedules, self).__call__(parser, namespace, action, option_string)
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'name':
+ d['name'] = v[0]
+ elif kl == 'days-of-week':
+ d['days_of_week'] = v
+ elif kl == 'ramp-up-start-time':
+ d['ramp_up_start_time'] = v[0]
+ elif kl == 'ramp-up-load-balancing-algorithm':
+ d['ramp_up_load_balancing_algorithm'] = v[0]
+ elif kl == 'ramp-up-minimum-hosts-pct':
+ d['ramp_up_minimum_hosts_pct'] = v[0]
+ elif kl == 'ramp-up-capacity-threshold-pct':
+ d['ramp_up_capacity_threshold_pct'] = v[0]
+ elif kl == 'peak-start-time':
+ d['peak_start_time'] = v[0]
+ elif kl == 'peak-load-balancing-algorithm':
+ d['peak_load_balancing_algorithm'] = v[0]
+ elif kl == 'ramp-down-start-time':
+ d['ramp_down_start_time'] = v[0]
+ elif kl == 'ramp-down-load-balancing-algorithm':
+ d['ramp_down_load_balancing_algorithm'] = v[0]
+ elif kl == 'ramp-down-minimum-hosts-pct':
+ d['ramp_down_minimum_hosts_pct'] = v[0]
+ elif kl == 'ramp-down-capacity-threshold-pct':
+ d['ramp_down_capacity_threshold_pct'] = v[0]
+ elif kl == 'ramp-down-force-logoff-users':
+ d['ramp_down_force_logoff_users'] = v[0]
+ elif kl == 'ramp-down-stop-hosts-when':
+ d['ramp_down_stop_hosts_when'] = v[0]
+ elif kl == 'ramp-down-wait-time-minutes':
+ d['ramp_down_wait_time_minutes'] = v[0]
+ elif kl == 'ramp-down-notification-message':
+ d['ramp_down_notification_message'] = v[0]
+ elif kl == 'off-peak-start-time':
+ d['off_peak_start_time'] = v[0]
+ elif kl == 'off-peak-load-balancing-algorithm':
+ d['off_peak_load_balancing_algorithm'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter schedules. All possible keys are: name, '
+ 'days-of-week, ramp-up-start-time, ramp-up-load-balancing-algorithm, '
+ 'ramp-up-minimum-hosts-pct, ramp-up-capacity-threshold-pct, peak-start-time, '
+ 'peak-load-balancing-algorithm, ramp-down-start-time, ramp-down-load-balancing-algorithm'
+ ', ramp-down-minimum-hosts-pct, ramp-down-capacity-threshold-pct, '
+ 'ramp-down-force-logoff-users, ramp-down-stop-hosts-when, ramp-down-wait-time-minutes, '
+ 'ramp-down-notification-message, off-peak-start-time, off-peak-load-balancing-algorithm'
+ .format(k))
+ return d
+
+
+class AddDesktopvirtualizationScalingPlanUpdateHostPoolReferences(argparse._AppendAction):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ super(AddDesktopvirtualizationScalingPlanUpdateHostPoolReferences, self).__call__(parser, namespace, action, option_string)
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'host-pool-arm-path':
+ d['host_pool_arm_path'] = v[0]
+ elif kl == 'scaling-plan-enabled':
+ d['scaling_plan_enabled'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter host_pool_references. All possible keys '
+ 'are: host-pool-arm-path, scaling-plan-enabled'.format(k))
+ return d
+
+
+class AddMigrationRequest(argparse.Action):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ namespace.migration_request = action
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'operation':
+ d['operation'] = v[0]
+ elif kl == 'migration-path':
+ d['migration_path'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter migration_request. All possible keys are: '
+ 'operation, migration-path'.format(k))
+ return d
class AddDesktopvirtualizationHostpoolCreateRegistrationInfo(argparse.Action):
@@ -37,6 +314,9 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use
d['token'] = v[0]
elif kl == 'registration-token-operation':
d['registration_token_operation'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter registration_info. All possible keys are: '
+ 'expiration-time, token, registration-token-operation'.format(k))
return d
@@ -61,4 +341,74 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use
d['expiration_time'] = v[0]
elif kl == 'registration-token-operation':
d['registration_token_operation'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter registration_info. All possible keys are: '
+ 'expiration-time, registration-token-operation'.format(k))
+ return d
+
+
+class AddPackageDependencies(argparse._AppendAction):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ super(AddPackageDependencies, self).__call__(parser, namespace, action, option_string)
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'dependency-name':
+ d['dependency_name'] = v[0]
+ elif kl == 'publisher':
+ d['publisher'] = v[0]
+ elif kl == 'min-version':
+ d['min_version'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter package_dependencies. All possible keys '
+ 'are: dependency-name, publisher, min-version'.format(k))
+ return d
+
+
+class AddPackageApplications(argparse._AppendAction):
+ def __call__(self, parser, namespace, values, option_string=None):
+ action = self.get_action(values, option_string)
+ super(AddPackageApplications, self).__call__(parser, namespace, action, option_string)
+
+ def get_action(self, values, option_string): # pylint: disable=no-self-use
+ try:
+ properties = defaultdict(list)
+ for (k, v) in (x.split('=', 1) for x in values):
+ properties[k].append(v)
+ properties = dict(properties)
+ except ValueError:
+ raise CLIError('usage error: {} [KEY=VALUE ...]'.format(option_string))
+ d = {}
+ for k in properties:
+ kl = k.lower()
+ v = properties[k]
+ if kl == 'app-id':
+ d['app_id'] = v[0]
+ elif kl == 'description':
+ d['description'] = v[0]
+ elif kl == 'app-user-model-id':
+ d['app_user_model_id'] = v[0]
+ elif kl == 'friendly-name':
+ d['friendly_name'] = v[0]
+ elif kl == 'icon-image-name':
+ d['icon_image_name'] = v[0]
+ elif kl == 'raw-icon':
+ d['raw_icon'] = v[0]
+ elif kl == 'raw-png':
+ d['raw_png'] = v[0]
+ else:
+ raise CLIError('Unsupported Key {} is provided for parameter package_applications. All possible keys '
+ 'are: app-id, description, app-user-model-id, friendly-name, icon-image-name, raw-icon, '
+ 'raw-png'.format(k))
return d
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py
index 213f6a8306c..a8b744e0204 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py
@@ -17,39 +17,78 @@ def load_command_table(self, _):
from azext_desktopvirtualization.generated._client_factory import cf_workspace
desktopvirtualization_workspace = CliCommandType(
- operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._workspace_operatio'
- 'ns#WorkspaceOperations.{}',
+ operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._workspaces_operati'
+ 'ons#WorkspacesOperations.{}',
client_factory=cf_workspace)
with self.command_group('desktopvirtualization workspace', desktopvirtualization_workspace,
- client_factory=cf_workspace, is_experimental=True) as g:
+ client_factory=cf_workspace) as g:
g.custom_command('list', 'desktopvirtualization_workspace_list')
g.custom_show_command('show', 'desktopvirtualization_workspace_show')
g.custom_command('create', 'desktopvirtualization_workspace_create')
g.custom_command('update', 'desktopvirtualization_workspace_update')
- g.custom_command('delete', 'desktopvirtualization_workspace_delete')
+ g.custom_command('delete', 'desktopvirtualization_workspace_delete', confirmation=True)
+
+ from azext_desktopvirtualization.generated._client_factory import cf_scaling_plan
+ desktopvirtualization_scaling_plan = CliCommandType(
+ operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._scaling_plans_oper'
+ 'ations#ScalingPlansOperations.{}',
+ client_factory=cf_scaling_plan)
+ with self.command_group('desktopvirtualization scaling-plan', desktopvirtualization_scaling_plan,
+ client_factory=cf_scaling_plan) as g:
+ g.custom_command('list', 'desktopvirtualization_scaling_plan_list')
+ g.custom_show_command('show', 'desktopvirtualization_scaling_plan_show')
+ g.custom_command('create', 'desktopvirtualization_scaling_plan_create')
+ g.custom_command('update', 'desktopvirtualization_scaling_plan_update')
+ g.custom_command('delete', 'desktopvirtualization_scaling_plan_delete', confirmation=True)
from azext_desktopvirtualization.generated._client_factory import cf_application_group
desktopvirtualization_application_group = CliCommandType(
- operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._application_group_'
- 'operations#ApplicationGroupOperations.{}',
+ operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._application_groups'
+ '_operations#ApplicationGroupsOperations.{}',
client_factory=cf_application_group)
with self.command_group('desktopvirtualization applicationgroup', desktopvirtualization_application_group,
- client_factory=cf_application_group, is_experimental=True) as g:
+ client_factory=cf_application_group) as g:
g.custom_command('list', 'desktopvirtualization_applicationgroup_list')
g.custom_show_command('show', 'desktopvirtualization_applicationgroup_show')
g.custom_command('create', 'desktopvirtualization_applicationgroup_create')
g.custom_command('update', 'desktopvirtualization_applicationgroup_update')
- g.custom_command('delete', 'desktopvirtualization_applicationgroup_delete')
+ g.custom_command('delete', 'desktopvirtualization_applicationgroup_delete', confirmation=True)
from azext_desktopvirtualization.generated._client_factory import cf_host_pool
desktopvirtualization_host_pool = CliCommandType(
- operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._host_pool_operatio'
- 'ns#HostPoolOperations.{}',
+ operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._host_pools_operati'
+ 'ons#HostPoolsOperations.{}',
client_factory=cf_host_pool)
with self.command_group('desktopvirtualization hostpool', desktopvirtualization_host_pool,
- client_factory=cf_host_pool, is_experimental=True) as g:
+ client_factory=cf_host_pool) as g:
g.custom_command('list', 'desktopvirtualization_hostpool_list')
g.custom_show_command('show', 'desktopvirtualization_hostpool_show')
g.custom_command('create', 'desktopvirtualization_hostpool_create')
g.custom_command('update', 'desktopvirtualization_hostpool_update')
- g.custom_command('delete', 'desktopvirtualization_hostpool_delete')
+ g.custom_command('delete', 'desktopvirtualization_hostpool_delete', confirmation=True)
+ g.custom_command('retrieve-registration-token', 'desktopvirtualization_hostpool_retrieve_registration_token')
+
+ from azext_desktopvirtualization.generated._client_factory import cf_msix_package
+ desktopvirtualization_msix_package = CliCommandType(
+ operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._msix_packages_oper'
+ 'ations#MsixPackagesOperations.{}',
+ client_factory=cf_msix_package)
+ with self.command_group('desktopvirtualization msix-package', desktopvirtualization_msix_package,
+ client_factory=cf_msix_package) as g:
+ g.custom_command('list', 'desktopvirtualization_msix_package_list')
+ g.custom_show_command('show', 'desktopvirtualization_msix_package_show')
+ g.custom_command('create', 'desktopvirtualization_msix_package_create')
+ g.custom_command('update', 'desktopvirtualization_msix_package_update')
+ g.custom_command('delete', 'desktopvirtualization_msix_package_delete', confirmation=True)
+
+ from azext_desktopvirtualization.generated._client_factory import cf_msix_image
+ desktopvirtualization_msix_image = CliCommandType(
+ operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._msix_images_operat'
+ 'ions#MsixImagesOperations.{}',
+ client_factory=cf_msix_image)
+ with self.command_group('desktopvirtualization msix-image', desktopvirtualization_msix_image,
+ client_factory=cf_msix_image) as g:
+ g.custom_command('expand', 'desktopvirtualization_msix_image_expand')
+
+ with self.command_group('desktopvirtualization', is_experimental=True):
+ pass
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py
index 703318cf2ce..44fba3dd419 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py
@@ -8,7 +8,8 @@
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=too-many-lines
-# pylint: disable=unused-argument
+
+import json
def desktopvirtualization_workspace_list(client,
@@ -28,18 +29,29 @@ def desktopvirtualization_workspace_show(client,
def desktopvirtualization_workspace_create(client,
resource_group_name,
workspace_name,
- location,
+ location=None,
+ managed_by=None,
+ kind=None,
tags=None,
+ sku=None,
+ plan=None,
description=None,
friendly_name=None,
application_group_references=None):
+ workspace = {}
+ workspace['location'] = location
+ workspace['managed_by'] = managed_by
+ workspace['kind'] = kind
+ workspace['tags'] = tags
+ workspace['identity'] = json.loads("{\"type\": \"SystemAssigned\"}")
+ workspace['sku'] = sku
+ workspace['plan'] = plan
+ workspace['description'] = description
+ workspace['friendly_name'] = friendly_name
+ workspace['application_group_references'] = application_group_references
return client.create_or_update(resource_group_name=resource_group_name,
workspace_name=workspace_name,
- tags=tags,
- location=location,
- description=description,
- friendly_name=friendly_name,
- application_group_references=application_group_references)
+ workspace=workspace)
def desktopvirtualization_workspace_update(client,
@@ -49,12 +61,14 @@ def desktopvirtualization_workspace_update(client,
description=None,
friendly_name=None,
application_group_references=None):
+ workspace = {}
+ workspace['tags'] = tags
+ workspace['description'] = description
+ workspace['friendly_name'] = friendly_name
+ workspace['application_group_references'] = application_group_references
return client.update(resource_group_name=resource_group_name,
workspace_name=workspace_name,
- tags=tags,
- description=description,
- friendly_name=friendly_name,
- application_group_references=application_group_references)
+ workspace=workspace)
def desktopvirtualization_workspace_delete(client,
@@ -64,13 +78,99 @@ def desktopvirtualization_workspace_delete(client,
workspace_name=workspace_name)
+def desktopvirtualization_scaling_plan_list(client,
+ resource_group_name=None,
+ host_pool_name=None):
+ if resource_group_name and host_pool_name is not None:
+ return client.list_by_host_pool(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name)
+ elif resource_group_name:
+ return client.list_by_resource_group(resource_group_name=resource_group_name)
+ return client.list_by_subscription()
+
+
+def desktopvirtualization_scaling_plan_show(client,
+ resource_group_name,
+ scaling_plan_name):
+ return client.get(resource_group_name=resource_group_name,
+ scaling_plan_name=scaling_plan_name)
+
+
+def desktopvirtualization_scaling_plan_create(client,
+ resource_group_name,
+ scaling_plan_name,
+ location=None,
+ managed_by=None,
+ kind=None,
+ tags=None,
+ sku=None,
+ plan=None,
+ description=None,
+ friendly_name=None,
+ time_zone=None,
+ host_pool_type=None,
+ exclusion_tag=None,
+ schedules=None,
+ host_pool_references=None):
+ scaling_plan = {}
+ scaling_plan['location'] = location
+ scaling_plan['managed_by'] = managed_by
+ scaling_plan['kind'] = kind
+ scaling_plan['tags'] = tags
+ scaling_plan['identity'] = json.loads("{\"type\": \"SystemAssigned\"}")
+ scaling_plan['sku'] = sku
+ scaling_plan['plan'] = plan
+ scaling_plan['description'] = description
+ scaling_plan['friendly_name'] = friendly_name
+ scaling_plan['time_zone'] = time_zone
+ scaling_plan['host_pool_type'] = host_pool_type
+ scaling_plan['exclusion_tag'] = exclusion_tag
+ scaling_plan['schedules'] = schedules
+ scaling_plan['host_pool_references'] = host_pool_references
+ return client.create(resource_group_name=resource_group_name,
+ scaling_plan_name=scaling_plan_name,
+ scaling_plan=scaling_plan)
+
+
+def desktopvirtualization_scaling_plan_update(client,
+ resource_group_name,
+ scaling_plan_name,
+ tags=None,
+ description=None,
+ friendly_name=None,
+ time_zone=None,
+ host_pool_type=None,
+ exclusion_tag=None,
+ schedules=None,
+ host_pool_references=None):
+ scaling_plan = {}
+ scaling_plan['tags'] = tags
+ scaling_plan['description'] = description
+ scaling_plan['friendly_name'] = friendly_name
+ scaling_plan['time_zone'] = time_zone
+ scaling_plan['host_pool_type'] = host_pool_type
+ scaling_plan['exclusion_tag'] = exclusion_tag
+ scaling_plan['schedules'] = schedules
+ scaling_plan['host_pool_references'] = host_pool_references
+ return client.update(resource_group_name=resource_group_name,
+ scaling_plan_name=scaling_plan_name,
+ scaling_plan=scaling_plan)
+
+
+def desktopvirtualization_scaling_plan_delete(client,
+ resource_group_name,
+ scaling_plan_name):
+ return client.delete(resource_group_name=resource_group_name,
+ scaling_plan_name=scaling_plan_name)
+
+
def desktopvirtualization_applicationgroup_list(client,
resource_group_name=None,
- filter=None):
+ filter_=None):
if resource_group_name:
return client.list_by_resource_group(resource_group_name=resource_group_name,
- filter=filter)
- return client.list_by_subscription(filter=filter)
+ filter=filter_)
+ return client.list_by_subscription(filter=filter_)
def desktopvirtualization_applicationgroup_show(client,
@@ -83,20 +183,33 @@ def desktopvirtualization_applicationgroup_show(client,
def desktopvirtualization_applicationgroup_create(client,
resource_group_name,
application_group_name,
- location,
host_pool_arm_path,
application_group_type,
+ location=None,
+ managed_by=None,
+ kind=None,
tags=None,
+ sku=None,
+ plan=None,
description=None,
- friendly_name=None):
+ friendly_name=None,
+ migration_request=None):
+ application_group = {}
+ application_group['location'] = location
+ application_group['managed_by'] = managed_by
+ application_group['kind'] = kind
+ application_group['tags'] = tags
+ application_group['identity'] = json.loads("{\"type\": \"SystemAssigned\"}")
+ application_group['sku'] = sku
+ application_group['plan'] = plan
+ application_group['description'] = description
+ application_group['friendly_name'] = friendly_name
+ application_group['host_pool_arm_path'] = host_pool_arm_path
+ application_group['application_group_type'] = application_group_type
+ application_group['migration_request'] = migration_request
return client.create_or_update(resource_group_name=resource_group_name,
application_group_name=application_group_name,
- tags=tags,
- location=location,
- description=description,
- friendly_name=friendly_name,
- host_pool_arm_path=host_pool_arm_path,
- application_group_type=application_group_type)
+ application_group=application_group)
def desktopvirtualization_applicationgroup_update(client,
@@ -105,11 +218,13 @@ def desktopvirtualization_applicationgroup_update(client,
tags=None,
description=None,
friendly_name=None):
+ application_group = {}
+ application_group['tags'] = tags
+ application_group['description'] = description
+ application_group['friendly_name'] = friendly_name
return client.update(resource_group_name=resource_group_name,
application_group_name=application_group_name,
- tags=tags,
- description=description,
- friendly_name=friendly_name)
+ application_group=application_group)
def desktopvirtualization_applicationgroup_delete(client,
@@ -136,36 +251,59 @@ def desktopvirtualization_hostpool_show(client,
def desktopvirtualization_hostpool_create(client,
resource_group_name,
host_pool_name,
- location,
host_pool_type,
- personal_desktop_assignment_type,
load_balancer_type,
+ preferred_app_group_type,
+ location=None,
+ managed_by=None,
+ kind=None,
tags=None,
+ sku=None,
+ plan=None,
friendly_name=None,
description=None,
+ personal_desktop_assignment_type=None,
custom_rdp_property=None,
max_session_limit=None,
ring=None,
validation_environment=None,
registration_info=None,
vm_template=None,
- sso_context=None):
+ ssoadfs_authority=None,
+ sso_client_id=None,
+ sso_client_secret_key_vault_path=None,
+ sso_secret_type=None,
+ start_vm_on_connect=None,
+ migration_request=None):
+ host_pool = {}
+ host_pool['location'] = location
+ host_pool['managed_by'] = managed_by
+ host_pool['kind'] = kind
+ host_pool['tags'] = tags
+ host_pool['identity'] = json.loads("{\"type\": \"SystemAssigned\"}")
+ host_pool['sku'] = sku
+ host_pool['plan'] = plan
+ host_pool['friendly_name'] = friendly_name
+ host_pool['description'] = description
+ host_pool['host_pool_type'] = host_pool_type
+ host_pool['personal_desktop_assignment_type'] = personal_desktop_assignment_type
+ host_pool['custom_rdp_property'] = custom_rdp_property
+ host_pool['max_session_limit'] = max_session_limit
+ host_pool['load_balancer_type'] = load_balancer_type
+ host_pool['ring'] = ring
+ host_pool['validation_environment'] = validation_environment
+ host_pool['registration_info'] = registration_info
+ host_pool['vm_template'] = vm_template
+ host_pool['ssoadfs_authority'] = ssoadfs_authority
+ host_pool['sso_client_id'] = sso_client_id
+ host_pool['sso_client_secret_key_vault_path'] = sso_client_secret_key_vault_path
+ host_pool['sso_secret_type'] = sso_secret_type
+ host_pool['preferred_app_group_type'] = preferred_app_group_type
+ host_pool['start_vm_on_connect'] = start_vm_on_connect
+ host_pool['migration_request'] = migration_request
return client.create_or_update(resource_group_name=resource_group_name,
host_pool_name=host_pool_name,
- tags=tags,
- location=location,
- friendly_name=friendly_name,
- description=description,
- host_pool_type=host_pool_type,
- personal_desktop_assignment_type=personal_desktop_assignment_type,
- custom_rdp_property=custom_rdp_property,
- max_session_limit=max_session_limit,
- load_balancer_type=load_balancer_type,
- ring=ring,
- validation_environment=validation_environment,
- registration_info=registration_info,
- vm_template=vm_template,
- sso_context=sso_context)
+ host_pool=host_pool)
def desktopvirtualization_hostpool_update(client,
@@ -181,20 +319,34 @@ def desktopvirtualization_hostpool_update(client,
ring=None,
validation_environment=None,
registration_info=None,
- sso_context=None):
+ vm_template=None,
+ ssoadfs_authority=None,
+ sso_client_id=None,
+ sso_client_secret_key_vault_path=None,
+ sso_secret_type=None,
+ preferred_app_group_type=None,
+ start_vm_on_connect=None):
+ host_pool = {}
+ host_pool['tags'] = tags
+ host_pool['friendly_name'] = friendly_name
+ host_pool['description'] = description
+ host_pool['custom_rdp_property'] = custom_rdp_property
+ host_pool['max_session_limit'] = max_session_limit
+ host_pool['personal_desktop_assignment_type'] = personal_desktop_assignment_type
+ host_pool['load_balancer_type'] = load_balancer_type
+ host_pool['ring'] = ring
+ host_pool['validation_environment'] = validation_environment
+ host_pool['registration_info'] = registration_info
+ host_pool['vm_template'] = vm_template
+ host_pool['ssoadfs_authority'] = ssoadfs_authority
+ host_pool['sso_client_id'] = sso_client_id
+ host_pool['sso_client_secret_key_vault_path'] = sso_client_secret_key_vault_path
+ host_pool['sso_secret_type'] = sso_secret_type
+ host_pool['preferred_app_group_type'] = preferred_app_group_type
+ host_pool['start_vm_on_connect'] = start_vm_on_connect
return client.update(resource_group_name=resource_group_name,
host_pool_name=host_pool_name,
- tags=tags,
- friendly_name=friendly_name,
- description=description,
- custom_rdp_property=custom_rdp_property,
- max_session_limit=max_session_limit,
- personal_desktop_assignment_type=personal_desktop_assignment_type,
- load_balancer_type=load_balancer_type,
- ring=ring,
- validation_environment=validation_environment,
- registration_info=registration_info,
- sso_context=sso_context)
+ host_pool=host_pool)
def desktopvirtualization_hostpool_delete(client,
@@ -204,3 +356,96 @@ def desktopvirtualization_hostpool_delete(client,
return client.delete(resource_group_name=resource_group_name,
host_pool_name=host_pool_name,
force=force)
+
+
+def desktopvirtualization_hostpool_retrieve_registration_token(client,
+ resource_group_name,
+ host_pool_name):
+ return client.retrieve_registration_token(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name)
+
+
+def desktopvirtualization_msix_package_list(client,
+ resource_group_name,
+ host_pool_name):
+ return client.list(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name)
+
+
+def desktopvirtualization_msix_package_show(client,
+ resource_group_name,
+ host_pool_name,
+ msix_package_full_name):
+ return client.get(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name,
+ msix_package_full_name=msix_package_full_name)
+
+
+def desktopvirtualization_msix_package_create(client,
+ resource_group_name,
+ host_pool_name,
+ msix_package_full_name,
+ image_path=None,
+ package_name=None,
+ package_family_name=None,
+ display_name=None,
+ package_relative_path=None,
+ is_regular_registration=None,
+ is_active=None,
+ package_dependencies=None,
+ version=None,
+ last_updated=None,
+ package_applications=None):
+ msix_package = {}
+ msix_package['image_path'] = image_path
+ msix_package['package_name'] = package_name
+ msix_package['package_family_name'] = package_family_name
+ msix_package['display_name'] = display_name
+ msix_package['package_relative_path'] = package_relative_path
+ msix_package['is_regular_registration'] = is_regular_registration
+ msix_package['is_active'] = is_active
+ msix_package['package_dependencies'] = package_dependencies
+ msix_package['version'] = version
+ msix_package['last_updated'] = last_updated
+ msix_package['package_applications'] = package_applications
+ return client.create_or_update(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name,
+ msix_package_full_name=msix_package_full_name,
+ msix_package=msix_package)
+
+
+def desktopvirtualization_msix_package_update(client,
+ resource_group_name,
+ host_pool_name,
+ msix_package_full_name,
+ is_active=None,
+ is_regular_registration=None,
+ display_name=None):
+ msix_package = {}
+ msix_package['is_active'] = is_active
+ msix_package['is_regular_registration'] = is_regular_registration
+ msix_package['display_name'] = display_name
+ return client.update(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name,
+ msix_package_full_name=msix_package_full_name,
+ msix_package=msix_package)
+
+
+def desktopvirtualization_msix_package_delete(client,
+ resource_group_name,
+ host_pool_name,
+ msix_package_full_name):
+ return client.delete(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name,
+ msix_package_full_name=msix_package_full_name)
+
+
+def desktopvirtualization_msix_image_expand(client,
+ resource_group_name,
+ host_pool_name,
+ uri=None):
+ msix_image__uri = {}
+ msix_image__uri['uri'] = uri
+ return client.expand(resource_group_name=resource_group_name,
+ host_pool_name=host_pool_name,
+ msix_image_uri=msix_image__uri)
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py
index 9b7ec942a0b..70488e93851 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py
@@ -9,22 +9,30 @@
# regenerated.
# --------------------------------------------------------------------------
import inspect
+import logging
import os
import sys
import traceback
+import datetime as dt
+
from azure.core.exceptions import AzureError
from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError
+logger = logging.getLogger('azure.cli.testsdk')
+logger.addHandler(logging.StreamHandler())
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
exceptions = []
+test_map = dict()
+SUCCESSED = "successed"
+FAILED = "failed"
def try_manual(func):
def import_manual_function(origin_func):
from importlib import import_module
- decorated_path = inspect.getfile(origin_func)
- module_path = __path__[0]
+ decorated_path = inspect.getfile(origin_func).lower()
+ module_path = __path__[0].lower()
if not decorated_path.startswith(module_path):
raise Exception("Decorator can only be used in submodules!")
manual_path = os.path.join(
@@ -39,29 +47,66 @@ def get_func_to_call():
func_to_call = func
try:
func_to_call = import_manual_function(func)
- print("Found manual override for {}(...)".format(func.__name__))
+ logger.info("Found manual override for %s(...)", func.__name__)
except (ImportError, AttributeError):
pass
return func_to_call
def wrapper(*args, **kwargs):
func_to_call = get_func_to_call()
- print("running {}()...".format(func.__name__))
+ logger.info("running %s()...", func.__name__)
try:
- return func_to_call(*args, **kwargs)
- except (AssertionError, AzureError, CliTestError, CliExecutionError, JMESPathCheckAssertionError) as e:
- print("--------------------------------------")
- print("step exception: ", e)
- print("--------------------------------------", file=sys.stderr)
- print("step exception in {}: {}".format(func.__name__, e), file=sys.stderr)
- traceback.print_exc()
+ test_map[func.__name__] = dict()
+ test_map[func.__name__]["result"] = SUCCESSED
+ test_map[func.__name__]["error_message"] = ""
+ test_map[func.__name__]["error_stack"] = ""
+ test_map[func.__name__]["error_normalized"] = ""
+ test_map[func.__name__]["start_dt"] = dt.datetime.utcnow()
+ ret = func_to_call(*args, **kwargs)
+ except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit,
+ JMESPathCheckAssertionError) as e:
+ use_exception_cache = os.getenv("TEST_EXCEPTION_CACHE")
+ if use_exception_cache is None or use_exception_cache.lower() != "true":
+ raise
+ test_map[func.__name__]["end_dt"] = dt.datetime.utcnow()
+ test_map[func.__name__]["result"] = FAILED
+ test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500]
+ test_map[func.__name__]["error_stack"] = traceback.format_exc().replace(
+ "\r\n", " ").replace("\n", " ")[:500]
+ logger.info("--------------------------------------")
+ logger.info("step exception: %s", e)
+ logger.error("--------------------------------------")
+ logger.error("step exception in %s: %s", func.__name__, e)
+ logger.info(traceback.format_exc())
exceptions.append((func.__name__, sys.exc_info()))
+ else:
+ test_map[func.__name__]["end_dt"] = dt.datetime.utcnow()
+ return ret
if inspect.isclass(func):
return get_func_to_call()
return wrapper
+def calc_coverage(filename):
+ filename = filename.split(".")[0]
+ coverage_name = filename + "_coverage.md"
+ with open(coverage_name, "w") as f:
+ f.write("|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt|\n")
+ total = len(test_map)
+ covered = 0
+ for k, v in test_map.items():
+ if not k.startswith("step_"):
+ total -= 1
+ continue
+ if v["result"] == SUCCESSED:
+ covered += 1
+ f.write("|{step_name}|{result}|{error_message}|{error_stack}|{error_normalized}|{start_dt}|"
+ "{end_dt}|\n".format(step_name=k, **v))
+ f.write("Coverage: {}/{}\n".format(covered, total))
+ print("Create coverage\n", file=sys.stderr)
+
+
def raise_if():
if exceptions:
if len(exceptions) <= 1:
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/example_steps.py b/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/example_steps.py
new file mode 100644
index 00000000000..91c5d251541
--- /dev/null
+++ b/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/example_steps.py
@@ -0,0 +1,467 @@
+# --------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for
+# license information.
+#
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+# --------------------------------------------------------------------------
+
+
+from .. import try_manual
+
+
+# EXAMPLE: /HostPools/put/HostPool_Create
+@try_manual
+def step_hostpool_create(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization hostpool create '
+ '--location "centralus" '
+ '--description "des1" '
+ '--friendly-name "friendly" '
+ '--host-pool-type "Pooled" '
+ '--load-balancer-type "BreadthFirst" '
+ '--max-session-limit 999999 '
+ '--migration-request migration-path="TenantGroups/{{defaultV1TenantGroup.Name}}/Tenants/{{defaultV1Tenant.'
+ 'Name}}/HostPools/{{sessionHostPool.Name}}" operation="Start" '
+ '--personal-desktop-assignment-type "Automatic" '
+ '--preferred-app-group-type "Desktop" '
+ '--registration-info expiration-time="2021-04-03T02:12:07.701Z" registration-token-operation="Update" '
+ '--sso-client-id "client" '
+ '--sso-client-secret-key-vault-path "https://keyvault/secret" '
+ '--sso-secret-type "SharedKey" '
+ '--ssoadfs-authority "https://adfs" '
+ '--start-vm-on-connect false '
+ '--vm-template "{{json:json}}" '
+ '--tags tag1="value1" tag2="value2" '
+ '--name "{myHostPool}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /HostPools/get/HostPool_Get
+@try_manual
+def step_hostpool_show(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization hostpool show '
+ '--name "{myHostPool}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /HostPools/get/HostPool_List
+@try_manual
+def step_hostpool_list(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization hostpool list '
+ '-g ""',
+ checks=checks)
+
+
+# EXAMPLE: /HostPools/get/HostPool_ListByResourceGroup
+@try_manual
+def step_hostpool_list2(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization hostpool list '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /HostPools/patch/HostPool_Update
+@try_manual
+def step_hostpool_update(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization hostpool update '
+ '--description "des1" '
+ '--friendly-name "friendly" '
+ '--load-balancer-type "BreadthFirst" '
+ '--max-session-limit 999999 '
+ '--personal-desktop-assignment-type "Automatic" '
+ '--registration-info expiration-time="2021-04-03T02:12:07.703Z" registration-token-operation="Update" '
+ '--sso-client-id "client" '
+ '--sso-client-secret-key-vault-path "https://keyvault/secret" '
+ '--sso-secret-type "SharedKey" '
+ '--ssoadfs-authority "https://adfs" '
+ '--start-vm-on-connect false '
+ '--vm-template "{{json:json}}" '
+ '--tags tag1="value1" tag2="value2" '
+ '--name "{myHostPool}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /HostPools/post/HostPools_RetrieveRegistrationToken_Post
+@try_manual
+def step_hostpool_retrieve_registration_token(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization hostpool retrieve-registration-token '
+ '--name "{myHostPool}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ApplicationGroups/put/ApplicationGroup_Create
+@try_manual
+def step_applicationgroup_create(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization applicationgroup create '
+ '--location "centralus" '
+ '--description "des1" '
+ '--application-group-type "RemoteApp" '
+ '--friendly-name "friendly" '
+ '--host-pool-arm-path "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.DesktopVir'
+ 'tualization/hostPools/{myHostPool}" '
+ '--migration-request migration-path="TenantGroups/{{defaultV1TenantGroup.Name}}/Tenants/{{defaultV1Tenant.'
+ 'Name}}/HostPools/{{sessionHostPool.Name}}" operation="Start" '
+ '--tags tag1="value1" tag2="value2" '
+ '--name "{myApplicationGroup}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ApplicationGroups/get/ApplicationGroup_Get
+@try_manual
+def step_applicationgroup_show(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization applicationgroup show '
+ '--name "{myApplicationGroup}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ApplicationGroups/get/ApplicationGroup_List
+@try_manual
+def step_applicationgroup_list(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization applicationgroup list '
+ '--filter "applicationGroupType eq \'RailApplication\'" '
+ '-g ""',
+ checks=checks)
+
+
+# EXAMPLE: /ApplicationGroups/get/ApplicationGroup_ListByResourceGroup
+@try_manual
+def step_applicationgroup_list2(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization applicationgroup list '
+ '--filter "applicationGroupType eq \'RailApplication\'" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ApplicationGroups/patch/ApplicationGroups_Update
+@try_manual
+def step_applicationgroup_update(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization applicationgroup update '
+ '--description "des1" '
+ '--friendly-name "friendly" '
+ '--tags tag1="value1" tag2="value2" '
+ '--name "{myApplicationGroup}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ApplicationGroups/delete/ApplicationGroup_Delete
+@try_manual
+def step_applicationgroup_delete(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization applicationgroup delete -y '
+ '--name "{myApplicationGroup}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /MsixImages/post/MsixImage_Expand
+@try_manual
+def step_msix_image_expand(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization msix-image expand '
+ '--host-pool-name "{myHostPool2}" '
+ '--uri "imagepath" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /MSIXPackages/put/MSIXPackage_Create
+@try_manual
+def step_msix_package_create(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization msix-package create '
+ '--host-pool-name "{myHostPool2}" '
+ '--display-name "displayname" '
+ '--image-path "imagepath" '
+ '--is-active false '
+ '--is-regular-registration false '
+ '--last-updated "2021-04-03T02:12:07.706Z" '
+ '--package-applications description="application-desc" app-id="ApplicationId" '
+ 'app-user-model-id="AppUserModelId" friendly-name="friendlyname" icon-image-name="Apptile" '
+ 'raw-icon="VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" raw-png="VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" '
+ '--package-dependencies dependency-name="MsixTest_Dependency_Name" min-version="version" '
+ 'publisher="PublishedName" '
+ '--package-family-name "MsixPackage_FamilyName" '
+ '--package-name "MsixPackage_name" '
+ '--package-relative-path "packagerelativepath" '
+ '--version "version" '
+ '--msix-package-full-name "msixpackagefullname" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /MSIXPackages/get/MSIXPackage_Get
+@try_manual
+def step_msix_package_show(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization msix-package show '
+ '--host-pool-name "{myHostPool2}" '
+ '--msix-package-full-name "packagefullname" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /MSIXPackages/get/MSIXPackage_List
+@try_manual
+def step_msix_package_list(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization msix-package list '
+ '--host-pool-name "{myHostPool2}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /MSIXPackages/patch/MSIXPackage_Update
+@try_manual
+def step_msix_package_update(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization msix-package update '
+ '--host-pool-name "{myHostPool2}" '
+ '--display-name "displayname" '
+ '--is-active true '
+ '--is-regular-registration false '
+ '--msix-package-full-name "msixpackagefullname" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /MSIXPackages/delete/MSIXPackage_Delete
+@try_manual
+def step_msix_package_delete(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization msix-package delete -y '
+ '--host-pool-name "{myHostPool2}" '
+ '--msix-package-full-name "packagefullname" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ScalingPlans/put/ScalingPlans_Create
+@try_manual
+def step_scaling_plan_create(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization scaling-plan create '
+ '--resource-group "{rg}" '
+ '--location "centralus" '
+ '--description "des1" '
+ '--exclusion-tag "value" '
+ '--friendly-name "friendly" '
+ '--host-pool-references host-pool-arm-path="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers'
+ '/Microsoft.DesktopVirtualization/hostPools/{myHostPool}" scaling-plan-enabled=true '
+ '--host-pool-type "Personal" '
+ '--schedules name="schedule1" days-of-week="Monday" days-of-week="Tuesday" days-of-week="Wednesday" '
+ 'days-of-week="Thursday" days-of-week="Friday" off-peak-load-balancing-algorithm="DepthFirst" '
+ 'off-peak-start-time="2021-04-03T02:12:07.686Z" peak-load-balancing-algorithm="BreadthFirst" '
+ 'peak-start-time="2021-04-03T02:12:07.686Z" ramp-down-capacity-threshold-pct=50 '
+ 'ramp-down-force-logoff-users=true ramp-down-load-balancing-algorithm="DepthFirst" '
+ 'ramp-down-minimum-hosts-pct=20 ramp-down-notification-message="message" ramp-down-start-time="2021-04-03T'
+ '02:12:07.686Z" ramp-down-wait-time-minutes=30 ramp-up-capacity-threshold-pct=80 '
+ 'ramp-up-load-balancing-algorithm="DepthFirst" ramp-up-minimum-hosts-pct=20 '
+ 'ramp-up-start-time="2021-04-03T02:12:07.686Z" '
+ '--time-zone "" '
+ '--tags tag1="value1" tag2="value2" '
+ '--name "{myScalingPlan}"',
+ checks=checks)
+
+
+# EXAMPLE: /ScalingPlans/get/ScalingPlans_Get
+@try_manual
+def step_scaling_plan_show(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization scaling-plan show '
+ '--resource-group "{rg}" '
+ '--name "{myScalingPlan}"',
+ checks=checks)
+
+
+# EXAMPLE: /ScalingPlans/get/ScalingPlans_ListByResourceGroup
+@try_manual
+def step_scaling_plan_list(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization scaling-plan list '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ScalingPlans/get/ScalingPlans_ListBySubscription
+@try_manual
+def step_scaling_plan_list2(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization scaling-plan list '
+ '-g ""',
+ checks=checks)
+
+
+# EXAMPLE: /ScalingPlans/get/UserSession_SendMessage_Post
+@try_manual
+def step_scaling_plan_list3(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization scaling-plan list '
+ '--host-pool-name "{myHostPool}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /ScalingPlans/patch/ScalingPlans_Update
+@try_manual
+def step_scaling_plan_update(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization scaling-plan update '
+ '--resource-group "{rg}" '
+ '--name "{myScalingPlan}" '
+ '--description "des1" '
+ '--exclusion-tag "value" '
+ '--friendly-name "friendly" '
+ '--host-pool-references host-pool-arm-path="/subscriptions/{subscription_id}/resourceGroups/{rg}/providers'
+ '/Microsoft.DesktopVirtualization/hostPools/{myHostPool}" scaling-plan-enabled=true '
+ '--host-pool-type "Personal" '
+ '--schedules name="schedule1" days-of-week="Monday" days-of-week="Tuesday" days-of-week="Wednesday" '
+ 'days-of-week="Thursday" days-of-week="Friday" off-peak-load-balancing-algorithm="DepthFirst" '
+ 'off-peak-start-time="2021-04-03T02:12:07.686Z" peak-load-balancing-algorithm="BreadthFirst" '
+ 'peak-start-time="2021-04-03T02:12:07.686Z" ramp-down-capacity-threshold-pct=50 '
+ 'ramp-down-force-logoff-users=true ramp-down-load-balancing-algorithm="DepthFirst" '
+ 'ramp-down-minimum-hosts-pct=20 ramp-down-notification-message="message" ramp-down-start-time="2021-04-03T'
+ '02:12:07.686Z" ramp-down-wait-time-minutes=30 ramp-up-capacity-threshold-pct=80 '
+ 'ramp-up-load-balancing-algorithm="DepthFirst" ramp-up-minimum-hosts-pct=20 '
+ 'ramp-up-start-time="2021-04-03T02:12:07.686Z" '
+ '--time-zone "" '
+ '--tags tag1="value1" tag2="value2"',
+ checks=checks)
+
+
+# EXAMPLE: /ScalingPlans/delete/ScalingPlans_Delete
+@try_manual
+def step_scaling_plan_delete(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization scaling-plan delete -y '
+ '--resource-group "{rg}" '
+ '--name "{myScalingPlan}"',
+ checks=checks)
+
+
+# EXAMPLE: /HostPools/delete/HostPool_Delete
+@try_manual
+def step_hostpool_delete(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization hostpool delete -y '
+ '--force true '
+ '--name "{myHostPool}" '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /Workspaces/put/Workspace_Create
+@try_manual
+def step_workspace_create(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization workspace create '
+ '--resource-group "{rg}" '
+ '--location "centralus" '
+ '--description "des1" '
+ '--friendly-name "friendly" '
+ '--tags tag1="value1" tag2="value2" '
+ '--name "{myWorkspace}"',
+ checks=checks)
+
+
+# EXAMPLE: /Workspaces/get/Workspace_Get
+@try_manual
+def step_workspace_show(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization workspace show '
+ '--resource-group "{rg}" '
+ '--name "{myWorkspace}"',
+ checks=checks)
+
+
+# EXAMPLE: /Workspaces/get/Workspace_ListByResourceGroup
+@try_manual
+def step_workspace_list(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization workspace list '
+ '--resource-group "{rg}"',
+ checks=checks)
+
+
+# EXAMPLE: /Workspaces/get/Workspace_ListBySubscription
+@try_manual
+def step_workspace_list2(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization workspace list '
+ '-g ""',
+ checks=checks)
+
+
+# EXAMPLE: /Workspaces/patch/Workspace_Update
+@try_manual
+def step_workspace_update(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization workspace update '
+ '--resource-group "{rg}" '
+ '--description "des1" '
+ '--friendly-name "friendly" '
+ '--tags tag1="value1" tag2="value2" '
+ '--name "{myWorkspace}"',
+ checks=checks)
+
+
+# EXAMPLE: /Workspaces/delete/Workspace_Delete
+@try_manual
+def step_workspace_delete(test, rg, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az desktopvirtualization workspace delete -y '
+ '--resource-group "{rg}" '
+ '--name "{myWorkspace}"',
+ checks=checks)
+
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/test_desktopvirtualization_scenario.py b/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/test_desktopvirtualization_scenario.py
index b7e6600e568..f7ad264cb75 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/test_desktopvirtualization_scenario.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/test_desktopvirtualization_scenario.py
@@ -10,248 +10,234 @@
import os
from azure.cli.testsdk import ScenarioTest
-from .. import try_manual, raise_if
from azure.cli.testsdk import ResourceGroupPreparer
+from .example_steps import step_hostpool_create
+from .example_steps import step_hostpool_show
+from .example_steps import step_hostpool_list
+from .example_steps import step_hostpool_list2
+from .example_steps import step_hostpool_update
+from .example_steps import step_hostpool_retrieve_registration_token
+from .example_steps import step_applicationgroup_create
+from .example_steps import step_applicationgroup_show
+from .example_steps import step_applicationgroup_list
+from .example_steps import step_applicationgroup_list2
+from .example_steps import step_applicationgroup_update
+from .example_steps import step_applicationgroup_delete
+from .example_steps import step_msix_image_expand
+from .example_steps import step_msix_package_create
+from .example_steps import step_msix_package_show
+from .example_steps import step_msix_package_list
+from .example_steps import step_msix_package_update
+from .example_steps import step_msix_package_delete
+from .example_steps import step_scaling_plan_create
+from .example_steps import step_scaling_plan_show
+from .example_steps import step_scaling_plan_list
+from .example_steps import step_scaling_plan_list2
+from .example_steps import step_scaling_plan_list3
+from .example_steps import step_scaling_plan_update
+from .example_steps import step_scaling_plan_delete
+from .example_steps import step_hostpool_delete
+from .example_steps import step_workspace_create
+from .example_steps import step_workspace_show
+from .example_steps import step_workspace_list
+from .example_steps import step_workspace_list2
+from .example_steps import step_workspace_update
+from .example_steps import step_workspace_delete
+from .. import (
+ try_manual,
+ raise_if,
+ calc_coverage
+)
TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..'))
+# Env setup_scenario
@try_manual
-def setup(test, rg):
+def setup_scenario(test, rg):
pass
-# EXAMPLE: /HostPools/put/HostPool_Create
+# Env cleanup_scenario
@try_manual
-def step__hostpools_put_hostpool_create(test, rg):
- test.cmd('az desktopvirtualization hostpool create '
- '--location "centralus" '
- '--description "des1" '
- '--friendly-name "friendly" '
- '--host-pool-type "Pooled" '
- '--load-balancer-type "BreadthFirst" '
- '--max-session-limit 999999 '
- '--personal-desktop-assignment-type "Automatic" '
- '--registration-info expiration-time="2020-08-20T08:57:45.479Z" registration-token-operation="Update" '
- '--sso-context "KeyVaultPath" '
- '--tags tag1="value1" tag2="value2" '
- '--name "{myHostPool}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /HostPools/get/HostPool_Get
-@try_manual
-def step__hostpools_get_hostpool_get(test, rg):
- test.cmd('az desktopvirtualization hostpool show '
- '--name "{myHostPool}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /HostPools/get/HostPool_List
-@try_manual
-def step__hostpools_get_hostpool_list(test, rg):
- test.cmd('az desktopvirtualization hostpool list '
- '-g ""',
- checks=[])
-
-
-# EXAMPLE: /HostPools/get/HostPool_ListByResourceGroup
-@try_manual
-def step__hostpools_get_hostpool_listbyresourcegroup(test, rg):
- test.cmd('az desktopvirtualization hostpool list '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /HostPools/patch/HostPool_Update
-@try_manual
-def step__hostpools_patch_hostpool_update(test, rg):
- test.cmd('az desktopvirtualization hostpool update '
- '--description "des1" '
- '--friendly-name "friendly" '
- '--load-balancer-type "BreadthFirst" '
- '--max-session-limit 999999 '
- '--personal-desktop-assignment-type "Automatic" '
- '--registration-info expiration-time="2020-08-20T08:57:45.522Z" registration-token-operation="Update" '
- '--sso-context "KeyVaultPath" '
- '--tags tag1="value1" tag2="value2" '
- '--name "{myHostPool}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /ApplicationGroups/put/ApplicationGroup_Create
-@try_manual
-def step__applicationgroups_put_applicationgroup_create(test, rg):
- test.cmd('az desktopvirtualization applicationgroup create '
- '--location "centralus" '
- '--description "des1" '
- '--application-group-type "RemoteApp" '
- '--friendly-name "friendly" '
- '--host-pool-arm-path "/subscriptions/{subscription_id}/resourcegroups/{rg}/providers/Microsoft.DesktopVir'
- 'tualization/hostpools/{myHostPool}" '
- '--tags tag1="value1" tag2="value2" '
- '--name "{myApplicationGroup}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /ApplicationGroups/get/ApplicationGroup_Get
-@try_manual
-def step__applicationgroups_get_applicationgroup_get(test, rg):
- test.cmd('az desktopvirtualization applicationgroup show '
- '--name "{myApplicationGroup}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /ApplicationGroups/get/ApplicationGroup_List
-@try_manual
-def step__applicationgroups_get_applicationgroup_list(test, rg):
- test.cmd('az desktopvirtualization applicationgroup list '
- '--filter "applicationGroupType eq \'RailApplication\'" '
- '-g ""',
- checks=[])
-
-
-# EXAMPLE: /ApplicationGroups/get/ApplicationGroup_ListByResourceGroup
-@try_manual
-def step__applicationgroups_get_applicationgroup_listbyresourcegroup(test, rg):
- test.cmd('az desktopvirtualization applicationgroup list '
- '--filter "applicationGroupType eq \'RailApplication\'" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /ApplicationGroups/patch/ApplicationGroups_Update
-@try_manual
-def step__applicationgroups_patch_applicationgroups_update(test, rg):
- test.cmd('az desktopvirtualization applicationgroup update '
- '--description "des1" '
- '--friendly-name "friendly" '
- '--tags tag1="value1" tag2="value2" '
- '--name "{myApplicationGroup}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /ApplicationGroups/delete/ApplicationGroup_Delete
-@try_manual
-def step__applicationgroups_delete_applicationgroup_delete(test, rg):
- test.cmd('az desktopvirtualization applicationgroup delete '
- '--name "{myApplicationGroup}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /Workspaces/put/Workspace_Create
-@try_manual
-def step__workspaces_put_workspace_create(test, rg):
- test.cmd('az desktopvirtualization workspace create '
- '--resource-group "{rg}" '
- '--location "centralus" '
- '--description "des1" '
- '--friendly-name "friendly" '
- '--tags tag1="value1" tag2="value2" '
- '--name "{myWorkspace}"',
- checks=[])
-
-
-# EXAMPLE: /Workspaces/get/Workspace_Get
-@try_manual
-def step__workspaces_get_workspace_get(test, rg):
- test.cmd('az desktopvirtualization workspace show '
- '--resource-group "{rg}" '
- '--name "{myWorkspace}"',
- checks=[])
-
-
-# EXAMPLE: /Workspaces/get/Workspace_ListByResourceGroup
-@try_manual
-def step__workspaces_get_workspace_listbyresourcegroup(test, rg):
- test.cmd('az desktopvirtualization workspace list '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /Workspaces/get/Workspace_ListBySubscription
-@try_manual
-def step__workspaces_get_workspace_listbysubscription(test, rg):
- test.cmd('az desktopvirtualization workspace list '
- '-g ""',
- checks=[])
-
-
-# EXAMPLE: /Workspaces/patch/Workspace_Update
-@try_manual
-def step__workspaces_patch_workspace_update(test, rg):
- test.cmd('az desktopvirtualization workspace update '
- '--resource-group "{rg}" '
- '--description "des1" '
- '--friendly-name "friendly" '
- '--tags tag1="value1" tag2="value2" '
- '--name "{myWorkspace}"',
- checks=[])
-
-
-# EXAMPLE: /HostPools/delete/HostPool_Delete
-@try_manual
-def step__hostpools_delete_hostpool_delete(test, rg):
- test.cmd('az desktopvirtualization hostpool delete '
- '--force true '
- '--name "{myHostPool}" '
- '--resource-group "{rg}"',
- checks=[])
-
-
-# EXAMPLE: /Workspaces/delete/Workspace_Delete
-@try_manual
-def step__workspaces_delete_workspace_delete(test, rg):
- test.cmd('az desktopvirtualization workspace delete '
- '--resource-group "{rg}" '
- '--name "{myWorkspace}"',
- checks=[])
-
-
-@try_manual
-def cleanup(test, rg):
+def cleanup_scenario(test, rg):
pass
+# Testcase: Scenario
@try_manual
def call_scenario(test, rg):
- setup(test, rg)
- step__hostpools_put_hostpool_create(test, rg)
- step__hostpools_get_hostpool_get(test, rg)
- step__hostpools_get_hostpool_list(test, rg)
- step__hostpools_get_hostpool_listbyresourcegroup(test, rg)
- step__hostpools_patch_hostpool_update(test, rg)
- step__applicationgroups_put_applicationgroup_create(test, rg)
- step__applicationgroups_get_applicationgroup_get(test, rg)
- step__applicationgroups_get_applicationgroup_list(test, rg)
- step__applicationgroups_get_applicationgroup_listbyresourcegroup(test, rg)
- step__applicationgroups_patch_applicationgroups_update(test, rg)
- step__applicationgroups_delete_applicationgroup_delete(test, rg)
- step__workspaces_put_workspace_create(test, rg)
- step__workspaces_get_workspace_get(test, rg)
- step__workspaces_get_workspace_listbyresourcegroup(test, rg)
- step__workspaces_get_workspace_listbysubscription(test, rg)
- step__workspaces_patch_workspace_update(test, rg)
- step__hostpools_delete_hostpool_delete(test, rg)
- step__workspaces_delete_workspace_delete(test, rg)
- cleanup(test, rg)
-
-
+ setup_scenario(test, rg)
+ step_hostpool_create(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolType", "Pooled", case_sensitive=False),
+ test.check("loadBalancerType", "BreadthFirst", case_sensitive=False),
+ test.check("maxSessionLimit", 999999),
+ test.check("migrationRequest.migrationPath", "TenantGroups/{{defaultV1TenantGroup.Name}}/Tenants/{{defaultV1Ten"
+ "ant.Name}}/HostPools/{{sessionHostPool.Name}}", case_sensitive=False),
+ test.check("migrationRequest.operation", "Start", case_sensitive=False),
+ test.check("personalDesktopAssignmentType", "Automatic", case_sensitive=False),
+ test.check("preferredAppGroupType", "Desktop", case_sensitive=False),
+ test.check("ssoClientId", "client", case_sensitive=False),
+ test.check("ssoClientSecretKeyVaultPath", "https://keyvault/secret", case_sensitive=False),
+ test.check("ssoSecretType", "SharedKey", case_sensitive=False),
+ test.check("ssoadfsAuthority", "https://adfs", case_sensitive=False),
+ test.check("startVMOnConnect", False),
+ test.check("vmTemplate", "{{json:json}}", case_sensitive=False),
+ test.check("name", "{myHostPool}", case_sensitive=False),
+ ])
+ step_hostpool_show(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolType", "Pooled", case_sensitive=False),
+ test.check("loadBalancerType", "BreadthFirst", case_sensitive=False),
+ test.check("maxSessionLimit", 999999),
+ test.check("personalDesktopAssignmentType", "Automatic", case_sensitive=False),
+ test.check("preferredAppGroupType", "Desktop", case_sensitive=False),
+ test.check("ssoClientId", "client", case_sensitive=False),
+ test.check("ssoClientSecretKeyVaultPath", "https://keyvault/secret", case_sensitive=False),
+ test.check("ssoSecretType", "SharedKey", case_sensitive=False),
+ test.check("ssoadfsAuthority", "https://adfs", case_sensitive=False),
+ test.check("startVMOnConnect", False),
+ test.check("vmTemplate", "{{json:json}}", case_sensitive=False),
+ test.check("name", "{myHostPool}", case_sensitive=False),
+ ])
+ step_hostpool_list(test, rg, checks=[
+ test.check('length(@)', 1),
+ ])
+ step_hostpool_list2(test, rg, checks=[
+ test.check('length(@)', 1),
+ ])
+ step_hostpool_update(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolType", "Pooled", case_sensitive=False),
+ test.check("loadBalancerType", "BreadthFirst", case_sensitive=False),
+ test.check("maxSessionLimit", 999999),
+ test.check("personalDesktopAssignmentType", "Automatic", case_sensitive=False),
+ test.check("preferredAppGroupType", "Desktop", case_sensitive=False),
+ test.check("ssoClientId", "client", case_sensitive=False),
+ test.check("ssoClientSecretKeyVaultPath", "https://keyvault/secret", case_sensitive=False),
+ test.check("ssoSecretType", "SharedKey", case_sensitive=False),
+ test.check("ssoadfsAuthority", "https://adfs", case_sensitive=False),
+ test.check("startVMOnConnect", False),
+ test.check("vmTemplate", "{{json:json}}", case_sensitive=False),
+ test.check("name", "{myHostPool}", case_sensitive=False),
+ ])
+ step_hostpool_retrieve_registration_token(test, rg, checks=[])
+ step_applicationgroup_create(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("applicationGroupType", "RemoteApp", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolArmPath", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Desktop"
+ "Virtualization/hostPools/{myHostPool}", case_sensitive=False),
+ test.check("migrationRequest.migrationPath", "TenantGroups/{{defaultV1TenantGroup.Name}}/Tenants/{{defaultV1Ten"
+ "ant.Name}}/HostPools/{{sessionHostPool.Name}}", case_sensitive=False),
+ test.check("migrationRequest.operation", "Start", case_sensitive=False),
+ test.check("name", "{myApplicationGroup}", case_sensitive=False),
+ ])
+ step_applicationgroup_show(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("applicationGroupType", "RemoteApp", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolArmPath", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Desktop"
+ "Virtualization/hostPools/{myHostPool}", case_sensitive=False),
+ test.check("name", "{myApplicationGroup}", case_sensitive=False),
+ ])
+ step_applicationgroup_list(test, rg, checks=[])
+ step_applicationgroup_list2(test, rg, checks=[])
+ step_applicationgroup_update(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("applicationGroupType", "RemoteApp", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolArmPath", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Desktop"
+ "Virtualization/hostPools/{myHostPool}", case_sensitive=False),
+ test.check("name", "{myApplicationGroup}", case_sensitive=False),
+ ])
+ step_applicationgroup_delete(test, rg, checks=[])
+ step_msix_image_expand(test, rg, checks=[])
+ step_msix_package_create(test, rg, checks=[])
+ step_msix_package_show(test, rg, checks=[])
+ step_msix_package_list(test, rg, checks=[])
+ step_msix_package_update(test, rg, checks=[])
+ step_msix_package_delete(test, rg, checks=[])
+ step_scaling_plan_create(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("exclusionTag", "value", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolType", "Personal", case_sensitive=False),
+ test.check("timeZone", "", case_sensitive=False),
+ test.check("name", "{myScalingPlan}", case_sensitive=False),
+ ])
+ step_scaling_plan_show(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("exclusionTag", "value", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolType", "Personal", case_sensitive=False),
+ test.check("timeZone", "", case_sensitive=False),
+ ])
+ step_scaling_plan_list(test, rg, checks=[
+ test.check('length(@)', 1),
+ ])
+ step_scaling_plan_list2(test, rg, checks=[
+ test.check('length(@)', 1),
+ ])
+ step_scaling_plan_list3(test, rg, checks=[])
+ step_scaling_plan_update(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("exclusionTag", "value", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("hostPoolType", "Personal", case_sensitive=False),
+ test.check("timeZone", "", case_sensitive=False),
+ test.check("name", "{myScalingPlan}", case_sensitive=False),
+ ])
+ step_scaling_plan_delete(test, rg, checks=[])
+ step_hostpool_delete(test, rg, checks=[])
+ step_workspace_create(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("name", "{myWorkspace}", case_sensitive=False),
+ ])
+ step_workspace_show(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("name", "{myWorkspace}", case_sensitive=False),
+ ])
+ step_workspace_list(test, rg, checks=[
+ test.check('length(@)', 1),
+ ])
+ step_workspace_list2(test, rg, checks=[
+ test.check('length(@)', 1),
+ ])
+ step_workspace_update(test, rg, checks=[
+ test.check("location", "centralus", case_sensitive=False),
+ test.check("description", "des1", case_sensitive=False),
+ test.check("friendlyName", "friendly", case_sensitive=False),
+ test.check("name", "{myWorkspace}", case_sensitive=False),
+ ])
+ step_workspace_delete(test, rg, checks=[])
+ cleanup_scenario(test, rg)
+
+
+# Test class for Scenario
@try_manual
-class DesktopVirtualizationAPIClientScenarioTest(ScenarioTest):
-
- @ResourceGroupPreparer(name_prefix='clitestdesktopvirtualization_resourceGroup1'[:7], key='rg',
- parameter_name='rg')
- def test_desktopvirtualization(self, rg):
+class DesktopvirtualizationScenarioTest(ScenarioTest):
+ def __init__(self, *args, **kwargs):
+ super(DesktopvirtualizationScenarioTest, self).__init__(*args, **kwargs)
self.kwargs.update({
'subscription_id': self.get_subscription_id()
})
@@ -259,8 +245,16 @@ def test_desktopvirtualization(self, rg):
self.kwargs.update({
'myWorkspace': 'workspace1',
'myHostPool': 'hostPool1',
+ 'myHostPool2': 'hostpool1',
+ 'myScalingPlan': 'scalingPlan1',
'myApplicationGroup': 'applicationGroup1',
})
+
+ @ResourceGroupPreparer(name_prefix='clitestdesktopvirtualization_resourceGroup1'[:7], key='rg',
+ parameter_name='rg')
+ def test_desktopvirtualization_Scenario(self, rg):
call_scenario(self, rg)
+ calc_coverage(__file__)
raise_if()
+
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/__init__.py
index d4c9600e5ab..5846b9c6d37 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/__init__.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/__init__.py
@@ -10,7 +10,7 @@
__all__ = ['DesktopVirtualizationAPIClient']
try:
- from ._patch import patch_sdk
+ from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_configuration.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_configuration.py
index ff8530a3c79..4e452ea6f84 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_configuration.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_configuration.py
@@ -10,6 +10,7 @@
from azure.core.configuration import Configuration
from azure.core.pipeline import policies
+from azure.mgmt.core.policies import ARMHttpLoggingPolicy
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
@@ -46,9 +47,8 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
- self.api_version = "2019-12-10-preview"
- self.credential_scopes = ['https://management.azure.com/.default']
- self.credential_scopes.extend(kwargs.pop('credential_scopes', []))
+ self.api_version = "2021-03-09-preview"
+ self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'desktopvirtualizationapiclient/{}'.format(VERSION))
self._configure(**kwargs)
@@ -61,6 +61,7 @@ def _configure(
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs)
+ self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs)
self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs)
self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs)
self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs)
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_desktop_virtualization_api_client.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_desktop_virtualization_api_client.py
index b772c438678..1aac622748b 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_desktop_virtualization_api_client.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_desktop_virtualization_api_client.py
@@ -18,51 +18,53 @@
from azure.core.credentials import TokenCredential
from ._configuration import DesktopVirtualizationAPIClientConfiguration
-from .operations import OperationOperations
-from .operations import WorkspaceOperations
-from .operations import ApplicationGroupAssignmentOperations
-from .operations import ApplicationGroupOperations
-from .operations import StartMenuItemOperations
-from .operations import ApplicationOperations
-from .operations import DesktopOperations
-from .operations import HostPoolOperations
-from .operations import UserSessionOperations
-from .operations import SessionHostOperations
-from .operations import ActiveApplicationOperations
+from .operations import Operations
+from .operations import WorkspacesOperations
+from .operations import ScalingPlansOperations
+from .operations import ApplicationGroupsOperations
+from .operations import StartMenuItemsOperations
+from .operations import ApplicationsOperations
+from .operations import DesktopsOperations
+from .operations import HostPoolsOperations
+from .operations import UserSessionsOperations
+from .operations import SessionHostsOperations
+from .operations import MsixPackagesOperations
+from .operations import MsixImagesOperations
from . import models
class DesktopVirtualizationAPIClient(object):
"""DesktopVirtualizationAPIClient.
- :ivar operation: OperationOperations operations
- :vartype operation: desktop_virtualization_api_client.operations.OperationOperations
- :ivar workspace: WorkspaceOperations operations
- :vartype workspace: desktop_virtualization_api_client.operations.WorkspaceOperations
- :ivar application_group_assignment: ApplicationGroupAssignmentOperations operations
- :vartype application_group_assignment: desktop_virtualization_api_client.operations.ApplicationGroupAssignmentOperations
- :ivar application_group: ApplicationGroupOperations operations
- :vartype application_group: desktop_virtualization_api_client.operations.ApplicationGroupOperations
- :ivar start_menu_item: StartMenuItemOperations operations
- :vartype start_menu_item: desktop_virtualization_api_client.operations.StartMenuItemOperations
- :ivar application: ApplicationOperations operations
- :vartype application: desktop_virtualization_api_client.operations.ApplicationOperations
- :ivar desktop: DesktopOperations operations
- :vartype desktop: desktop_virtualization_api_client.operations.DesktopOperations
- :ivar host_pool: HostPoolOperations operations
- :vartype host_pool: desktop_virtualization_api_client.operations.HostPoolOperations
- :ivar user_session: UserSessionOperations operations
- :vartype user_session: desktop_virtualization_api_client.operations.UserSessionOperations
- :ivar session_host: SessionHostOperations operations
- :vartype session_host: desktop_virtualization_api_client.operations.SessionHostOperations
- :ivar active_application: ActiveApplicationOperations operations
- :vartype active_application: desktop_virtualization_api_client.operations.ActiveApplicationOperations
+ :ivar operations: Operations operations
+ :vartype operations: desktop_virtualization_api_client.operations.Operations
+ :ivar workspaces: WorkspacesOperations operations
+ :vartype workspaces: desktop_virtualization_api_client.operations.WorkspacesOperations
+ :ivar scaling_plans: ScalingPlansOperations operations
+ :vartype scaling_plans: desktop_virtualization_api_client.operations.ScalingPlansOperations
+ :ivar application_groups: ApplicationGroupsOperations operations
+ :vartype application_groups: desktop_virtualization_api_client.operations.ApplicationGroupsOperations
+ :ivar start_menu_items: StartMenuItemsOperations operations
+ :vartype start_menu_items: desktop_virtualization_api_client.operations.StartMenuItemsOperations
+ :ivar applications: ApplicationsOperations operations
+ :vartype applications: desktop_virtualization_api_client.operations.ApplicationsOperations
+ :ivar desktops: DesktopsOperations operations
+ :vartype desktops: desktop_virtualization_api_client.operations.DesktopsOperations
+ :ivar host_pools: HostPoolsOperations operations
+ :vartype host_pools: desktop_virtualization_api_client.operations.HostPoolsOperations
+ :ivar user_sessions: UserSessionsOperations operations
+ :vartype user_sessions: desktop_virtualization_api_client.operations.UserSessionsOperations
+ :ivar session_hosts: SessionHostsOperations operations
+ :vartype session_hosts: desktop_virtualization_api_client.operations.SessionHostsOperations
+ :ivar msix_packages: MsixPackagesOperations operations
+ :vartype msix_packages: desktop_virtualization_api_client.operations.MsixPackagesOperations
+ :ivar msix_images: MsixImagesOperations operations
+ :vartype msix_images: desktop_virtualization_api_client.operations.MsixImagesOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription.
:type subscription_id: str
:param str base_url: Service URL
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
"""
def __init__(
@@ -82,27 +84,29 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)
- self.operation = OperationOperations(
+ self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
- self.workspace = WorkspaceOperations(
+ self.workspaces = WorkspacesOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.application_group_assignment = ApplicationGroupAssignmentOperations(
+ self.scaling_plans = ScalingPlansOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.application_group = ApplicationGroupOperations(
+ self.application_groups = ApplicationGroupsOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.start_menu_item = StartMenuItemOperations(
+ self.start_menu_items = StartMenuItemsOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.application = ApplicationOperations(
+ self.applications = ApplicationsOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.desktop = DesktopOperations(
+ self.desktops = DesktopsOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.host_pool = HostPoolOperations(
+ self.host_pools = HostPoolsOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.user_session = UserSessionOperations(
+ self.user_sessions = UserSessionsOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.session_host = SessionHostOperations(
+ self.session_hosts = SessionHostsOperations(
self._client, self._config, self._serialize, self._deserialize)
- self.active_application = ActiveApplicationOperations(
+ self.msix_packages = MsixPackagesOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.msix_images = MsixImagesOperations(
self._client, self._config, self._serialize, self._deserialize)
def close(self):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_version.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_version.py
deleted file mode 100644
index 035146e99a2..00000000000
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_version.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-
-VERSION = "0.2.0"
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/__init__.py
index 541fe112221..3160c7b3c30 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/__init__.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/__init__.py
@@ -6,5 +6,5 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
-from ._desktop_virtualization_api_client_async import DesktopVirtualizationAPIClient
+from ._desktop_virtualization_api_client import DesktopVirtualizationAPIClient
__all__ = ['DesktopVirtualizationAPIClient']
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_configuration_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_configuration.py
similarity index 90%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_configuration_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_configuration.py
index e6ea359defd..1323ff7f45f 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_configuration_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_configuration.py
@@ -10,6 +10,7 @@
from azure.core.configuration import Configuration
from azure.core.pipeline import policies
+from azure.mgmt.core.policies import ARMHttpLoggingPolicy
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
@@ -43,9 +44,8 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
- self.api_version = "2019-12-10-preview"
- self.credential_scopes = ['https://management.azure.com/.default']
- self.credential_scopes.extend(kwargs.pop('credential_scopes', []))
+ self.api_version = "2021-03-09-preview"
+ self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'desktopvirtualizationapiclient/{}'.format(VERSION))
self._configure(**kwargs)
@@ -57,6 +57,7 @@ def _configure(
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs)
+ self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs)
self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs)
self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs)
self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs)
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client.py
new file mode 100644
index 00000000000..69fd7e9c30f
--- /dev/null
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client.py
@@ -0,0 +1,117 @@
+# coding=utf-8
+# --------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# --------------------------------------------------------------------------
+
+from typing import Any, Optional, TYPE_CHECKING
+
+from azure.mgmt.core import AsyncARMPipelineClient
+from msrest import Deserializer, Serializer
+
+if TYPE_CHECKING:
+ # pylint: disable=unused-import,ungrouped-imports
+ from azure.core.credentials_async import AsyncTokenCredential
+
+from ._configuration import DesktopVirtualizationAPIClientConfiguration
+from .operations import Operations
+from .operations import WorkspacesOperations
+from .operations import ScalingPlansOperations
+from .operations import ApplicationGroupsOperations
+from .operations import StartMenuItemsOperations
+from .operations import ApplicationsOperations
+from .operations import DesktopsOperations
+from .operations import HostPoolsOperations
+from .operations import UserSessionsOperations
+from .operations import SessionHostsOperations
+from .operations import MsixPackagesOperations
+from .operations import MsixImagesOperations
+from .. import models
+
+
+class DesktopVirtualizationAPIClient(object):
+ """DesktopVirtualizationAPIClient.
+
+ :ivar operations: Operations operations
+ :vartype operations: desktop_virtualization_api_client.aio.operations.Operations
+ :ivar workspaces: WorkspacesOperations operations
+ :vartype workspaces: desktop_virtualization_api_client.aio.operations.WorkspacesOperations
+ :ivar scaling_plans: ScalingPlansOperations operations
+ :vartype scaling_plans: desktop_virtualization_api_client.aio.operations.ScalingPlansOperations
+ :ivar application_groups: ApplicationGroupsOperations operations
+ :vartype application_groups: desktop_virtualization_api_client.aio.operations.ApplicationGroupsOperations
+ :ivar start_menu_items: StartMenuItemsOperations operations
+ :vartype start_menu_items: desktop_virtualization_api_client.aio.operations.StartMenuItemsOperations
+ :ivar applications: ApplicationsOperations operations
+ :vartype applications: desktop_virtualization_api_client.aio.operations.ApplicationsOperations
+ :ivar desktops: DesktopsOperations operations
+ :vartype desktops: desktop_virtualization_api_client.aio.operations.DesktopsOperations
+ :ivar host_pools: HostPoolsOperations operations
+ :vartype host_pools: desktop_virtualization_api_client.aio.operations.HostPoolsOperations
+ :ivar user_sessions: UserSessionsOperations operations
+ :vartype user_sessions: desktop_virtualization_api_client.aio.operations.UserSessionsOperations
+ :ivar session_hosts: SessionHostsOperations operations
+ :vartype session_hosts: desktop_virtualization_api_client.aio.operations.SessionHostsOperations
+ :ivar msix_packages: MsixPackagesOperations operations
+ :vartype msix_packages: desktop_virtualization_api_client.aio.operations.MsixPackagesOperations
+ :ivar msix_images: MsixImagesOperations operations
+ :vartype msix_images: desktop_virtualization_api_client.aio.operations.MsixImagesOperations
+ :param credential: Credential needed for the client to connect to Azure.
+ :type credential: ~azure.core.credentials_async.AsyncTokenCredential
+ :param subscription_id: The ID of the target subscription.
+ :type subscription_id: str
+ :param str base_url: Service URL
+ """
+
+ def __init__(
+ self,
+ credential: "AsyncTokenCredential",
+ subscription_id: str,
+ base_url: Optional[str] = None,
+ **kwargs: Any
+ ) -> None:
+ if not base_url:
+ base_url = 'https://management.azure.com'
+ self._config = DesktopVirtualizationAPIClientConfiguration(credential, subscription_id, **kwargs)
+ self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
+
+ client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
+ self._serialize = Serializer(client_models)
+ self._deserialize = Deserializer(client_models)
+
+ self.operations = Operations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.workspaces = WorkspacesOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.scaling_plans = ScalingPlansOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.application_groups = ApplicationGroupsOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.start_menu_items = StartMenuItemsOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.applications = ApplicationsOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.desktops = DesktopsOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.host_pools = HostPoolsOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.user_sessions = UserSessionsOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.session_hosts = SessionHostsOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.msix_packages = MsixPackagesOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+ self.msix_images = MsixImagesOperations(
+ self._client, self._config, self._serialize, self._deserialize)
+
+ async def close(self) -> None:
+ await self._client.close()
+
+ async def __aenter__(self) -> "DesktopVirtualizationAPIClient":
+ await self._client.__aenter__()
+ return self
+
+ async def __aexit__(self, *exc_details) -> None:
+ await self._client.__aexit__(*exc_details)
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client_async.py
deleted file mode 100644
index 481123f11c0..00000000000
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client_async.py
+++ /dev/null
@@ -1,113 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-
-from typing import Any, Optional, TYPE_CHECKING
-
-from azure.mgmt.core import AsyncARMPipelineClient
-from msrest import Deserializer, Serializer
-
-if TYPE_CHECKING:
- # pylint: disable=unused-import,ungrouped-imports
- from azure.core.credentials_async import AsyncTokenCredential
-
-from ._configuration_async import DesktopVirtualizationAPIClientConfiguration
-from .operations_async import OperationOperations
-from .operations_async import WorkspaceOperations
-from .operations_async import ApplicationGroupAssignmentOperations
-from .operations_async import ApplicationGroupOperations
-from .operations_async import StartMenuItemOperations
-from .operations_async import ApplicationOperations
-from .operations_async import DesktopOperations
-from .operations_async import HostPoolOperations
-from .operations_async import UserSessionOperations
-from .operations_async import SessionHostOperations
-from .operations_async import ActiveApplicationOperations
-from .. import models
-
-
-class DesktopVirtualizationAPIClient(object):
- """DesktopVirtualizationAPIClient.
-
- :ivar operation: OperationOperations operations
- :vartype operation: desktop_virtualization_api_client.aio.operations_async.OperationOperations
- :ivar workspace: WorkspaceOperations operations
- :vartype workspace: desktop_virtualization_api_client.aio.operations_async.WorkspaceOperations
- :ivar application_group_assignment: ApplicationGroupAssignmentOperations operations
- :vartype application_group_assignment: desktop_virtualization_api_client.aio.operations_async.ApplicationGroupAssignmentOperations
- :ivar application_group: ApplicationGroupOperations operations
- :vartype application_group: desktop_virtualization_api_client.aio.operations_async.ApplicationGroupOperations
- :ivar start_menu_item: StartMenuItemOperations operations
- :vartype start_menu_item: desktop_virtualization_api_client.aio.operations_async.StartMenuItemOperations
- :ivar application: ApplicationOperations operations
- :vartype application: desktop_virtualization_api_client.aio.operations_async.ApplicationOperations
- :ivar desktop: DesktopOperations operations
- :vartype desktop: desktop_virtualization_api_client.aio.operations_async.DesktopOperations
- :ivar host_pool: HostPoolOperations operations
- :vartype host_pool: desktop_virtualization_api_client.aio.operations_async.HostPoolOperations
- :ivar user_session: UserSessionOperations operations
- :vartype user_session: desktop_virtualization_api_client.aio.operations_async.UserSessionOperations
- :ivar session_host: SessionHostOperations operations
- :vartype session_host: desktop_virtualization_api_client.aio.operations_async.SessionHostOperations
- :ivar active_application: ActiveApplicationOperations operations
- :vartype active_application: desktop_virtualization_api_client.aio.operations_async.ActiveApplicationOperations
- :param credential: Credential needed for the client to connect to Azure.
- :type credential: ~azure.core.credentials_async.AsyncTokenCredential
- :param subscription_id: The ID of the target subscription.
- :type subscription_id: str
- :param str base_url: Service URL
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
- """
-
- def __init__(
- self,
- credential: "AsyncTokenCredential",
- subscription_id: str,
- base_url: Optional[str] = None,
- **kwargs: Any
- ) -> None:
- if not base_url:
- base_url = 'https://management.azure.com'
- self._config = DesktopVirtualizationAPIClientConfiguration(credential, subscription_id, **kwargs)
- self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
-
- client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
- self._serialize = Serializer(client_models)
- self._deserialize = Deserializer(client_models)
-
- self.operation = OperationOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.workspace = WorkspaceOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.application_group_assignment = ApplicationGroupAssignmentOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.application_group = ApplicationGroupOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.start_menu_item = StartMenuItemOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.application = ApplicationOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.desktop = DesktopOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.host_pool = HostPoolOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.user_session = UserSessionOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.session_host = SessionHostOperations(
- self._client, self._config, self._serialize, self._deserialize)
- self.active_application = ActiveApplicationOperations(
- self._client, self._config, self._serialize, self._deserialize)
-
- async def close(self) -> None:
- await self._client.close()
-
- async def __aenter__(self) -> "DesktopVirtualizationAPIClient":
- await self._client.__aenter__()
- return self
-
- async def __aexit__(self, *exc_details) -> None:
- await self._client.__aexit__(*exc_details)
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/__init__.py
new file mode 100644
index 00000000000..7fecc9b4d93
--- /dev/null
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/__init__.py
@@ -0,0 +1,35 @@
+# coding=utf-8
+# --------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# --------------------------------------------------------------------------
+
+from ._operations import Operations
+from ._workspaces_operations import WorkspacesOperations
+from ._scaling_plans_operations import ScalingPlansOperations
+from ._application_groups_operations import ApplicationGroupsOperations
+from ._start_menu_items_operations import StartMenuItemsOperations
+from ._applications_operations import ApplicationsOperations
+from ._desktops_operations import DesktopsOperations
+from ._host_pools_operations import HostPoolsOperations
+from ._user_sessions_operations import UserSessionsOperations
+from ._session_hosts_operations import SessionHostsOperations
+from ._msix_packages_operations import MsixPackagesOperations
+from ._msix_images_operations import MsixImagesOperations
+
+__all__ = [
+ 'Operations',
+ 'WorkspacesOperations',
+ 'ScalingPlansOperations',
+ 'ApplicationGroupsOperations',
+ 'StartMenuItemsOperations',
+ 'ApplicationsOperations',
+ 'DesktopsOperations',
+ 'HostPoolsOperations',
+ 'UserSessionsOperations',
+ 'SessionHostsOperations',
+ 'MsixPackagesOperations',
+ 'MsixImagesOperations',
+]
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_group_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_application_groups_operations.py
similarity index 83%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_group_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_application_groups_operations.py
index 67d6e2fb3eb..ffe015df98e 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_group_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_application_groups_operations.py
@@ -9,7 +9,7 @@
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class ApplicationGroupOperations:
- """ApplicationGroupOperations async operations.
+class ApplicationGroupsOperations:
+ """ApplicationGroupsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -59,16 +59,19 @@ async def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroup"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -78,9 +81,8 @@ async def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -101,12 +103,7 @@ async def create_or_update(
self,
resource_group_name: str,
application_group_name: str,
- location: str,
- host_pool_arm_path: str,
- application_group_type: Union[str, "models.ApplicationGroupType"],
- tags: Optional[Dict[str, str]] = None,
- description: Optional[str] = None,
- friendly_name: Optional[str] = None,
+ application_group: "models.ApplicationGroup",
**kwargs
) -> "models.ApplicationGroup":
"""Create or update an applicationGroup.
@@ -115,37 +112,28 @@ async def create_or_update(
:type resource_group_name: str
:param application_group_name: The name of the application group.
:type application_group_name: str
- :param location: The geo-location where the resource lives.
- :type location: str
- :param host_pool_arm_path: HostPool arm path of ApplicationGroup.
- :type host_pool_arm_path: str
- :param application_group_type: Resource Type of ApplicationGroup.
- :type application_group_type: str or ~desktop_virtualization_api_client.models.ApplicationGroupType
- :param tags: Resource tags.
- :type tags: dict[str, str]
- :param description: Description of ApplicationGroup.
- :type description: str
- :param friendly_name: Friendly name of ApplicationGroup.
- :type friendly_name: str
+ :param application_group: Object containing ApplicationGroup definitions.
+ :type application_group: ~desktop_virtualization_api_client.models.ApplicationGroup
:keyword callable cls: A custom type or function that will be passed the direct response
:return: ApplicationGroup, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.ApplicationGroup
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroup"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application_group = models.ApplicationGroup(tags=tags, location=location, description=description, friendly_name=friendly_name, host_pool_arm_path=host_pool_arm_path, application_group_type=application_group_type)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -156,14 +144,12 @@ async def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_application_group, 'ApplicationGroup')
+ body_content = self._serialize.body(application_group, 'ApplicationGroup')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -171,7 +157,6 @@ async def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('ApplicationGroup', pipeline_response)
@@ -202,16 +187,19 @@ async def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -221,8 +209,8 @@ async def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -240,9 +228,7 @@ async def update(
self,
resource_group_name: str,
application_group_name: str,
- tags: Optional[Dict[str, str]] = None,
- description: Optional[str] = None,
- friendly_name: Optional[str] = None,
+ application_group: Optional["models.ApplicationGroupPatch"] = None,
**kwargs
) -> "models.ApplicationGroup":
"""Update an applicationGroup.
@@ -251,31 +237,28 @@ async def update(
:type resource_group_name: str
:param application_group_name: The name of the application group.
:type application_group_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of ApplicationGroup.
- :type description: str
- :param friendly_name: Friendly name of ApplicationGroup.
- :type friendly_name: str
+ :param application_group: Object containing ApplicationGroup definitions.
+ :type application_group: ~desktop_virtualization_api_client.models.ApplicationGroupPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: ApplicationGroup, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.ApplicationGroup
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroup"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application_group = models.ApplicationGroupPatch(tags=tags, description=description, friendly_name=friendly_name)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -286,17 +269,15 @@ async def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _application_group is not None:
- body_content = self._serialize.body(_application_group, 'ApplicationGroupPatch')
+ if application_group is not None:
+ body_content = self._serialize.body(application_group, 'ApplicationGroupPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -323,7 +304,7 @@ def list_by_resource_group(
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param filter: OData filter expression. Valid properties for filtering are
- applicationGroupType.
+ applicationGroupType.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ApplicationGroupList or the result of cls(response)
@@ -331,11 +312,18 @@ def list_by_resource_group(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroupList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
@@ -350,15 +338,11 @@ def prepare_request(next_link=None):
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
@@ -393,7 +377,7 @@ def list_by_subscription(
"""List applicationGroups in subscription.
:param filter: OData filter expression. Valid properties for filtering are
- applicationGroupType.
+ applicationGroupType.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ApplicationGroupList or the result of cls(response)
@@ -401,11 +385,18 @@ def list_by_subscription(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroupList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_subscription.metadata['url'] # type: ignore
@@ -419,15 +410,11 @@ def prepare_request(next_link=None):
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_applications_operations.py
similarity index 76%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_applications_operations.py
index 2d106a34c43..108c62a6f4f 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_applications_operations.py
@@ -9,7 +9,7 @@
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class ApplicationOperations:
- """ApplicationOperations async operations.
+class ApplicationsOperations:
+ """ApplicationsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -62,16 +62,19 @@ async def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Application"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -82,9 +85,8 @@ async def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -106,14 +108,7 @@ async def create_or_update(
resource_group_name: str,
application_group_name: str,
application_name: str,
- command_line_setting: Union[str, "models.CommandLineSetting"],
- description: Optional[str] = None,
- friendly_name: Optional[str] = None,
- file_path: Optional[str] = None,
- command_line_arguments: Optional[str] = None,
- show_in_portal: Optional[bool] = None,
- icon_path: Optional[str] = None,
- icon_index: Optional[int] = None,
+ application: "models.Application",
**kwargs
) -> "models.Application":
"""Create or update an application.
@@ -124,44 +119,28 @@ async def create_or_update(
:type application_group_name: str
:param application_name: The name of the application within the specified application group.
:type application_name: str
- :param command_line_setting: 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.
- :type command_line_setting: str or ~desktop_virtualization_api_client.models.CommandLineSetting
- :param description: Description of Application.
- :type description: str
- :param friendly_name: Friendly name of Application.
- :type friendly_name: str
- :param file_path: Specifies a path for the executable file for the application.
- :type file_path: str
- :param command_line_arguments: Command Line Arguments for Application.
- :type command_line_arguments: str
- :param show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access
- server.
- :type show_in_portal: bool
- :param icon_path: Path to icon.
- :type icon_path: str
- :param icon_index: Index of the icon.
- :type icon_index: int
+ :param application: Object containing Application definitions.
+ :type application: ~desktop_virtualization_api_client.models.Application
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Application, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Application
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Application"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application = models.Application(description=description, friendly_name=friendly_name, file_path=file_path, command_line_setting=command_line_setting, command_line_arguments=command_line_arguments, show_in_portal=show_in_portal, icon_path=icon_path, icon_index=icon_index)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -173,14 +152,12 @@ async def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_application, 'Application')
+ body_content = self._serialize.body(application, 'Application')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -188,7 +165,6 @@ async def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('Application', pipeline_response)
@@ -222,16 +198,19 @@ async def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -242,8 +221,8 @@ async def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -262,15 +241,7 @@ async def update(
resource_group_name: str,
application_group_name: str,
application_name: str,
- tags: Optional[Dict[str, str]] = None,
- description: Optional[str] = None,
- friendly_name: Optional[str] = None,
- file_path: Optional[str] = None,
- command_line_setting: Optional[Union[str, "models.CommandLineSetting"]] = None,
- command_line_arguments: Optional[str] = None,
- show_in_portal: Optional[bool] = None,
- icon_path: Optional[str] = None,
- icon_index: Optional[int] = None,
+ application: Optional["models.ApplicationPatch"] = None,
**kwargs
) -> "models.Application":
"""Update an application.
@@ -281,46 +252,28 @@ async def update(
:type application_group_name: str
:param application_name: The name of the application within the specified application group.
:type application_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of Application.
- :type description: str
- :param friendly_name: Friendly name of Application.
- :type friendly_name: str
- :param file_path: Specifies a path for the executable file for the application.
- :type file_path: str
- :param command_line_setting: 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.
- :type command_line_setting: str or ~desktop_virtualization_api_client.models.CommandLineSetting
- :param command_line_arguments: Command Line Arguments for Application.
- :type command_line_arguments: str
- :param show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access
- server.
- :type show_in_portal: bool
- :param icon_path: Path to icon.
- :type icon_path: str
- :param icon_index: Index of the icon.
- :type icon_index: int
+ :param application: Object containing Application definitions.
+ :type application: ~desktop_virtualization_api_client.models.ApplicationPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Application, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Application
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Application"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application = models.ApplicationPatch(tags=tags, description=description, friendly_name=friendly_name, file_path=file_path, command_line_setting=command_line_setting, command_line_arguments=command_line_arguments, show_in_portal=show_in_portal, icon_path=icon_path, icon_index=icon_index)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -332,17 +285,15 @@ async def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _application is not None:
- body_content = self._serialize.body(_application, 'ApplicationPatch')
+ if application is not None:
+ body_content = self._serialize.body(application, 'ApplicationPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -376,33 +327,36 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_desktop_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_desktops_operations.py
similarity index 86%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_desktop_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_desktops_operations.py
index 22bfcf90da0..3603dfc2f17 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_desktop_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_desktops_operations.py
@@ -8,7 +8,7 @@
from typing import Any, Callable, Dict, Generic, Optional, TypeVar
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -18,8 +18,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class DesktopOperations:
- """DesktopOperations async operations.
+class DesktopsOperations:
+ """DesktopsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -61,16 +61,19 @@ async def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Desktop"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'desktopName': self._serialize.url("desktop_name", desktop_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -81,9 +84,8 @@ async def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -105,9 +107,7 @@ async def update(
resource_group_name: str,
application_group_name: str,
desktop_name: str,
- tags: Optional[Dict[str, str]] = None,
- description: Optional[str] = None,
- friendly_name: Optional[str] = None,
+ desktop: Optional["models.DesktopPatch"] = None,
**kwargs
) -> "models.Desktop":
"""Update a desktop.
@@ -118,31 +118,28 @@ async def update(
:type application_group_name: str
:param desktop_name: The name of the desktop within the specified desktop group.
:type desktop_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of Desktop.
- :type description: str
- :param friendly_name: Friendly name of Desktop.
- :type friendly_name: str
+ :param desktop: Object containing Desktop definitions.
+ :type desktop: ~desktop_virtualization_api_client.models.DesktopPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Desktop, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Desktop
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Desktop"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _desktop = models.DesktopPatch(tags=tags, description=description, friendly_name=friendly_name)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'desktopName': self._serialize.url("desktop_name", desktop_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -154,17 +151,15 @@ async def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _desktop is not None:
- body_content = self._serialize.body(_desktop, 'DesktopPatch')
+ if desktop is not None:
+ body_content = self._serialize.body(desktop, 'DesktopPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -198,16 +193,19 @@ async def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.DesktopList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -217,9 +215,8 @@ async def list(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_host_pool_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_host_pools_operations.py
similarity index 71%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_host_pool_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_host_pools_operations.py
index 1c297620523..7630289beca 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_host_pool_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_host_pools_operations.py
@@ -9,7 +9,7 @@
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class HostPoolOperations:
- """HostPoolOperations async operations.
+class HostPoolsOperations:
+ """HostPoolsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -59,16 +59,19 @@ async def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPool"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -78,9 +81,8 @@ async def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -101,20 +103,7 @@ async def create_or_update(
self,
resource_group_name: str,
host_pool_name: str,
- location: str,
- host_pool_type: Union[str, "models.HostPoolType"],
- personal_desktop_assignment_type: Union[str, "models.PersonalDesktopAssignmentType"],
- load_balancer_type: Union[str, "models.LoadBalancerType"],
- tags: Optional[Dict[str, str]] = None,
- friendly_name: Optional[str] = None,
- description: Optional[str] = None,
- custom_rdp_property: Optional[str] = None,
- max_session_limit: Optional[int] = None,
- ring: Optional[int] = None,
- validation_environment: Optional[bool] = None,
- registration_info: Optional["models.RegistrationInfo"] = None,
- vm_template: Optional[str] = None,
- sso_context: Optional[str] = None,
+ host_pool: "models.HostPool",
**kwargs
) -> "models.HostPool":
"""Create or update a host pool.
@@ -123,53 +112,28 @@ async def create_or_update(
:type resource_group_name: str
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
- :param location: The geo-location where the resource lives.
- :type location: str
- :param host_pool_type: HostPool type for desktop.
- :type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
- :param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool.
- :type personal_desktop_assignment_type: str or ~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
- :param load_balancer_type: The type of the load balancer.
- :type load_balancer_type: str or ~desktop_virtualization_api_client.models.LoadBalancerType
- :param tags: Resource tags.
- :type tags: dict[str, str]
- :param friendly_name: Friendly name of HostPool.
- :type friendly_name: str
- :param description: Description of HostPool.
- :type description: str
- :param custom_rdp_property: Custom rdp property of HostPool.
- :type custom_rdp_property: str
- :param max_session_limit: The max session limit of HostPool.
- :type max_session_limit: int
- :param ring: The ring number of HostPool.
- :type ring: int
- :param validation_environment: Is validation environment.
- :type validation_environment: bool
- :param registration_info: The registration info of HostPool.
- :type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfo
- :param vm_template: VM template for sessionhosts configuration within hostpool.
- :type vm_template: str
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param host_pool: Object containing HostPool definitions.
+ :type host_pool: ~desktop_virtualization_api_client.models.HostPool
:keyword callable cls: A custom type or function that will be passed the direct response
:return: HostPool, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.HostPool
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPool"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _host_pool = models.HostPool(tags=tags, location=location, friendly_name=friendly_name, description=description, host_pool_type=host_pool_type, personal_desktop_assignment_type=personal_desktop_assignment_type, custom_rdp_property=custom_rdp_property, max_session_limit=max_session_limit, load_balancer_type=load_balancer_type, ring=ring, validation_environment=validation_environment, registration_info=registration_info, vm_template=vm_template, sso_context=sso_context)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -180,14 +144,12 @@ async def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_host_pool, 'HostPool')
+ body_content = self._serialize.body(host_pool, 'HostPool')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -195,7 +157,6 @@ async def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('HostPool', pipeline_response)
@@ -229,16 +190,19 @@ async def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -250,8 +214,8 @@ async def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -269,17 +233,7 @@ async def update(
self,
resource_group_name: str,
host_pool_name: str,
- tags: Optional[Dict[str, str]] = None,
- friendly_name: Optional[str] = None,
- description: Optional[str] = None,
- custom_rdp_property: Optional[str] = None,
- max_session_limit: Optional[int] = None,
- personal_desktop_assignment_type: Optional[Union[str, "models.PersonalDesktopAssignmentType"]] = None,
- load_balancer_type: Optional[Union[str, "models.LoadBalancerType"]] = None,
- ring: Optional[int] = None,
- validation_environment: Optional[bool] = None,
- registration_info: Optional["models.RegistrationInfoPatch"] = None,
- sso_context: Optional[str] = None,
+ host_pool: Optional["models.HostPoolPatch"] = None,
**kwargs
) -> "models.HostPool":
"""Update a host pool.
@@ -288,47 +242,28 @@ async def update(
:type resource_group_name: str
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param friendly_name: Friendly name of HostPool.
- :type friendly_name: str
- :param description: Description of HostPool.
- :type description: str
- :param custom_rdp_property: Custom rdp property of HostPool.
- :type custom_rdp_property: str
- :param max_session_limit: The max session limit of HostPool.
- :type max_session_limit: int
- :param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool.
- :type personal_desktop_assignment_type: str or ~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
- :param load_balancer_type: The type of the load balancer.
- :type load_balancer_type: str or ~desktop_virtualization_api_client.models.LoadBalancerType
- :param ring: The ring number of HostPool.
- :type ring: int
- :param validation_environment: Is validation environment.
- :type validation_environment: bool
- :param registration_info: The registration info of HostPool.
- :type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfoPatch
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param host_pool: Object containing HostPool definitions.
+ :type host_pool: ~desktop_virtualization_api_client.models.HostPoolPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: HostPool, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.HostPool
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPool"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _host_pool = models.HostPoolPatch(tags=tags, friendly_name=friendly_name, description=description, custom_rdp_property=custom_rdp_property, max_session_limit=max_session_limit, personal_desktop_assignment_type=personal_desktop_assignment_type, load_balancer_type=load_balancer_type, ring=ring, validation_environment=validation_environment, registration_info=registration_info, sso_context=sso_context)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -339,17 +274,15 @@ async def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _host_pool is not None:
- body_content = self._serialize.body(_host_pool, 'HostPoolPatch')
+ if host_pool is not None:
+ body_content = self._serialize.body(host_pool, 'HostPoolPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -380,11 +313,18 @@ def list_by_resource_group(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPoolList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
@@ -397,15 +337,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
@@ -444,11 +380,18 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPoolList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
@@ -460,15 +403,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
@@ -494,3 +433,61 @@ async def get_next(next_link=None):
get_next, extract_data
)
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'} # type: ignore
+
+ async def retrieve_registration_token(
+ self,
+ resource_group_name: str,
+ host_pool_name: str,
+ **kwargs
+ ) -> "models.RegistrationInfo":
+ """Registration token of the host pool.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: RegistrationInfo, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.RegistrationInfo
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.RegistrationInfo"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.retrieve_registration_token.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.post(url, query_parameters, header_parameters)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('RegistrationInfo', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ retrieve_registration_token.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/retrieveRegistrationToken'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_active_application_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_images_operations.py
similarity index 64%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_active_application_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_images_operations.py
index 481d74f208d..ccf64704bcd 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_active_application_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_images_operations.py
@@ -9,7 +9,7 @@
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class ActiveApplicationOperations:
- """ActiveApplicationOperations async operations.
+class MsixImagesOperations:
+ """MsixImagesOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -41,65 +41,69 @@ def __init__(self, client, config, serializer, deserializer) -> None:
self._deserialize = deserializer
self._config = config
- def list_by_session_host(
+ def expand(
self,
resource_group_name: str,
host_pool_name: str,
- session_host_name: str,
- filter: Optional[str] = None,
+ msix_image_uri: "models.MsixImageUri",
**kwargs
- ) -> AsyncIterable["models.ApplicationList"]:
- """List applications for the given session host.
+ ) -> AsyncIterable["models.ExpandMsixImageList"]:
+ """Expands and Lists MSIX packages in an Image, given the Image Path.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
- :param session_host_name: The name of the session host within the specified host pool.
- :type session_host_name: str
- :param filter: OData filter expression. Valid properties for filtering are userprincipalname
- and sessionstate.
- :type filter: str
+ :param msix_image_uri: Object containing URI to MSIX Image.
+ :type msix_image_uri: ~desktop_virtualization_api_client.models.MsixImageUri
:keyword callable cls: A custom type or function that will be passed the direct response
- :return: An iterator like instance of either ApplicationList or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~desktop_virtualization_api_client.models.ApplicationList]
+ :return: An iterator like instance of either ExpandMsixImageList or the result of cls(response)
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~desktop_virtualization_api_client.models.ExpandMsixImageList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
- cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpandMsixImageList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ content_type = "application/json"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
- url = self.list_by_session_host.metadata['url'] # type: ignore
+ url = self.expand.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
- 'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
- if filter is not None:
- query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(msix_image_uri, 'MsixImageUri')
+ body_content_kwargs['content'] = body_content
+ request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(msix_image_uri, 'MsixImageUri')
+ body_content_kwargs['content'] = body_content
+ request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs)
return request
async def extract_data(pipeline_response):
- deserialized = self._deserialize('ApplicationList', pipeline_response)
+ deserialized = self._deserialize('ExpandMsixImageList', pipeline_response)
list_of_elem = deserialized.value
if cls:
list_of_elem = cls(list_of_elem)
@@ -120,4 +124,4 @@ async def get_next(next_link=None):
return AsyncItemPaged(
get_next, extract_data
)
- list_by_session_host.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'} # type: ignore
+ expand.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/expandMsixImage'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_packages_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_packages_operations.py
new file mode 100644
index 00000000000..398a7e01268
--- /dev/null
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_packages_operations.py
@@ -0,0 +1,388 @@
+# coding=utf-8
+# --------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# --------------------------------------------------------------------------
+from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union
+import warnings
+
+from azure.core.async_paging import AsyncItemPaged, AsyncList
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.pipeline import PipelineResponse
+from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
+from azure.mgmt.core.exceptions import ARMErrorFormat
+
+from ... import models
+
+T = TypeVar('T')
+ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
+
+class MsixPackagesOperations:
+ """MsixPackagesOperations async operations.
+
+ You should not instantiate this class directly. Instead, you should create a Client instance that
+ instantiates it for you and attaches it as an attribute.
+
+ :ivar models: Alias to model classes used in this operation group.
+ :type models: ~desktop_virtualization_api_client.models
+ :param client: Client for service requests.
+ :param config: Configuration of service client.
+ :param serializer: An object model serializer.
+ :param deserializer: An object model deserializer.
+ """
+
+ models = models
+
+ def __init__(self, client, config, serializer, deserializer) -> None:
+ self._client = client
+ self._serialize = serializer
+ self._deserialize = deserializer
+ self._config = config
+
+ async def get(
+ self,
+ resource_group_name: str,
+ host_pool_name: str,
+ msix_package_full_name: str,
+ **kwargs
+ ) -> "models.MsixPackage":
+ """Get a msixpackage.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: MsixPackage, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.MsixPackage
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackage"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.get.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ get.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ async def create_or_update(
+ self,
+ resource_group_name: str,
+ host_pool_name: str,
+ msix_package_full_name: str,
+ msix_package: "models.MsixPackage",
+ **kwargs
+ ) -> "models.MsixPackage":
+ """Create or update a MSIX package.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :param msix_package: Object containing MSIX Package definitions.
+ :type msix_package: ~desktop_virtualization_api_client.models.MsixPackage
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: MsixPackage, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.MsixPackage
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackage"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.create_or_update.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(msix_package, 'MsixPackage')
+ body_content_kwargs['content'] = body_content
+ request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 201]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if response.status_code == 200:
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if response.status_code == 201:
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ async def delete(
+ self,
+ resource_group_name: str,
+ host_pool_name: str,
+ msix_package_full_name: str,
+ **kwargs
+ ) -> None:
+ """Remove an MSIX Package.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: None, or the result of cls(response)
+ :rtype: None
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType[None]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.delete.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.delete(url, query_parameters, header_parameters)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 204]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if cls:
+ return cls(pipeline_response, None, {})
+
+ delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ async def update(
+ self,
+ resource_group_name: str,
+ host_pool_name: str,
+ msix_package_full_name: str,
+ msix_package: Optional["models.MsixPackagePatch"] = None,
+ **kwargs
+ ) -> "models.MsixPackage":
+ """Update an MSIX Package.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :param msix_package: Object containing MSIX Package definitions.
+ :type msix_package: ~desktop_virtualization_api_client.models.MsixPackagePatch
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: MsixPackage, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.MsixPackage
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackage"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.update.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ if msix_package is not None:
+ body_content = self._serialize.body(msix_package, 'MsixPackagePatch')
+ else:
+ body_content = None
+ body_content_kwargs['content'] = body_content
+ request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ update.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ def list(
+ self,
+ resource_group_name: str,
+ host_pool_name: str,
+ **kwargs
+ ) -> AsyncIterable["models.MsixPackageList"]:
+ """List MSIX packages in hostpool.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either MsixPackageList or the result of cls(response)
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~desktop_virtualization_api_client.models.MsixPackageList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackageList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ async def extract_data(pipeline_response):
+ deserialized = self._deserialize('MsixPackageList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, AsyncList(list_of_elem)
+
+ async def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return AsyncItemPaged(
+ get_next, extract_data
+ )
+ list.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_operation_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_operations.py
similarity index 87%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_operation_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_operations.py
index 2cf37ab408a..5668261acc4 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_operation_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_operations.py
@@ -8,7 +8,7 @@
from typing import Any, Callable, Dict, Generic, Optional, TypeVar
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -18,8 +18,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class OperationOperations:
- """OperationOperations async operations.
+class Operations:
+ """Operations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -52,9 +52,12 @@ async def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceProviderOperationList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.list.metadata['url'] # type: ignore
@@ -65,9 +68,8 @@ async def list(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_scaling_plans_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_scaling_plans_operations.py
new file mode 100644
index 00000000000..20ca3a6bd4f
--- /dev/null
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_scaling_plans_operations.py
@@ -0,0 +1,504 @@
+# coding=utf-8
+# --------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# --------------------------------------------------------------------------
+from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union
+import warnings
+
+from azure.core.async_paging import AsyncItemPaged, AsyncList
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.pipeline import PipelineResponse
+from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
+from azure.mgmt.core.exceptions import ARMErrorFormat
+
+from ... import models
+
+T = TypeVar('T')
+ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
+
+class ScalingPlansOperations:
+ """ScalingPlansOperations async operations.
+
+ You should not instantiate this class directly. Instead, you should create a Client instance that
+ instantiates it for you and attaches it as an attribute.
+
+ :ivar models: Alias to model classes used in this operation group.
+ :type models: ~desktop_virtualization_api_client.models
+ :param client: Client for service requests.
+ :param config: Configuration of service client.
+ :param serializer: An object model serializer.
+ :param deserializer: An object model deserializer.
+ """
+
+ models = models
+
+ def __init__(self, client, config, serializer, deserializer) -> None:
+ self._client = client
+ self._serialize = serializer
+ self._deserialize = deserializer
+ self._config = config
+
+ async def get(
+ self,
+ resource_group_name: str,
+ scaling_plan_name: str,
+ **kwargs
+ ) -> "models.ScalingPlan":
+ """Get a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: ScalingPlan, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.ScalingPlan
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlan"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.get.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ async def create(
+ self,
+ resource_group_name: str,
+ scaling_plan_name: str,
+ scaling_plan: "models.ScalingPlan",
+ **kwargs
+ ) -> "models.ScalingPlan":
+ """Create or update a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :param scaling_plan: Object containing scaling plan definitions.
+ :type scaling_plan: ~desktop_virtualization_api_client.models.ScalingPlan
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: ScalingPlan, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.ScalingPlan
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlan"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.create.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(scaling_plan, 'ScalingPlan')
+ body_content_kwargs['content'] = body_content
+ request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 201]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if response.status_code == 200:
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if response.status_code == 201:
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ async def delete(
+ self,
+ resource_group_name: str,
+ scaling_plan_name: str,
+ **kwargs
+ ) -> None:
+ """Remove a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: None, or the result of cls(response)
+ :rtype: None
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType[None]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.delete.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.delete(url, query_parameters, header_parameters)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 204]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if cls:
+ return cls(pipeline_response, None, {})
+
+ delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ async def update(
+ self,
+ resource_group_name: str,
+ scaling_plan_name: str,
+ scaling_plan: Optional["models.ScalingPlanPatch"] = None,
+ **kwargs
+ ) -> "models.ScalingPlan":
+ """Update a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :param scaling_plan: Object containing scaling plan definitions.
+ :type scaling_plan: ~desktop_virtualization_api_client.models.ScalingPlanPatch
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: ScalingPlan, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.ScalingPlan
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlan"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.update.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ if scaling_plan is not None:
+ body_content = self._serialize.body(scaling_plan, 'ScalingPlanPatch')
+ else:
+ body_content = None
+ body_content_kwargs['content'] = body_content
+ request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ def list_by_resource_group(
+ self,
+ resource_group_name: str,
+ **kwargs
+ ) -> AsyncIterable["models.ScalingPlanList"]:
+ """List scaling plans.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either ScalingPlanList or the result of cls(response)
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~desktop_virtualization_api_client.models.ScalingPlanList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlanList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_resource_group.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ async def extract_data(pipeline_response):
+ deserialized = self._deserialize('ScalingPlanList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, AsyncList(list_of_elem)
+
+ async def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return AsyncItemPaged(
+ get_next, extract_data
+ )
+ list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans'} # type: ignore
+
+ def list_by_subscription(
+ self,
+ **kwargs
+ ) -> AsyncIterable["models.ScalingPlanList"]:
+ """List scaling plans in subscription.
+
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either ScalingPlanList or the result of cls(response)
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~desktop_virtualization_api_client.models.ScalingPlanList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlanList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_subscription.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ async def extract_data(pipeline_response):
+ deserialized = self._deserialize('ScalingPlanList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, AsyncList(list_of_elem)
+
+ async def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return AsyncItemPaged(
+ get_next, extract_data
+ )
+ list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/scalingPlans'} # type: ignore
+
+ def list_by_host_pool(
+ self,
+ resource_group_name: str,
+ host_pool_name: str,
+ **kwargs
+ ) -> AsyncIterable["models.ScalingPlanList"]:
+ """List scaling plan associated with hostpool.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either ScalingPlanList or the result of cls(response)
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~desktop_virtualization_api_client.models.ScalingPlanList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlanList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_host_pool.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ async def extract_data(pipeline_response):
+ deserialized = self._deserialize('ScalingPlanList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, AsyncList(list_of_elem)
+
+ async def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return AsyncItemPaged(
+ get_next, extract_data
+ )
+ list_by_host_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/scalingPlans'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_session_host_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_session_hosts_operations.py
similarity index 86%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_session_host_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_session_hosts_operations.py
index a6afd849923..b402f899d5e 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_session_host_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_session_hosts_operations.py
@@ -9,7 +9,7 @@
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class SessionHostOperations:
- """SessionHostOperations async operations.
+class SessionHostsOperations:
+ """SessionHostsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -62,16 +62,19 @@ async def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.SessionHost"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -82,9 +85,8 @@ async def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -125,16 +127,19 @@ async def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -147,8 +152,8 @@ async def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -167,8 +172,7 @@ async def update(
resource_group_name: str,
host_pool_name: str,
session_host_name: str,
- allow_new_session: Optional[bool] = None,
- assigned_user: Optional[str] = None,
+ session_host: Optional["models.SessionHostPatch"] = None,
**kwargs
) -> "models.SessionHost":
"""Update a session host.
@@ -179,29 +183,28 @@ async def update(
:type host_pool_name: str
:param session_host_name: The name of the session host within the specified host pool.
:type session_host_name: str
- :param allow_new_session: Allow a new session.
- :type allow_new_session: bool
- :param assigned_user: User assigned to SessionHost.
- :type assigned_user: str
+ :param session_host: Object containing SessionHost definitions.
+ :type session_host: ~desktop_virtualization_api_client.models.SessionHostPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: SessionHost, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.SessionHost
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.SessionHost"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _session_host = models.SessionHostPatch(allow_new_session=allow_new_session, assigned_user=assigned_user)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -213,17 +216,15 @@ async def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _session_host is not None:
- body_content = self._serialize.body(_session_host, 'SessionHostPatch')
+ if session_host is not None:
+ body_content = self._serialize.body(session_host, 'SessionHostPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -257,33 +258,36 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.SessionHostList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_start_menu_item_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_start_menu_items_operations.py
similarity index 87%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_start_menu_item_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_start_menu_items_operations.py
index 2bd7b9faa4d..9b62e5cedb9 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_start_menu_item_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_start_menu_items_operations.py
@@ -9,7 +9,7 @@
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class StartMenuItemOperations:
- """StartMenuItemOperations async operations.
+class StartMenuItemsOperations:
+ """StartMenuItemsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -59,33 +59,36 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.StartMenuItemList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_user_session_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_user_sessions_operations.py
similarity index 87%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_user_session_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_user_sessions_operations.py
index 1b3fb3c181c..99a0945c709 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_user_session_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_user_sessions_operations.py
@@ -9,7 +9,7 @@
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class UserSessionOperations:
- """UserSessionOperations async operations.
+class UserSessionsOperations:
+ """UserSessionsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -55,7 +55,7 @@ def list_by_host_pool(
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
:param filter: OData filter expression. Valid properties for filtering are userprincipalname
- and sessionstate.
+ and sessionstate.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either UserSessionList or the result of cls(response)
@@ -63,18 +63,25 @@ def list_by_host_pool(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.UserSessionList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_host_pool.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
@@ -83,15 +90,11 @@ def prepare_request(next_link=None):
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
@@ -142,16 +145,19 @@ async def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.UserSession"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -163,9 +169,8 @@ async def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -209,16 +214,19 @@ async def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -232,8 +240,8 @@ async def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -268,18 +276,25 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.UserSessionList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -287,15 +302,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
@@ -346,16 +357,19 @@ async def disconnect(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.disconnect.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -367,8 +381,8 @@ async def disconnect(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -388,8 +402,7 @@ async def send_message(
host_pool_name: str,
session_host_name: str,
user_session_id: str,
- message_title: Optional[str] = None,
- message_body: Optional[str] = None,
+ send_message: Optional["models.SendMessage"] = None,
**kwargs
) -> None:
"""Send a message to a user.
@@ -402,29 +415,28 @@ async def send_message(
:type session_host_name: str
:param user_session_id: The name of the user session within the specified session host.
:type user_session_id: str
- :param message_title: Title of message.
- :type message_title: str
- :param message_body: Body of message.
- :type message_body: str
+ :param send_message: Object containing message includes title and message body.
+ :type send_message: ~desktop_virtualization_api_client.models.SendMessage
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _send_message = models.SendMessage(message_title=message_title, message_body=message_body)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.send_message.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -437,16 +449,15 @@ async def send_message(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _send_message is not None:
- body_content = self._serialize.body(_send_message, 'SendMessage')
+ if send_message is not None:
+ body_content = self._serialize.body(send_message, 'SendMessage')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_workspace_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_workspaces_operations.py
similarity index 82%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_workspace_operations_async.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_workspaces_operations.py
index 9a611f38f55..2c055d19764 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_workspace_operations_async.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_workspaces_operations.py
@@ -5,11 +5,11 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
-from typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar, Union
+from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union
import warnings
from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -19,8 +19,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-class WorkspaceOperations:
- """WorkspaceOperations async operations.
+class WorkspacesOperations:
+ """WorkspacesOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -59,16 +59,19 @@ async def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Workspace"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -78,9 +81,8 @@ async def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -101,11 +103,7 @@ async def create_or_update(
self,
resource_group_name: str,
workspace_name: str,
- location: str,
- tags: Optional[Dict[str, str]] = None,
- description: Optional[str] = None,
- friendly_name: Optional[str] = None,
- application_group_references: Optional[List[str]] = None,
+ workspace: "models.Workspace",
**kwargs
) -> "models.Workspace":
"""Create or update a workspace.
@@ -114,35 +112,28 @@ async def create_or_update(
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
- :param location: The geo-location where the resource lives.
- :type location: str
- :param tags: Resource tags.
- :type tags: dict[str, str]
- :param description: Description of Workspace.
- :type description: str
- :param friendly_name: Friendly name of Workspace.
- :type friendly_name: str
- :param application_group_references: List of applicationGroup resource Ids.
- :type application_group_references: list[str]
+ :param workspace: Object containing Workspace definitions.
+ :type workspace: ~desktop_virtualization_api_client.models.Workspace
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Workspace, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Workspace
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Workspace"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _workspace = models.Workspace(tags=tags, location=location, description=description, friendly_name=friendly_name, application_group_references=application_group_references)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -153,14 +144,12 @@ async def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_workspace, 'Workspace')
+ body_content = self._serialize.body(workspace, 'Workspace')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -168,7 +157,6 @@ async def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('Workspace', pipeline_response)
@@ -199,16 +187,19 @@ async def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -218,8 +209,8 @@ async def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -237,10 +228,7 @@ async def update(
self,
resource_group_name: str,
workspace_name: str,
- tags: Optional[Dict[str, str]] = None,
- description: Optional[str] = None,
- friendly_name: Optional[str] = None,
- application_group_references: Optional[List[str]] = None,
+ workspace: Optional["models.WorkspacePatch"] = None,
**kwargs
) -> "models.Workspace":
"""Update a workspace.
@@ -249,33 +237,28 @@ async def update(
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of Workspace.
- :type description: str
- :param friendly_name: Friendly name of Workspace.
- :type friendly_name: str
- :param application_group_references: List of applicationGroup links.
- :type application_group_references: list[str]
+ :param workspace: Object containing Workspace definitions.
+ :type workspace: ~desktop_virtualization_api_client.models.WorkspacePatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Workspace, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Workspace
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Workspace"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _workspace = models.WorkspacePatch(tags=tags, description=description, friendly_name=friendly_name, application_group_references=application_group_references)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -286,17 +269,15 @@ async def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _workspace is not None:
- body_content = self._serialize.body(_workspace, 'WorkspacePatch')
+ if workspace is not None:
+ body_content = self._serialize.body(workspace, 'WorkspacePatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -327,11 +308,18 @@ def list_by_resource_group(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.WorkspaceList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
@@ -344,15 +332,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
@@ -391,11 +375,18 @@ def list_by_subscription(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.WorkspaceList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_subscription.metadata['url'] # type: ignore
@@ -407,15 +398,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
async def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/__init__.py
deleted file mode 100644
index 8168693886f..00000000000
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/__init__.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-
-from ._operation_operations_async import OperationOperations
-from ._workspace_operations_async import WorkspaceOperations
-from ._application_group_assignment_operations_async import ApplicationGroupAssignmentOperations
-from ._application_group_operations_async import ApplicationGroupOperations
-from ._start_menu_item_operations_async import StartMenuItemOperations
-from ._application_operations_async import ApplicationOperations
-from ._desktop_operations_async import DesktopOperations
-from ._host_pool_operations_async import HostPoolOperations
-from ._user_session_operations_async import UserSessionOperations
-from ._session_host_operations_async import SessionHostOperations
-from ._active_application_operations_async import ActiveApplicationOperations
-
-__all__ = [
- 'OperationOperations',
- 'WorkspaceOperations',
- 'ApplicationGroupAssignmentOperations',
- 'ApplicationGroupOperations',
- 'StartMenuItemOperations',
- 'ApplicationOperations',
- 'DesktopOperations',
- 'HostPoolOperations',
- 'UserSessionOperations',
- 'SessionHostOperations',
- 'ActiveApplicationOperations',
-]
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_group_assignment_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_group_assignment_operations_async.py
deleted file mode 100644
index 3fab60278d4..00000000000
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_group_assignment_operations_async.py
+++ /dev/null
@@ -1,119 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar
-import warnings
-
-from azure.core.async_paging import AsyncItemPaged, AsyncList
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
-from azure.core.pipeline import PipelineResponse
-from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest
-from azure.mgmt.core.exceptions import ARMErrorFormat
-
-from ... import models
-
-T = TypeVar('T')
-ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
-
-class ApplicationGroupAssignmentOperations:
- """ApplicationGroupAssignmentOperations async operations.
-
- You should not instantiate this class directly. Instead, you should create a Client instance that
- instantiates it for you and attaches it as an attribute.
-
- :ivar models: Alias to model classes used in this operation group.
- :type models: ~desktop_virtualization_api_client.models
- :param client: Client for service requests.
- :param config: Configuration of service client.
- :param serializer: An object model serializer.
- :param deserializer: An object model deserializer.
- """
-
- models = models
-
- def __init__(self, client, config, serializer, deserializer) -> None:
- self._client = client
- self._serialize = serializer
- self._deserialize = deserializer
- self._config = config
-
- def workspace_level_list(
- self,
- resource_group_name: str,
- workspace_name: str,
- filter: Optional[str] = None,
- **kwargs
- ) -> AsyncIterable["models.ApplicationGroupList"]:
- """List application group that user can use.
-
- :param resource_group_name: The name of the resource group. The name is case insensitive.
- :type resource_group_name: str
- :param workspace_name: The name of the workspace.
- :type workspace_name: str
- :param filter: OData filter expression. Valid properties for filtering are
- applicationGroupType.
- :type filter: str
- :keyword callable cls: A custom type or function that will be passed the direct response
- :return: An iterator like instance of either ApplicationGroupList or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~desktop_virtualization_api_client.models.ApplicationGroupList]
- :raises: ~azure.core.exceptions.HttpResponseError
- """
- cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroupList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
- error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
-
- def prepare_request(next_link=None):
- if not next_link:
- # Construct URL
- url = self.workspace_level_list.metadata['url'] # type: ignore
- path_format_arguments = {
- 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
- }
- url = self._client.format_url(url, **path_format_arguments)
- # Construct parameters
- query_parameters = {} # type: Dict[str, Any]
- query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
- if filter is not None:
- query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
-
- else:
- url = next_link
- query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
- return request
-
- async def extract_data(pipeline_response):
- deserialized = self._deserialize('ApplicationGroupList', pipeline_response)
- list_of_elem = deserialized.value
- if cls:
- list_of_elem = cls(list_of_elem)
- return deserialized.next_link or None, AsyncList(list_of_elem)
-
- async def get_next(next_link=None):
- request = prepare_request(next_link)
-
- pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
- response = pipeline_response.http_response
-
- if response.status_code not in [200]:
- map_error(status_code=response.status_code, response=response, error_map=error_map)
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
-
- return pipeline_response
-
- return AsyncItemPaged(
- get_next, extract_data
- )
- workspace_level_list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/__init__.py
index b642bd2d7f5..22b524b83e2 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/__init__.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/__init__.py
@@ -13,25 +13,51 @@
from ._models_py3 import ApplicationGroupPatch
from ._models_py3 import ApplicationList
from ._models_py3 import ApplicationPatch
+ from ._models_py3 import CloudErrorProperties
from ._models_py3 import Desktop
from ._models_py3 import DesktopList
from ._models_py3 import DesktopPatch
+ from ._models_py3 import ExpandMsixImage
+ from ._models_py3 import ExpandMsixImageList
from ._models_py3 import HostPool
from ._models_py3 import HostPoolList
from ._models_py3 import HostPoolPatch
+ from ._models_py3 import Identity
+ from ._models_py3 import LogSpecification
+ from ._models_py3 import MigrationRequestProperties
+ from ._models_py3 import MsixImageUri
+ from ._models_py3 import MsixPackage
+ from ._models_py3 import MsixPackageApplications
+ from ._models_py3 import MsixPackageDependencies
+ from ._models_py3 import MsixPackageList
+ from ._models_py3 import MsixPackagePatch
+ from ._models_py3 import OperationProperties
+ from ._models_py3 import Plan
from ._models_py3 import RegistrationInfo
from ._models_py3 import RegistrationInfoPatch
from ._models_py3 import Resource
+ from ._models_py3 import ResourceModelWithAllowedPropertySet
+ from ._models_py3 import ResourceModelWithAllowedPropertySetIdentity
+ from ._models_py3 import ResourceModelWithAllowedPropertySetPlan
+ from ._models_py3 import ResourceModelWithAllowedPropertySetSku
from ._models_py3 import ResourceProviderOperation
from ._models_py3 import ResourceProviderOperationDisplay
from ._models_py3 import ResourceProviderOperationList
+ from ._models_py3 import ScalingHostPoolReference
+ from ._models_py3 import ScalingPlan
+ from ._models_py3 import ScalingPlanList
+ from ._models_py3 import ScalingPlanPatch
+ from ._models_py3 import ScalingSchedule
from ._models_py3 import SendMessage
+ from ._models_py3 import ServiceSpecification
from ._models_py3 import SessionHost
+ from ._models_py3 import SessionHostHealthCheckFailureDetails
+ from ._models_py3 import SessionHostHealthCheckReport
from ._models_py3 import SessionHostList
from ._models_py3 import SessionHostPatch
+ from ._models_py3 import Sku
from ._models_py3 import StartMenuItem
from ._models_py3 import StartMenuItemList
- from ._models_py3 import TrackedResource
from ._models_py3 import UserSession
from ._models_py3 import UserSessionList
from ._models_py3 import Workspace
@@ -44,25 +70,51 @@
from ._models import ApplicationGroupPatch # type: ignore
from ._models import ApplicationList # type: ignore
from ._models import ApplicationPatch # type: ignore
+ from ._models import CloudErrorProperties # type: ignore
from ._models import Desktop # type: ignore
from ._models import DesktopList # type: ignore
from ._models import DesktopPatch # type: ignore
+ from ._models import ExpandMsixImage # type: ignore
+ from ._models import ExpandMsixImageList # type: ignore
from ._models import HostPool # type: ignore
from ._models import HostPoolList # type: ignore
from ._models import HostPoolPatch # type: ignore
+ from ._models import Identity # type: ignore
+ from ._models import LogSpecification # type: ignore
+ from ._models import MigrationRequestProperties # type: ignore
+ from ._models import MsixImageUri # type: ignore
+ from ._models import MsixPackage # type: ignore
+ from ._models import MsixPackageApplications # type: ignore
+ from ._models import MsixPackageDependencies # type: ignore
+ from ._models import MsixPackageList # type: ignore
+ from ._models import MsixPackagePatch # type: ignore
+ from ._models import OperationProperties # type: ignore
+ from ._models import Plan # type: ignore
from ._models import RegistrationInfo # type: ignore
from ._models import RegistrationInfoPatch # type: ignore
from ._models import Resource # type: ignore
+ from ._models import ResourceModelWithAllowedPropertySet # type: ignore
+ from ._models import ResourceModelWithAllowedPropertySetIdentity # type: ignore
+ from ._models import ResourceModelWithAllowedPropertySetPlan # type: ignore
+ from ._models import ResourceModelWithAllowedPropertySetSku # type: ignore
from ._models import ResourceProviderOperation # type: ignore
from ._models import ResourceProviderOperationDisplay # type: ignore
from ._models import ResourceProviderOperationList # type: ignore
+ from ._models import ScalingHostPoolReference # type: ignore
+ from ._models import ScalingPlan # type: ignore
+ from ._models import ScalingPlanList # type: ignore
+ from ._models import ScalingPlanPatch # type: ignore
+ from ._models import ScalingSchedule # type: ignore
from ._models import SendMessage # type: ignore
+ from ._models import ServiceSpecification # type: ignore
from ._models import SessionHost # type: ignore
+ from ._models import SessionHostHealthCheckFailureDetails # type: ignore
+ from ._models import SessionHostHealthCheckReport # type: ignore
from ._models import SessionHostList # type: ignore
from ._models import SessionHostPatch # type: ignore
+ from ._models import Sku # type: ignore
from ._models import StartMenuItem # type: ignore
from ._models import StartMenuItemList # type: ignore
- from ._models import TrackedResource # type: ignore
from ._models import UserSession # type: ignore
from ._models import UserSessionList # type: ignore
from ._models import Workspace # type: ignore
@@ -73,12 +125,22 @@
ApplicationGroupType,
ApplicationType,
CommandLineSetting,
+ HealthCheckName,
+ HealthCheckResult,
HostPoolType,
LoadBalancerType,
+ Operation,
PersonalDesktopAssignmentType,
+ PreferredAppGroupType,
RegistrationTokenOperation,
+ RemoteApplicationType,
+ ScalingScheduleDaysOfWeekItem,
+ SessionHostLoadBalancingAlgorithm,
SessionState,
+ SkuTier,
+ SsoSecretType,
Status,
+ StopHostsWhen,
UpdateState,
)
@@ -89,25 +151,51 @@
'ApplicationGroupPatch',
'ApplicationList',
'ApplicationPatch',
+ 'CloudErrorProperties',
'Desktop',
'DesktopList',
'DesktopPatch',
+ 'ExpandMsixImage',
+ 'ExpandMsixImageList',
'HostPool',
'HostPoolList',
'HostPoolPatch',
+ 'Identity',
+ 'LogSpecification',
+ 'MigrationRequestProperties',
+ 'MsixImageUri',
+ 'MsixPackage',
+ 'MsixPackageApplications',
+ 'MsixPackageDependencies',
+ 'MsixPackageList',
+ 'MsixPackagePatch',
+ 'OperationProperties',
+ 'Plan',
'RegistrationInfo',
'RegistrationInfoPatch',
'Resource',
+ 'ResourceModelWithAllowedPropertySet',
+ 'ResourceModelWithAllowedPropertySetIdentity',
+ 'ResourceModelWithAllowedPropertySetPlan',
+ 'ResourceModelWithAllowedPropertySetSku',
'ResourceProviderOperation',
'ResourceProviderOperationDisplay',
'ResourceProviderOperationList',
+ 'ScalingHostPoolReference',
+ 'ScalingPlan',
+ 'ScalingPlanList',
+ 'ScalingPlanPatch',
+ 'ScalingSchedule',
'SendMessage',
+ 'ServiceSpecification',
'SessionHost',
+ 'SessionHostHealthCheckFailureDetails',
+ 'SessionHostHealthCheckReport',
'SessionHostList',
'SessionHostPatch',
+ 'Sku',
'StartMenuItem',
'StartMenuItemList',
- 'TrackedResource',
'UserSession',
'UserSessionList',
'Workspace',
@@ -116,11 +204,21 @@
'ApplicationGroupType',
'ApplicationType',
'CommandLineSetting',
+ 'HealthCheckName',
+ 'HealthCheckResult',
'HostPoolType',
'LoadBalancerType',
+ 'Operation',
'PersonalDesktopAssignmentType',
+ 'PreferredAppGroupType',
'RegistrationTokenOperation',
+ 'RemoteApplicationType',
+ 'ScalingScheduleDaysOfWeekItem',
+ 'SessionHostLoadBalancingAlgorithm',
'SessionState',
+ 'SkuTier',
+ 'SsoSecretType',
'Status',
+ 'StopHostsWhen',
'UpdateState',
]
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_desktop_virtualization_api_client_enums.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_desktop_virtualization_api_client_enums.py
index f087ff99f72..61a6b2cff2c 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_desktop_virtualization_api_client_enums.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_desktop_virtualization_api_client_enums.py
@@ -6,90 +6,208 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
-from enum import Enum
-
-class ApplicationGroupType(str, Enum):
+from enum import Enum, EnumMeta
+from six import with_metaclass
+
+class _CaseInsensitiveEnumMeta(EnumMeta):
+ def __getitem__(self, name):
+ return super().__getitem__(name.upper())
+
+ def __getattr__(cls, name):
+ """Return the enum member matching `name`
+ We use __getattr__ instead of descriptors or inserting into the enum
+ class' __dict__ in order to support `name` and `value` being both
+ properties for enum members (which live in the class' __dict__) and
+ enum members themselves.
+ """
+ try:
+ return cls._member_map_[name.upper()]
+ except KeyError:
+ raise AttributeError(name)
+
+
+class ApplicationGroupType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Resource Type of ApplicationGroup.
"""
- remote_app = "RemoteApp"
- desktop = "Desktop"
+ REMOTE_APP = "RemoteApp"
+ DESKTOP = "Desktop"
-class ApplicationType(str, Enum):
+class ApplicationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Application type of application.
"""
- remote_app = "RemoteApp"
- desktop = "Desktop"
+ REMOTE_APP = "RemoteApp"
+ DESKTOP = "Desktop"
-class CommandLineSetting(str, Enum):
+class CommandLineSetting(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""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.
"""
- do_not_allow = "DoNotAllow"
- allow = "Allow"
- require = "Require"
+ DO_NOT_ALLOW = "DoNotAllow"
+ ALLOW = "Allow"
+ REQUIRE = "Require"
+
+class HealthCheckName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """Represents the name of the health check operation performed.
+ """
-class HostPoolType(str, Enum):
+ DOMAIN_JOINED_CHECK = "DomainJoinedCheck" #: Verifies the SessionHost is joined to a domain. If this check fails is classified as fatal as no connection can succeed if the SessionHost is not joined to the domain.
+ DOMAIN_TRUST_CHECK = "DomainTrustCheck" #: Verifies the SessionHost is not experiencing domain trust issues that will prevent authentication on SessionHost at connection time when session is created. If this check fails is classified as fatal as no connection can succeed if we cannot reach the domain for authentication on the SessionHost.
+ FS_LOGIX_HEALTH_CHECK = "FSLogixHealthCheck" #: Verifies the FSLogix service is up and running to make sure users' profiles are loaded in the session. If this check fails is classified as fatal as even if the connection can succeed, user experience is bad as the user profile cannot be loaded and user will get a temporary profile in the session.
+ SX_S_STACK_LISTENER_CHECK = "SxSStackListenerCheck" #: Verifies that the SxS stack is up and running so connections can succeed. If this check fails is classified as fatal as no connection can succeed if the SxS stack is not ready.
+ URLS_ACCESSIBLE_CHECK = "UrlsAccessibleCheck" #: Verifies that the required WVD service and Geneva URLs are reachable from the SessionHost. These URLs are: RdTokenUri, RdBrokerURI, RdDiagnosticsUri and storage blob URLs for agent monitoring (geneva). If this check fails, it is non fatal and the machine still can service connections, main issue may be that monitoring agent is unable to store warm path data (logs, operations ...).
+ MONITORING_AGENT_CHECK = "MonitoringAgentCheck" #: Verifies that the required Geneva agent is running. If this check fails, it is non fatal and the machine still can service connections, main issue may be that monitoring agent is missing or running (possibly) older version.
+ DOMAIN_REACHABLE = "DomainReachable" #: Verifies the domain the SessionHost is joined to is still reachable. If this check fails is classified as fatal as no connection can succeed if the domain the SessionHost is joined is not reachable at the time of connection.
+ WEB_RTC_REDIRECTOR_CHECK = "WebRTCRedirectorCheck" #: Verifies whether the WebRTCRedirector component is healthy. The WebRTCRedirector component is used to optimize video and audio performance in Microsoft Teams. This checks whether the component is still running, and whether there is a higher version available. If this check fails, it is non fatal and the machine still can service connections, main issue may be the WebRTCRedirector component has to be restarted or updated.
+ SUPPORTED_ENCRYPTION_CHECK = "SupportedEncryptionCheck" #: Verifies the value of SecurityLayer registration key. If the value is 0 (SecurityLayer.RDP) this check fails with Error code = NativeMethodErrorCode.E_FAIL and is fatal. If the value is 1 (SecurityLayer.Negotiate) this check fails with Error code = NativeMethodErrorCode.ERROR_SUCCESS and is non fatal.
+ META_DATA_SERVICE_CHECK = "MetaDataServiceCheck" #: Verifies the metadata service is accessible and return compute properties.
+ APP_ATTACH_HEALTH_CHECK = "AppAttachHealthCheck" #: Verifies that the AppAttachService is healthy (there were no issues during package staging). The AppAttachService is used to enable the staging/registration (and eventual deregistration/destaging) of MSIX apps that have been set up by the tenant admin. This checks whether the component had any failures during package staging. Failures in staging will prevent some MSIX apps from working properly for the end user. If this check fails, it is non fatal and the machine still can service connections, main issue may be certain apps will not work for end-users.
+
+class HealthCheckResult(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """Represents the Health state of the health check we performed.
+ """
+
+ UNKNOWN = "Unknown" #: Health check result is not currently known.
+ HEALTH_CHECK_SUCCEEDED = "HealthCheckSucceeded" #: Health check passed.
+ HEALTH_CHECK_FAILED = "HealthCheckFailed" #: Health check failed.
+ SESSION_HOST_SHUTDOWN = "SessionHostShutdown" #: We received a Shutdown notification.
+
+class HostPoolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""HostPool type for desktop.
"""
- personal = "Personal"
- pooled = "Pooled"
+ PERSONAL = "Personal" #: Users will be assigned a SessionHost either by administrators (PersonalDesktopAssignmentType = Direct) or upon connecting to the pool (PersonalDesktopAssignmentType = Automatic). They will always be redirected to their assigned SessionHost.
+ POOLED = "Pooled" #: Users get a new (random) SessionHost every time it connects to the HostPool.
+ BYO_DESKTOP = "BYODesktop" #: Users assign their own machines, load balancing logic remains the same as Personal. PersonalDesktopAssignmentType must be Direct.
-class LoadBalancerType(str, Enum):
+class LoadBalancerType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The type of the load balancer.
"""
- breadth_first = "BreadthFirst"
- depth_first = "DepthFirst"
- persistent = "Persistent"
+ BREADTH_FIRST = "BreadthFirst"
+ DEPTH_FIRST = "DepthFirst"
+ PERSISTENT = "Persistent"
+
+class Operation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """The type of operation for migration.
+ """
+
+ START = "Start" #: Start the migration.
+ REVOKE = "Revoke" #: Revoke the migration.
+ COMPLETE = "Complete" #: Complete the migration.
+ HIDE = "Hide" #: Hide the hostpool.
+ UNHIDE = "Unhide" #: Unhide the hostpool.
-class PersonalDesktopAssignmentType(str, Enum):
+class PersonalDesktopAssignmentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""PersonalDesktopAssignment type for HostPool.
"""
- automatic = "Automatic"
- direct = "Direct"
+ AUTOMATIC = "Automatic"
+ DIRECT = "Direct"
+
+class PreferredAppGroupType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """The type of preferred application group type, default to Desktop Application Group
+ """
-class RegistrationTokenOperation(str, Enum):
+ NONE = "None"
+ DESKTOP = "Desktop"
+ RAIL_APPLICATIONS = "RailApplications"
+
+class RegistrationTokenOperation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""The type of resetting the token.
"""
- delete = "Delete"
- none = "None"
- update = "Update"
+ DELETE = "Delete"
+ NONE = "None"
+ UPDATE = "Update"
+
+class RemoteApplicationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """Resource Type of Application.
+ """
+
+ IN_BUILT = "InBuilt"
+ MSIX_APPLICATION = "MsixApplication"
+
+class ScalingScheduleDaysOfWeekItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
-class SessionState(str, Enum):
+ SUNDAY = "Sunday"
+ MONDAY = "Monday"
+ TUESDAY = "Tuesday"
+ WEDNESDAY = "Wednesday"
+ THURSDAY = "Thursday"
+ FRIDAY = "Friday"
+ SATURDAY = "Saturday"
+
+class SessionHostLoadBalancingAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """Load balancing algorithm for ramp up period.
+ """
+
+ BREADTH_FIRST = "BreadthFirst"
+ DEPTH_FIRST = "DepthFirst"
+
+class SessionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""State of user session.
"""
- unknown = "Unknown"
- active = "Active"
- disconnected = "Disconnected"
- pending = "Pending"
- log_off = "LogOff"
- user_profile_disk_mounted = "UserProfileDiskMounted"
+ UNKNOWN = "Unknown"
+ ACTIVE = "Active"
+ DISCONNECTED = "Disconnected"
+ PENDING = "Pending"
+ LOG_OFF = "LogOff"
+ USER_PROFILE_DISK_MOUNTED = "UserProfileDiskMounted"
+
+class SkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """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.
+ """
+
+ FREE = "Free"
+ BASIC = "Basic"
+ STANDARD = "Standard"
+ PREMIUM = "Premium"
+
+class SsoSecretType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """The type of single sign on Secret Type.
+ """
-class Status(str, Enum):
+ SHARED_KEY = "SharedKey"
+ CERTIFICATE = "Certificate"
+ SHARED_KEY_IN_KEY_VAULT = "SharedKeyInKeyVault"
+ CERTIFICATE_IN_KEY_VAULT = "CertificateInKeyVault"
+
+class Status(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Status for a SessionHost.
"""
- available = "Available"
- unavailable = "Unavailable"
- shutdown = "Shutdown"
- disconnected = "Disconnected"
- upgrading = "Upgrading"
- upgrade_failed = "UpgradeFailed"
+ AVAILABLE = "Available" #: Session Host has passed all the health checks and is available to handle connections.
+ UNAVAILABLE = "Unavailable" #: Session Host is either turned off or has failed critical health checks which is causing service not to be able to route connections to this session host. Note this replaces previous 'NoHeartBeat' status.
+ SHUTDOWN = "Shutdown" #: Session Host is shutdown - RD Agent reported session host to be stopped or deallocated.
+ DISCONNECTED = "Disconnected" #: The Session Host is unavailable because it is currently disconnected.
+ UPGRADING = "Upgrading" #: Session Host is unavailable because currently an upgrade of RDAgent/side-by-side stack is in progress. Note: this state will be removed once the upgrade completes and the host is able to accept connections.
+ UPGRADE_FAILED = "UpgradeFailed" #: Session Host is unavailable because the critical component upgrade (agent, side-by-side stack, etc.) failed.
+ NO_HEARTBEAT = "NoHeartbeat" #: The Session Host is not heart beating.
+ NOT_JOINED_TO_DOMAIN = "NotJoinedToDomain" #: SessionHost is not joined to domain.
+ DOMAIN_TRUST_RELATIONSHIP_LOST = "DomainTrustRelationshipLost" #: SessionHost's domain trust relationship lost.
+ SX_S_STACK_LISTENER_NOT_READY = "SxSStackListenerNotReady" #: SxS stack installed on the SessionHost is not ready to receive connections.
+ FS_LOGIX_NOT_HEALTHY = "FSLogixNotHealthy" #: FSLogix is in an unhealthy state on the session host.
+ NEEDS_ASSISTANCE = "NeedsAssistance" #: New status to inform admins that the health on their endpoint needs to be fixed. The connections might not fail, as these issues are not fatal.
+
+class StopHostsWhen(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
+ """Specifies when to stop hosts during ramp down period.
+ """
+
+ ZERO_SESSIONS = "ZeroSessions"
+ ZERO_ACTIVE_SESSIONS = "ZeroActiveSessions"
-class UpdateState(str, Enum):
+class UpdateState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Update state of a SessionHost.
"""
- initial = "Initial"
- pending = "Pending"
- started = "Started"
- succeeded = "Succeeded"
- failed = "Failed"
+ INITIAL = "Initial"
+ PENDING = "Pending"
+ STARTED = "Started"
+ SUCCEEDED = "Succeeded"
+ FAILED = "Failed"
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models.py
index bea5d4e283b..0791145c654 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models.py
@@ -10,17 +10,17 @@
class Resource(msrest.serialization.Model):
- """Resource.
+ """Common fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
"""
@@ -53,20 +53,29 @@ class Application(Resource):
All required parameters must be populated in order to send to Azure.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :ivar object_id: ObjectId of Application. (internal use).
+ :vartype object_id: str
:param description: Description of Application.
:type description: str
:param friendly_name: Friendly name of Application.
:type friendly_name: str
:param file_path: Specifies a path for the executable file for the application.
:type file_path: str
+ :param msix_package_family_name: Specifies the package family name for MSIX applications.
+ :type msix_package_family_name: str
+ :param msix_package_application_id: Specifies the package application Id for MSIX applications.
+ :type msix_package_application_id: str
+ :param application_type: Resource Type of Application. Possible values include: "InBuilt",
+ "MsixApplication".
+ :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType
:param command_line_setting: Required. 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. Possible values include: "DoNotAllow",
@@ -91,6 +100,7 @@ class Application(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
+ 'object_id': {'readonly': True},
'command_line_setting': {'required': True},
'icon_hash': {'readonly': True},
'icon_content': {'readonly': True},
@@ -100,9 +110,13 @@ class Application(Resource):
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'file_path': {'key': 'properties.filePath', 'type': 'str'},
+ 'msix_package_family_name': {'key': 'properties.msixPackageFamilyName', 'type': 'str'},
+ 'msix_package_application_id': {'key': 'properties.msixPackageApplicationId', 'type': 'str'},
+ 'application_type': {'key': 'properties.applicationType', 'type': 'str'},
'command_line_setting': {'key': 'properties.commandLineSetting', 'type': 'str'},
'command_line_arguments': {'key': 'properties.commandLineArguments', 'type': 'str'},
'show_in_portal': {'key': 'properties.showInPortal', 'type': 'bool'},
@@ -117,9 +131,13 @@ def __init__(
**kwargs
):
super(Application, self).__init__(**kwargs)
+ self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.file_path = kwargs.get('file_path', None)
+ self.msix_package_family_name = kwargs.get('msix_package_family_name', None)
+ self.msix_package_application_id = kwargs.get('msix_package_application_id', None)
+ self.application_type = kwargs.get('application_type', None)
self.command_line_setting = kwargs['command_line_setting']
self.command_line_arguments = kwargs.get('command_line_arguments', None)
self.show_in_portal = kwargs.get('show_in_portal', None)
@@ -129,70 +147,128 @@ def __init__(
self.icon_content = None
-class TrackedResource(Resource):
- """The resource model definition for a ARM tracked top level resource.
+class ResourceModelWithAllowedPropertySet(msrest.serialization.Model):
+ """The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.
Variables are only populated by the server, and will be ignored when sending a request.
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
}
def __init__(
self,
**kwargs
):
- super(TrackedResource, self).__init__(**kwargs)
+ super(ResourceModelWithAllowedPropertySet, self).__init__(**kwargs)
+ self.id = None
+ self.name = None
+ self.type = None
+ self.location = kwargs.get('location', None)
+ self.managed_by = kwargs.get('managed_by', None)
+ self.kind = kwargs.get('kind', None)
+ self.etag = None
self.tags = kwargs.get('tags', None)
- self.location = kwargs['location']
+ self.identity = kwargs.get('identity', None)
+ self.sku = kwargs.get('sku', None)
+ self.plan = kwargs.get('plan', None)
-class ApplicationGroup(TrackedResource):
+class ApplicationGroup(ResourceModelWithAllowedPropertySet):
"""Represents a ApplicationGroup definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of ApplicationGroup. (internal use).
+ :vartype object_id: str
:param description: Description of ApplicationGroup.
:type description: str
:param friendly_name: Friendly name of ApplicationGroup.
@@ -205,29 +281,45 @@ class ApplicationGroup(TrackedResource):
include: "RemoteApp", "Desktop".
:type application_group_type: str or
~desktop_virtualization_api_client.models.ApplicationGroupType
+ :param migration_request: The registration info of HostPool.
+ :type migration_request: ~desktop_virtualization_api_client.models.MigrationRequestProperties
+ :ivar cloud_pc_resource: Is cloud pc resource.
+ :vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
'host_pool_arm_path': {'required': True},
'workspace_arm_path': {'readonly': True},
'application_group_type': {'required': True},
+ 'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'host_pool_arm_path': {'key': 'properties.hostPoolArmPath', 'type': 'str'},
'workspace_arm_path': {'key': 'properties.workspaceArmPath', 'type': 'str'},
'application_group_type': {'key': 'properties.applicationGroupType', 'type': 'str'},
+ 'migration_request': {'key': 'properties.migrationRequest', 'type': 'MigrationRequestProperties'},
+ 'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
@@ -235,11 +327,14 @@ def __init__(
**kwargs
):
super(ApplicationGroup, self).__init__(**kwargs)
+ self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.host_pool_arm_path = kwargs['host_pool_arm_path']
self.workspace_arm_path = None
self.application_group_type = kwargs['application_group_type']
+ self.migration_request = kwargs.get('migration_request', None)
+ self.cloud_pc_resource = None
class ApplicationGroupList(msrest.serialization.Model):
@@ -276,13 +371,13 @@ class ApplicationGroupPatch(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
@@ -371,6 +466,13 @@ class ApplicationPatch(msrest.serialization.Model):
:type icon_path: str
:param icon_index: Index of the icon.
:type icon_index: int
+ :param msix_package_family_name: Specifies the package family name for MSIX applications.
+ :type msix_package_family_name: str
+ :param msix_package_application_id: Specifies the package application Id for MSIX applications.
+ :type msix_package_application_id: str
+ :param application_type: Resource Type of Application. Possible values include: "InBuilt",
+ "MsixApplication".
+ :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType
"""
_attribute_map = {
@@ -383,6 +485,9 @@ class ApplicationPatch(msrest.serialization.Model):
'show_in_portal': {'key': 'properties.showInPortal', 'type': 'bool'},
'icon_path': {'key': 'properties.iconPath', 'type': 'str'},
'icon_index': {'key': 'properties.iconIndex', 'type': 'int'},
+ 'msix_package_family_name': {'key': 'properties.msixPackageFamilyName', 'type': 'str'},
+ 'msix_package_application_id': {'key': 'properties.msixPackageApplicationId', 'type': 'str'},
+ 'application_type': {'key': 'properties.applicationType', 'type': 'str'},
}
def __init__(
@@ -399,6 +504,32 @@ def __init__(
self.show_in_portal = kwargs.get('show_in_portal', None)
self.icon_path = kwargs.get('icon_path', None)
self.icon_index = kwargs.get('icon_index', None)
+ self.msix_package_family_name = kwargs.get('msix_package_family_name', None)
+ self.msix_package_application_id = kwargs.get('msix_package_application_id', None)
+ self.application_type = kwargs.get('application_type', None)
+
+
+class CloudErrorProperties(msrest.serialization.Model):
+ """CloudErrorProperties.
+
+ :param code: Error code.
+ :type code: str
+ :param message: Error message indicating why the operation failed.
+ :type message: str
+ """
+
+ _attribute_map = {
+ 'code': {'key': 'code', 'type': 'str'},
+ 'message': {'key': 'message', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(CloudErrorProperties, self).__init__(**kwargs)
+ self.code = kwargs.get('code', None)
+ self.message = kwargs.get('message', None)
class Desktop(Resource):
@@ -406,14 +537,16 @@ class Desktop(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :ivar object_id: ObjectId of Desktop. (internal use).
+ :vartype object_id: str
:param description: Description of Desktop.
:type description: str
:param friendly_name: Friendly name of Desktop.
@@ -428,6 +561,7 @@ class Desktop(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
+ 'object_id': {'readonly': True},
'icon_hash': {'readonly': True},
'icon_content': {'readonly': True},
}
@@ -436,6 +570,7 @@ class Desktop(Resource):
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'icon_hash': {'key': 'properties.iconHash', 'type': 'str'},
@@ -447,6 +582,7 @@ def __init__(
**kwargs
):
super(Desktop, self).__init__(**kwargs)
+ self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.icon_hash = None
@@ -509,34 +645,175 @@ def __init__(
self.friendly_name = kwargs.get('friendly_name', None)
-class HostPool(TrackedResource):
+class ExpandMsixImage(Resource):
+ """Represents the definition of contents retrieved after expanding the MSIX Image.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :param package_alias: Alias of MSIX Package.
+ :type package_alias: str
+ :param image_path: VHD/CIM image path on Network Share.
+ :type image_path: str
+ :param package_name: Package Name from appxmanifest.xml.
+ :type package_name: str
+ :param package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name
+ and Publisher name.
+ :type package_family_name: str
+ :param package_full_name: Package Full Name from appxmanifest.xml.
+ :type package_full_name: str
+ :param display_name: User friendly Name to be displayed in the portal.
+ :type display_name: str
+ :param package_relative_path: Relative Path to the package inside the image.
+ :type package_relative_path: str
+ :param is_regular_registration: Specifies how to register Package in feed.
+ :type is_regular_registration: bool
+ :param is_active: Make this version of the package the active one across the hostpool.
+ :type is_active: bool
+ :param package_dependencies: List of package dependencies.
+ :type package_dependencies:
+ list[~desktop_virtualization_api_client.models.MsixPackageDependencies]
+ :param version: Package Version found in the appxmanifest.xml.
+ :type version: str
+ :param last_updated: Date Package was last updated, found in the appxmanifest.xml.
+ :type last_updated: ~datetime.datetime
+ :param package_applications: List of package applications.
+ :type package_applications:
+ list[~desktop_virtualization_api_client.models.MsixPackageApplications]
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'package_alias': {'key': 'properties.packageAlias', 'type': 'str'},
+ 'image_path': {'key': 'properties.imagePath', 'type': 'str'},
+ 'package_name': {'key': 'properties.packageName', 'type': 'str'},
+ 'package_family_name': {'key': 'properties.packageFamilyName', 'type': 'str'},
+ 'package_full_name': {'key': 'properties.packageFullName', 'type': 'str'},
+ 'display_name': {'key': 'properties.displayName', 'type': 'str'},
+ 'package_relative_path': {'key': 'properties.packageRelativePath', 'type': 'str'},
+ 'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
+ 'is_active': {'key': 'properties.isActive', 'type': 'bool'},
+ 'package_dependencies': {'key': 'properties.packageDependencies', 'type': '[MsixPackageDependencies]'},
+ 'version': {'key': 'properties.version', 'type': 'str'},
+ 'last_updated': {'key': 'properties.lastUpdated', 'type': 'iso-8601'},
+ 'package_applications': {'key': 'properties.packageApplications', 'type': '[MsixPackageApplications]'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ExpandMsixImage, self).__init__(**kwargs)
+ self.package_alias = kwargs.get('package_alias', None)
+ self.image_path = kwargs.get('image_path', None)
+ self.package_name = kwargs.get('package_name', None)
+ self.package_family_name = kwargs.get('package_family_name', None)
+ self.package_full_name = kwargs.get('package_full_name', None)
+ self.display_name = kwargs.get('display_name', None)
+ self.package_relative_path = kwargs.get('package_relative_path', None)
+ self.is_regular_registration = kwargs.get('is_regular_registration', None)
+ self.is_active = kwargs.get('is_active', None)
+ self.package_dependencies = kwargs.get('package_dependencies', None)
+ self.version = kwargs.get('version', None)
+ self.last_updated = kwargs.get('last_updated', None)
+ self.package_applications = kwargs.get('package_applications', None)
+
+
+class ExpandMsixImageList(msrest.serialization.Model):
+ """List of MSIX package properties retrieved from MSIX Image expansion.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :param value: List of MSIX package properties from give MSIX Image.
+ :type value: list[~desktop_virtualization_api_client.models.ExpandMsixImage]
+ :ivar next_link: Link to the next page of results.
+ :vartype next_link: str
+ """
+
+ _validation = {
+ 'next_link': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'value': {'key': 'value', 'type': '[ExpandMsixImage]'},
+ 'next_link': {'key': 'nextLink', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ExpandMsixImageList, self).__init__(**kwargs)
+ self.value = kwargs.get('value', None)
+ self.next_link = None
+
+
+class HostPool(ResourceModelWithAllowedPropertySet):
"""Represents a HostPool definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of HostPool. (internal use).
+ :vartype object_id: str
:param friendly_name: Friendly name of HostPool.
:type friendly_name: str
:param description: Description of HostPool.
:type description: str
:param host_pool_type: Required. HostPool type for desktop. Possible values include:
- "Personal", "Pooled".
+ "Personal", "Pooled", "BYODesktop".
:type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
- :param personal_desktop_assignment_type: Required. PersonalDesktopAssignment type for HostPool.
- Possible values include: "Automatic", "Direct".
+ :param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. Possible
+ values include: "Automatic", "Direct".
:type personal_desktop_assignment_type: str or
~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
:param custom_rdp_property: Custom rdp property of HostPool.
@@ -556,27 +833,57 @@ class HostPool(TrackedResource):
:type vm_template: str
:ivar application_group_references: List of applicationGroup links.
:vartype application_group_references: list[str]
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates.
+ :type ssoadfs_authority: str
+ :param sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO
+ certificates.
+ :type sso_client_id: str
+ :param sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for
+ communication to ADFS.
+ :type sso_client_secret_key_vault_path: str
+ :param sso_secret_type: The type of single sign on Secret Type. Possible values include:
+ "SharedKey", "Certificate", "SharedKeyInKeyVault", "CertificateInKeyVault".
+ :type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType
+ :param preferred_app_group_type: Required. The type of preferred application group type,
+ default to Desktop Application Group. Possible values include: "None", "Desktop",
+ "RailApplications".
+ :type preferred_app_group_type: str or
+ ~desktop_virtualization_api_client.models.PreferredAppGroupType
+ :param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature.
+ :type start_vm_on_connect: bool
+ :param migration_request: The registration info of HostPool.
+ :type migration_request: ~desktop_virtualization_api_client.models.MigrationRequestProperties
+ :ivar cloud_pc_resource: Is cloud pc resource.
+ :vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
'host_pool_type': {'required': True},
- 'personal_desktop_assignment_type': {'required': True},
'load_balancer_type': {'required': True},
'application_group_references': {'readonly': True},
+ 'preferred_app_group_type': {'required': True},
+ 'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
@@ -589,7 +896,14 @@ class HostPool(TrackedResource):
'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfo'},
'vm_template': {'key': 'properties.vmTemplate', 'type': 'str'},
'application_group_references': {'key': 'properties.applicationGroupReferences', 'type': '[str]'},
- 'sso_context': {'key': 'properties.ssoContext', 'type': 'str'},
+ 'ssoadfs_authority': {'key': 'properties.ssoadfsAuthority', 'type': 'str'},
+ 'sso_client_id': {'key': 'properties.ssoClientId', 'type': 'str'},
+ 'sso_client_secret_key_vault_path': {'key': 'properties.ssoClientSecretKeyVaultPath', 'type': 'str'},
+ 'sso_secret_type': {'key': 'properties.ssoSecretType', 'type': 'str'},
+ 'preferred_app_group_type': {'key': 'properties.preferredAppGroupType', 'type': 'str'},
+ 'start_vm_on_connect': {'key': 'properties.startVMOnConnect', 'type': 'bool'},
+ 'migration_request': {'key': 'properties.migrationRequest', 'type': 'MigrationRequestProperties'},
+ 'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
@@ -597,10 +911,11 @@ def __init__(
**kwargs
):
super(HostPool, self).__init__(**kwargs)
+ self.object_id = None
self.friendly_name = kwargs.get('friendly_name', None)
self.description = kwargs.get('description', None)
self.host_pool_type = kwargs['host_pool_type']
- self.personal_desktop_assignment_type = kwargs['personal_desktop_assignment_type']
+ self.personal_desktop_assignment_type = kwargs.get('personal_desktop_assignment_type', None)
self.custom_rdp_property = kwargs.get('custom_rdp_property', None)
self.max_session_limit = kwargs.get('max_session_limit', None)
self.load_balancer_type = kwargs['load_balancer_type']
@@ -609,7 +924,14 @@ def __init__(
self.registration_info = kwargs.get('registration_info', None)
self.vm_template = kwargs.get('vm_template', None)
self.application_group_references = None
- self.sso_context = kwargs.get('sso_context', None)
+ self.ssoadfs_authority = kwargs.get('ssoadfs_authority', None)
+ self.sso_client_id = kwargs.get('sso_client_id', None)
+ self.sso_client_secret_key_vault_path = kwargs.get('sso_client_secret_key_vault_path', None)
+ self.sso_secret_type = kwargs.get('sso_secret_type', None)
+ self.preferred_app_group_type = kwargs['preferred_app_group_type']
+ self.start_vm_on_connect = kwargs.get('start_vm_on_connect', None)
+ self.migration_request = kwargs.get('migration_request', None)
+ self.cloud_pc_resource = None
class HostPoolList(msrest.serialization.Model):
@@ -646,13 +968,13 @@ class HostPoolPatch(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
@@ -677,8 +999,25 @@ class HostPoolPatch(Resource):
:type validation_environment: bool
:param registration_info: The registration info of HostPool.
:type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfoPatch
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param vm_template: VM template for sessionhosts configuration within hostpool.
+ :type vm_template: str
+ :param ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates.
+ :type ssoadfs_authority: str
+ :param sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO
+ certificates.
+ :type sso_client_id: str
+ :param sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for
+ communication to ADFS.
+ :type sso_client_secret_key_vault_path: str
+ :param sso_secret_type: The type of single sign on Secret Type. Possible values include:
+ "SharedKey", "Certificate", "SharedKeyInKeyVault", "CertificateInKeyVault".
+ :type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType
+ :param preferred_app_group_type: The type of preferred application group type, default to
+ Desktop Application Group. Possible values include: "None", "Desktop", "RailApplications".
+ :type preferred_app_group_type: str or
+ ~desktop_virtualization_api_client.models.PreferredAppGroupType
+ :param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature.
+ :type start_vm_on_connect: bool
"""
_validation = {
@@ -701,7 +1040,13 @@ class HostPoolPatch(Resource):
'ring': {'key': 'properties.ring', 'type': 'int'},
'validation_environment': {'key': 'properties.validationEnvironment', 'type': 'bool'},
'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfoPatch'},
- 'sso_context': {'key': 'properties.ssoContext', 'type': 'str'},
+ 'vm_template': {'key': 'properties.vmTemplate', 'type': 'str'},
+ 'ssoadfs_authority': {'key': 'properties.ssoadfsAuthority', 'type': 'str'},
+ 'sso_client_id': {'key': 'properties.ssoClientId', 'type': 'str'},
+ 'sso_client_secret_key_vault_path': {'key': 'properties.ssoClientSecretKeyVaultPath', 'type': 'str'},
+ 'sso_secret_type': {'key': 'properties.ssoSecretType', 'type': 'str'},
+ 'preferred_app_group_type': {'key': 'properties.preferredAppGroupType', 'type': 'str'},
+ 'start_vm_on_connect': {'key': 'properties.startVMOnConnect', 'type': 'bool'},
}
def __init__(
@@ -719,216 +1064,1137 @@ def __init__(
self.ring = kwargs.get('ring', None)
self.validation_environment = kwargs.get('validation_environment', None)
self.registration_info = kwargs.get('registration_info', None)
- self.sso_context = kwargs.get('sso_context', None)
+ self.vm_template = kwargs.get('vm_template', None)
+ self.ssoadfs_authority = kwargs.get('ssoadfs_authority', None)
+ self.sso_client_id = kwargs.get('sso_client_id', None)
+ self.sso_client_secret_key_vault_path = kwargs.get('sso_client_secret_key_vault_path', None)
+ self.sso_secret_type = kwargs.get('sso_secret_type', None)
+ self.preferred_app_group_type = kwargs.get('preferred_app_group_type', None)
+ self.start_vm_on_connect = kwargs.get('start_vm_on_connect', None)
-class RegistrationInfo(msrest.serialization.Model):
- """Represents a RegistrationInfo definition.
+class Identity(msrest.serialization.Model):
+ """Identity for the resource.
- :param expiration_time: Expiration time of registration token.
- :type expiration_time: ~datetime.datetime
- :param token: The registration token base64 encoded string.
- :type token: str
- :param registration_token_operation: The type of resetting the token. Possible values include:
- "Delete", "None", "Update".
- :type registration_token_operation: str or
- ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar principal_id: The principal ID of resource identity.
+ :vartype principal_id: str
+ :ivar tenant_id: The tenant ID of resource.
+ :vartype tenant_id: str
+ :ivar type: The identity type. Default value: "SystemAssigned".
+ :vartype type: str
"""
+ _validation = {
+ 'principal_id': {'readonly': True},
+ 'tenant_id': {'readonly': True},
+ 'type': {'constant': True},
+ }
+
_attribute_map = {
- 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
- 'token': {'key': 'token', 'type': 'str'},
- 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ 'principal_id': {'key': 'principalId', 'type': 'str'},
+ 'tenant_id': {'key': 'tenantId', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
}
+ type = "SystemAssigned"
+
def __init__(
self,
**kwargs
):
- super(RegistrationInfo, self).__init__(**kwargs)
- self.expiration_time = kwargs.get('expiration_time', None)
- self.token = kwargs.get('token', None)
- self.registration_token_operation = kwargs.get('registration_token_operation', None)
+ super(Identity, self).__init__(**kwargs)
+ self.principal_id = None
+ self.tenant_id = None
-class RegistrationInfoPatch(msrest.serialization.Model):
- """Represents a RegistrationInfo definition.
+class LogSpecification(msrest.serialization.Model):
+ """Specifications of the Log for Azure Monitoring.
- :param expiration_time: Expiration time of registration token.
- :type expiration_time: ~datetime.datetime
- :param registration_token_operation: The type of resetting the token. Possible values include:
- "Delete", "None", "Update".
- :type registration_token_operation: str or
- ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ :param name: Name of the log.
+ :type name: str
+ :param display_name: Localized friendly display name of the log.
+ :type display_name: str
+ :param blob_duration: Blob duration of the log.
+ :type blob_duration: str
"""
_attribute_map = {
- 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
- 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'display_name': {'key': 'displayName', 'type': 'str'},
+ 'blob_duration': {'key': 'blobDuration', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
- super(RegistrationInfoPatch, self).__init__(**kwargs)
- self.expiration_time = kwargs.get('expiration_time', None)
- self.registration_token_operation = kwargs.get('registration_token_operation', None)
+ super(LogSpecification, self).__init__(**kwargs)
+ self.name = kwargs.get('name', None)
+ self.display_name = kwargs.get('display_name', None)
+ self.blob_duration = kwargs.get('blob_duration', None)
-class ResourceProviderOperation(msrest.serialization.Model):
- """Supported operation of this resource provider.
+class MigrationRequestProperties(msrest.serialization.Model):
+ """Properties for arm migration.
- :param name: Operation name, in format of {provider}/{resource}/{operation}.
- :type name: str
- :param display: Display metadata associated with the operation.
- :type display: ~desktop_virtualization_api_client.models.ResourceProviderOperationDisplay
+ :param operation: The type of operation for migration. Possible values include: "Start",
+ "Revoke", "Complete", "Hide", "Unhide".
+ :type operation: str or ~desktop_virtualization_api_client.models.Operation
+ :param migration_path: The path to the legacy object to migrate.
+ :type migration_path: str
"""
_attribute_map = {
- 'name': {'key': 'name', 'type': 'str'},
- 'display': {'key': 'display', 'type': 'ResourceProviderOperationDisplay'},
+ 'operation': {'key': 'operation', 'type': 'str'},
+ 'migration_path': {'key': 'migrationPath', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
- super(ResourceProviderOperation, self).__init__(**kwargs)
- self.name = kwargs.get('name', None)
- self.display = kwargs.get('display', None)
+ super(MigrationRequestProperties, self).__init__(**kwargs)
+ self.operation = kwargs.get('operation', None)
+ self.migration_path = kwargs.get('migration_path', None)
-class ResourceProviderOperationDisplay(msrest.serialization.Model):
- """Display metadata associated with the operation.
+class MsixImageUri(msrest.serialization.Model):
+ """Represents URI referring to MSIX Image.
- :param provider: Resource provider: Microsoft Desktop Virtualization.
- :type provider: str
- :param resource: Resource on which the operation is performed.
- :type resource: str
- :param operation: Type of operation: get, read, delete, etc.
- :type operation: str
- :param description: Description of this operation.
+ :param uri: URI to Image.
+ :type uri: str
+ """
+
+ _attribute_map = {
+ 'uri': {'key': 'uri', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(MsixImageUri, self).__init__(**kwargs)
+ self.uri = kwargs.get('uri', None)
+
+
+class MsixPackage(Resource):
+ """Schema for MSIX Package properties.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :param image_path: VHD/CIM image path on Network Share.
+ :type image_path: str
+ :param package_name: Package Name from appxmanifest.xml.
+ :type package_name: str
+ :param package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name
+ and Publisher name.
+ :type package_family_name: str
+ :param display_name: User friendly Name to be displayed in the portal.
+ :type display_name: str
+ :param package_relative_path: Relative Path to the package inside the image.
+ :type package_relative_path: str
+ :param is_regular_registration: Specifies how to register Package in feed.
+ :type is_regular_registration: bool
+ :param is_active: Make this version of the package the active one across the hostpool.
+ :type is_active: bool
+ :param package_dependencies: List of package dependencies.
+ :type package_dependencies:
+ list[~desktop_virtualization_api_client.models.MsixPackageDependencies]
+ :param version: Package Version found in the appxmanifest.xml.
+ :type version: str
+ :param last_updated: Date Package was last updated, found in the appxmanifest.xml.
+ :type last_updated: ~datetime.datetime
+ :param package_applications: List of package applications.
+ :type package_applications:
+ list[~desktop_virtualization_api_client.models.MsixPackageApplications]
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'image_path': {'key': 'properties.imagePath', 'type': 'str'},
+ 'package_name': {'key': 'properties.packageName', 'type': 'str'},
+ 'package_family_name': {'key': 'properties.packageFamilyName', 'type': 'str'},
+ 'display_name': {'key': 'properties.displayName', 'type': 'str'},
+ 'package_relative_path': {'key': 'properties.packageRelativePath', 'type': 'str'},
+ 'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
+ 'is_active': {'key': 'properties.isActive', 'type': 'bool'},
+ 'package_dependencies': {'key': 'properties.packageDependencies', 'type': '[MsixPackageDependencies]'},
+ 'version': {'key': 'properties.version', 'type': 'str'},
+ 'last_updated': {'key': 'properties.lastUpdated', 'type': 'iso-8601'},
+ 'package_applications': {'key': 'properties.packageApplications', 'type': '[MsixPackageApplications]'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(MsixPackage, self).__init__(**kwargs)
+ self.image_path = kwargs.get('image_path', None)
+ self.package_name = kwargs.get('package_name', None)
+ self.package_family_name = kwargs.get('package_family_name', None)
+ self.display_name = kwargs.get('display_name', None)
+ self.package_relative_path = kwargs.get('package_relative_path', None)
+ self.is_regular_registration = kwargs.get('is_regular_registration', None)
+ self.is_active = kwargs.get('is_active', None)
+ self.package_dependencies = kwargs.get('package_dependencies', None)
+ self.version = kwargs.get('version', None)
+ self.last_updated = kwargs.get('last_updated', None)
+ self.package_applications = kwargs.get('package_applications', None)
+
+
+class MsixPackageApplications(msrest.serialization.Model):
+ """Schema for MSIX Package Application properties.
+
+ :param app_id: Package Application Id, found in appxmanifest.xml.
+ :type app_id: str
+ :param description: Description of Package Application.
:type description: str
+ :param app_user_model_id: Used to activate Package Application. Consists of Package Name and
+ ApplicationID. Found in appxmanifest.xml.
+ :type app_user_model_id: str
+ :param friendly_name: User friendly name.
+ :type friendly_name: str
+ :param icon_image_name: User friendly name.
+ :type icon_image_name: str
+ :param raw_icon: the icon a 64 bit string as a byte array.
+ :type raw_icon: bytearray
+ :param raw_png: the icon a 64 bit string as a byte array.
+ :type raw_png: bytearray
"""
_attribute_map = {
- 'provider': {'key': 'provider', 'type': 'str'},
- 'resource': {'key': 'resource', 'type': 'str'},
- 'operation': {'key': 'operation', 'type': 'str'},
+ 'app_id': {'key': 'appId', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
+ 'app_user_model_id': {'key': 'appUserModelID', 'type': 'str'},
+ 'friendly_name': {'key': 'friendlyName', 'type': 'str'},
+ 'icon_image_name': {'key': 'iconImageName', 'type': 'str'},
+ 'raw_icon': {'key': 'rawIcon', 'type': 'bytearray'},
+ 'raw_png': {'key': 'rawPng', 'type': 'bytearray'},
}
def __init__(
self,
**kwargs
):
- super(ResourceProviderOperationDisplay, self).__init__(**kwargs)
- self.provider = kwargs.get('provider', None)
- self.resource = kwargs.get('resource', None)
- self.operation = kwargs.get('operation', None)
+ super(MsixPackageApplications, self).__init__(**kwargs)
+ self.app_id = kwargs.get('app_id', None)
self.description = kwargs.get('description', None)
+ self.app_user_model_id = kwargs.get('app_user_model_id', None)
+ self.friendly_name = kwargs.get('friendly_name', None)
+ self.icon_image_name = kwargs.get('icon_image_name', None)
+ self.raw_icon = kwargs.get('raw_icon', None)
+ self.raw_png = kwargs.get('raw_png', None)
-class ResourceProviderOperationList(msrest.serialization.Model):
- """Result of the request to list operations.
+class MsixPackageDependencies(msrest.serialization.Model):
+ """Schema for MSIX Package Dependencies properties.
- :param value: List of operations supported by this resource provider.
- :type value: list[~desktop_virtualization_api_client.models.ResourceProviderOperation]
+ :param dependency_name: Name of package dependency.
+ :type dependency_name: str
+ :param publisher: Name of dependency publisher.
+ :type publisher: str
+ :param min_version: Dependency version required.
+ :type min_version: str
"""
_attribute_map = {
- 'value': {'key': 'value', 'type': '[ResourceProviderOperation]'},
+ 'dependency_name': {'key': 'dependencyName', 'type': 'str'},
+ 'publisher': {'key': 'publisher', 'type': 'str'},
+ 'min_version': {'key': 'minVersion', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
- super(ResourceProviderOperationList, self).__init__(**kwargs)
- self.value = kwargs.get('value', None)
+ super(MsixPackageDependencies, self).__init__(**kwargs)
+ self.dependency_name = kwargs.get('dependency_name', None)
+ self.publisher = kwargs.get('publisher', None)
+ self.min_version = kwargs.get('min_version', None)
-class SendMessage(msrest.serialization.Model):
- """Represents message sent to a UserSession.
+class MsixPackageList(msrest.serialization.Model):
+ """List of MSIX Package definitions.
- :param message_title: Title of message.
- :type message_title: str
- :param message_body: Body of message.
- :type message_body: str
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :param value: List of MSIX Package definitions.
+ :type value: list[~desktop_virtualization_api_client.models.MsixPackage]
+ :ivar next_link: Link to the next page of results.
+ :vartype next_link: str
"""
+ _validation = {
+ 'next_link': {'readonly': True},
+ }
+
_attribute_map = {
- 'message_title': {'key': 'messageTitle', 'type': 'str'},
- 'message_body': {'key': 'messageBody', 'type': 'str'},
+ 'value': {'key': 'value', 'type': '[MsixPackage]'},
+ 'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
**kwargs
):
- super(SendMessage, self).__init__(**kwargs)
- self.message_title = kwargs.get('message_title', None)
- self.message_body = kwargs.get('message_body', None)
+ super(MsixPackageList, self).__init__(**kwargs)
+ self.value = kwargs.get('value', None)
+ self.next_link = None
-class SessionHost(Resource):
- """Represents a SessionHost definition.
+class MsixPackagePatch(Resource):
+ """MSIX Package properties that can be patched.
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
- :param last_heart_beat: Last heart beat from SessionHost.
- :type last_heart_beat: ~datetime.datetime
- :param sessions: Number of sessions on SessionHost.
- :type sessions: int
- :param agent_version: Version of agent on SessionHost.
- :type agent_version: str
- :param allow_new_session: Allow a new session.
- :type allow_new_session: bool
- :param assigned_user: User assigned to SessionHost.
- :type assigned_user: str
- :param status: Status for a SessionHost. Possible values include: "Available", "Unavailable",
- "Shutdown", "Disconnected", "Upgrading", "UpgradeFailed".
- :type status: str or ~desktop_virtualization_api_client.models.Status
- :ivar status_timestamp: The timestamp of the status.
- :vartype status_timestamp: ~datetime.datetime
- :param os_version: The version of the OS on the session host.
- :type os_version: str
- :param sx_s_stack_version: The version of the side by side stack on the session host.
- :type sx_s_stack_version: str
- :param update_state: Update state of a SessionHost. Possible values include: "Initial",
- "Pending", "Started", "Succeeded", "Failed".
- :type update_state: str or ~desktop_virtualization_api_client.models.UpdateState
- :ivar last_update_time: The timestamp of the last update.
- :vartype last_update_time: ~datetime.datetime
- :param update_error_message: The error message.
- :type update_error_message: str
+ :param is_active: Set a version of the package to be active across hostpool.
+ :type is_active: bool
+ :param is_regular_registration: Set Registration mode. Regular or Delayed.
+ :type is_regular_registration: bool
+ :param display_name: Display name for MSIX Package.
+ :type display_name: str
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'status_timestamp': {'readonly': True},
- 'last_update_time': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'is_active': {'key': 'properties.isActive', 'type': 'bool'},
+ 'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
+ 'display_name': {'key': 'properties.displayName', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(MsixPackagePatch, self).__init__(**kwargs)
+ self.is_active = kwargs.get('is_active', None)
+ self.is_regular_registration = kwargs.get('is_regular_registration', None)
+ self.display_name = kwargs.get('display_name', None)
+
+
+class OperationProperties(msrest.serialization.Model):
+ """Properties of the operation.
+
+ :param service_specification: Service specification payload.
+ :type service_specification: ~desktop_virtualization_api_client.models.ServiceSpecification
+ """
+
+ _attribute_map = {
+ 'service_specification': {'key': 'serviceSpecification', 'type': 'ServiceSpecification'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(OperationProperties, self).__init__(**kwargs)
+ self.service_specification = kwargs.get('service_specification', None)
+
+
+class Plan(msrest.serialization.Model):
+ """Plan for the resource.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ :type name: str
+ :param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g.
+ NewRelic.
+ :type publisher: str
+ :param product: Required. 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 product: str
+ :param promotion_code: A publisher provided promotion code as provisioned in Data Market for
+ the said product/artifact.
+ :type promotion_code: str
+ :param version: The version of the desired product/artifact.
+ :type version: str
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ 'publisher': {'required': True},
+ 'product': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'publisher': {'key': 'publisher', 'type': 'str'},
+ 'product': {'key': 'product', 'type': 'str'},
+ 'promotion_code': {'key': 'promotionCode', 'type': 'str'},
+ 'version': {'key': 'version', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(Plan, self).__init__(**kwargs)
+ self.name = kwargs['name']
+ self.publisher = kwargs['publisher']
+ self.product = kwargs['product']
+ self.promotion_code = kwargs.get('promotion_code', None)
+ self.version = kwargs.get('version', None)
+
+
+class RegistrationInfo(msrest.serialization.Model):
+ """Represents a RegistrationInfo definition.
+
+ :param expiration_time: Expiration time of registration token.
+ :type expiration_time: ~datetime.datetime
+ :param token: The registration token base64 encoded string.
+ :type token: str
+ :param registration_token_operation: The type of resetting the token. Possible values include:
+ "Delete", "None", "Update".
+ :type registration_token_operation: str or
+ ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ """
+
+ _attribute_map = {
+ 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
+ 'token': {'key': 'token', 'type': 'str'},
+ 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(RegistrationInfo, self).__init__(**kwargs)
+ self.expiration_time = kwargs.get('expiration_time', None)
+ self.token = kwargs.get('token', None)
+ self.registration_token_operation = kwargs.get('registration_token_operation', None)
+
+
+class RegistrationInfoPatch(msrest.serialization.Model):
+ """Represents a RegistrationInfo definition.
+
+ :param expiration_time: Expiration time of registration token.
+ :type expiration_time: ~datetime.datetime
+ :param registration_token_operation: The type of resetting the token. Possible values include:
+ "Delete", "None", "Update".
+ :type registration_token_operation: str or
+ ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ """
+
+ _attribute_map = {
+ 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
+ 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(RegistrationInfoPatch, self).__init__(**kwargs)
+ self.expiration_time = kwargs.get('expiration_time', None)
+ self.registration_token_operation = kwargs.get('registration_token_operation', None)
+
+
+class ResourceModelWithAllowedPropertySetIdentity(Identity):
+ """ResourceModelWithAllowedPropertySetIdentity.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar principal_id: The principal ID of resource identity.
+ :vartype principal_id: str
+ :ivar tenant_id: The tenant ID of resource.
+ :vartype tenant_id: str
+ :ivar type: The identity type. Default value: "SystemAssigned".
+ :vartype type: str
+ """
+
+ _validation = {
+ 'principal_id': {'readonly': True},
+ 'tenant_id': {'readonly': True},
+ 'type': {'constant': True},
+ }
+
+ _attribute_map = {
+ 'principal_id': {'key': 'principalId', 'type': 'str'},
+ 'tenant_id': {'key': 'tenantId', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ }
+
+ type = "SystemAssigned"
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ResourceModelWithAllowedPropertySetIdentity, self).__init__(**kwargs)
+
+
+class ResourceModelWithAllowedPropertySetPlan(Plan):
+ """ResourceModelWithAllowedPropertySetPlan.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ :type name: str
+ :param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g.
+ NewRelic.
+ :type publisher: str
+ :param product: Required. 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 product: str
+ :param promotion_code: A publisher provided promotion code as provisioned in Data Market for
+ the said product/artifact.
+ :type promotion_code: str
+ :param version: The version of the desired product/artifact.
+ :type version: str
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ 'publisher': {'required': True},
+ 'product': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'publisher': {'key': 'publisher', 'type': 'str'},
+ 'product': {'key': 'product', 'type': 'str'},
+ 'promotion_code': {'key': 'promotionCode', 'type': 'str'},
+ 'version': {'key': 'version', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ResourceModelWithAllowedPropertySetPlan, self).__init__(**kwargs)
+
+
+class Sku(msrest.serialization.Model):
+ """The resource model definition representing SKU.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code.
+ :type name: str
+ :param tier: 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. Possible values include: "Free", "Basic",
+ "Standard", "Premium".
+ :type tier: str or ~desktop_virtualization_api_client.models.SkuTier
+ :param size: The SKU size. When the name field is the combination of tier and some other value,
+ this would be the standalone code.
+ :type size: str
+ :param family: If the service has different generations of hardware, for the same SKU, then
+ that can be captured here.
+ :type family: str
+ :param capacity: 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.
+ :type capacity: int
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'tier': {'key': 'tier', 'type': 'str'},
+ 'size': {'key': 'size', 'type': 'str'},
+ 'family': {'key': 'family', 'type': 'str'},
+ 'capacity': {'key': 'capacity', 'type': 'int'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(Sku, self).__init__(**kwargs)
+ self.name = kwargs['name']
+ self.tier = kwargs.get('tier', None)
+ self.size = kwargs.get('size', None)
+ self.family = kwargs.get('family', None)
+ self.capacity = kwargs.get('capacity', None)
+
+
+class ResourceModelWithAllowedPropertySetSku(Sku):
+ """ResourceModelWithAllowedPropertySetSku.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code.
+ :type name: str
+ :param tier: 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. Possible values include: "Free", "Basic",
+ "Standard", "Premium".
+ :type tier: str or ~desktop_virtualization_api_client.models.SkuTier
+ :param size: The SKU size. When the name field is the combination of tier and some other value,
+ this would be the standalone code.
+ :type size: str
+ :param family: If the service has different generations of hardware, for the same SKU, then
+ that can be captured here.
+ :type family: str
+ :param capacity: 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.
+ :type capacity: int
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'tier': {'key': 'tier', 'type': 'str'},
+ 'size': {'key': 'size', 'type': 'str'},
+ 'family': {'key': 'family', 'type': 'str'},
+ 'capacity': {'key': 'capacity', 'type': 'int'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ResourceModelWithAllowedPropertySetSku, self).__init__(**kwargs)
+
+
+class ResourceProviderOperation(msrest.serialization.Model):
+ """Supported operation of this resource provider.
+
+ :param name: Operation name, in format of {provider}/{resource}/{operation}.
+ :type name: str
+ :param display: Display metadata associated with the operation.
+ :type display: ~desktop_virtualization_api_client.models.ResourceProviderOperationDisplay
+ :param is_data_action: Is a data action.
+ :type is_data_action: bool
+ :param properties: Properties of the operation.
+ :type properties: ~desktop_virtualization_api_client.models.OperationProperties
+ """
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'display': {'key': 'display', 'type': 'ResourceProviderOperationDisplay'},
+ 'is_data_action': {'key': 'isDataAction', 'type': 'bool'},
+ 'properties': {'key': 'properties', 'type': 'OperationProperties'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ResourceProviderOperation, self).__init__(**kwargs)
+ self.name = kwargs.get('name', None)
+ self.display = kwargs.get('display', None)
+ self.is_data_action = kwargs.get('is_data_action', None)
+ self.properties = kwargs.get('properties', None)
+
+
+class ResourceProviderOperationDisplay(msrest.serialization.Model):
+ """Display metadata associated with the operation.
+
+ :param provider: Resource provider: Microsoft Desktop Virtualization.
+ :type provider: str
+ :param resource: Resource on which the operation is performed.
+ :type resource: str
+ :param operation: Type of operation: get, read, delete, etc.
+ :type operation: str
+ :param description: Description of this operation.
+ :type description: str
+ """
+
+ _attribute_map = {
+ 'provider': {'key': 'provider', 'type': 'str'},
+ 'resource': {'key': 'resource', 'type': 'str'},
+ 'operation': {'key': 'operation', 'type': 'str'},
+ 'description': {'key': 'description', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ResourceProviderOperationDisplay, self).__init__(**kwargs)
+ self.provider = kwargs.get('provider', None)
+ self.resource = kwargs.get('resource', None)
+ self.operation = kwargs.get('operation', None)
+ self.description = kwargs.get('description', None)
+
+
+class ResourceProviderOperationList(msrest.serialization.Model):
+ """Result of the request to list operations.
+
+ :param value: List of operations supported by this resource provider.
+ :type value: list[~desktop_virtualization_api_client.models.ResourceProviderOperation]
+ """
+
+ _attribute_map = {
+ 'value': {'key': 'value', 'type': '[ResourceProviderOperation]'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ResourceProviderOperationList, self).__init__(**kwargs)
+ self.value = kwargs.get('value', None)
+
+
+class ScalingHostPoolReference(msrest.serialization.Model):
+ """Scaling plan reference to hostpool.
+
+ :param host_pool_arm_path: Arm path of referenced hostpool.
+ :type host_pool_arm_path: str
+ :param scaling_plan_enabled: Is the scaling plan enabled for this hostpool.
+ :type scaling_plan_enabled: bool
+ """
+
+ _attribute_map = {
+ 'host_pool_arm_path': {'key': 'hostPoolArmPath', 'type': 'str'},
+ 'scaling_plan_enabled': {'key': 'scalingPlanEnabled', 'type': 'bool'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ScalingHostPoolReference, self).__init__(**kwargs)
+ self.host_pool_arm_path = kwargs.get('host_pool_arm_path', None)
+ self.scaling_plan_enabled = kwargs.get('scaling_plan_enabled', None)
+
+
+class ScalingPlan(ResourceModelWithAllowedPropertySet):
+ """Represents a scaling plan definition.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
+ :param tags: A set of tags. Resource tags.
+ :type tags: dict[str, str]
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of scaling plan. (internal use).
+ :vartype object_id: str
+ :param description: Description of scaling plan.
+ :type description: str
+ :param friendly_name: User friendly name of scaling plan.
+ :type friendly_name: str
+ :param time_zone: Timezone of the scaling plan.
+ :type time_zone: str
+ :param host_pool_type: HostPool type for desktop. Possible values include: "Personal",
+ "Pooled", "BYODesktop".
+ :type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
+ :param exclusion_tag: Exclusion tag for scaling plan.
+ :type exclusion_tag: str
+ :param schedules: List of ScalingSchedule definitions.
+ :type schedules: list[~desktop_virtualization_api_client.models.ScalingSchedule]
+ :param host_pool_references: List of ScalingHostPoolReference definitions.
+ :type host_pool_references:
+ list[~desktop_virtualization_api_client.models.ScalingHostPoolReference]
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
+ 'description': {'key': 'properties.description', 'type': 'str'},
+ 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
+ 'time_zone': {'key': 'properties.timeZone', 'type': 'str'},
+ 'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
+ 'exclusion_tag': {'key': 'properties.exclusionTag', 'type': 'str'},
+ 'schedules': {'key': 'properties.schedules', 'type': '[ScalingSchedule]'},
+ 'host_pool_references': {'key': 'properties.hostPoolReferences', 'type': '[ScalingHostPoolReference]'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ScalingPlan, self).__init__(**kwargs)
+ self.object_id = None
+ self.description = kwargs.get('description', None)
+ self.friendly_name = kwargs.get('friendly_name', None)
+ self.time_zone = kwargs.get('time_zone', None)
+ self.host_pool_type = kwargs.get('host_pool_type', None)
+ self.exclusion_tag = kwargs.get('exclusion_tag', None)
+ self.schedules = kwargs.get('schedules', None)
+ self.host_pool_references = kwargs.get('host_pool_references', None)
+
+
+class ScalingPlanList(msrest.serialization.Model):
+ """List of scaling plan definitions.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :param value: List of scaling plan definitions.
+ :type value: list[~desktop_virtualization_api_client.models.ScalingPlan]
+ :ivar next_link: Link to the next page of results.
+ :vartype next_link: str
+ """
+
+ _validation = {
+ 'next_link': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'value': {'key': 'value', 'type': '[ScalingPlan]'},
+ 'next_link': {'key': 'nextLink', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ScalingPlanList, self).__init__(**kwargs)
+ self.value = kwargs.get('value', None)
+ self.next_link = None
+
+
+class ScalingPlanPatch(msrest.serialization.Model):
+ """Scaling plan properties that can be patched.
+
+ :param tags: A set of tags. tags to be updated.
+ :type tags: dict[str, str]
+ :param description: Description of scaling plan.
+ :type description: str
+ :param friendly_name: User friendly name of scaling plan.
+ :type friendly_name: str
+ :param time_zone: Timezone of the scaling plan.
+ :type time_zone: str
+ :param host_pool_type: HostPool type for desktop. Possible values include: "Personal",
+ "Pooled", "BYODesktop".
+ :type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
+ :param exclusion_tag: Exclusion tag for scaling plan.
+ :type exclusion_tag: str
+ :param schedules: List of ScalingSchedule definitions.
+ :type schedules: list[~desktop_virtualization_api_client.models.ScalingSchedule]
+ :param host_pool_references: List of ScalingHostPoolReference definitions.
+ :type host_pool_references:
+ list[~desktop_virtualization_api_client.models.ScalingHostPoolReference]
+ """
+
+ _attribute_map = {
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'description': {'key': 'properties.description', 'type': 'str'},
+ 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
+ 'time_zone': {'key': 'properties.timeZone', 'type': 'str'},
+ 'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
+ 'exclusion_tag': {'key': 'properties.exclusionTag', 'type': 'str'},
+ 'schedules': {'key': 'properties.schedules', 'type': '[ScalingSchedule]'},
+ 'host_pool_references': {'key': 'properties.hostPoolReferences', 'type': '[ScalingHostPoolReference]'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ScalingPlanPatch, self).__init__(**kwargs)
+ self.tags = kwargs.get('tags', None)
+ self.description = kwargs.get('description', None)
+ self.friendly_name = kwargs.get('friendly_name', None)
+ self.time_zone = kwargs.get('time_zone', None)
+ self.host_pool_type = kwargs.get('host_pool_type', None)
+ self.exclusion_tag = kwargs.get('exclusion_tag', None)
+ self.schedules = kwargs.get('schedules', None)
+ self.host_pool_references = kwargs.get('host_pool_references', None)
+
+
+class ScalingSchedule(msrest.serialization.Model):
+ """Scaling plan schedule.
+
+ :param name: Name of the scaling schedule.
+ :type name: str
+ :param days_of_week: Set of days of the week on which this schedule is active.
+ :type days_of_week: list[str or
+ ~desktop_virtualization_api_client.models.ScalingScheduleDaysOfWeekItem]
+ :param ramp_up_start_time: Starting time for ramp up period.
+ :type ramp_up_start_time: ~datetime.datetime
+ :param ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. Possible
+ values include: "BreadthFirst", "DepthFirst".
+ :type ramp_up_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ :param ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period.
+ :type ramp_up_minimum_hosts_pct: int
+ :param ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period.
+ :type ramp_up_capacity_threshold_pct: int
+ :param peak_start_time: Starting time for peak period.
+ :type peak_start_time: ~datetime.datetime
+ :param peak_load_balancing_algorithm: Load balancing algorithm for peak period. Possible values
+ include: "BreadthFirst", "DepthFirst".
+ :type peak_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ :param ramp_down_start_time: Starting time for ramp down period.
+ :type ramp_down_start_time: ~datetime.datetime
+ :param ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period.
+ Possible values include: "BreadthFirst", "DepthFirst".
+ :type ramp_down_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ :param ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period.
+ :type ramp_down_minimum_hosts_pct: int
+ :param ramp_down_capacity_threshold_pct: Capacity threshold for ramp down period.
+ :type ramp_down_capacity_threshold_pct: int
+ :param ramp_down_force_logoff_users: Should users be logged off forcefully from hosts.
+ :type ramp_down_force_logoff_users: bool
+ :param ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period.
+ Possible values include: "ZeroSessions", "ZeroActiveSessions".
+ :type ramp_down_stop_hosts_when: str or ~desktop_virtualization_api_client.models.StopHostsWhen
+ :param ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down
+ period.
+ :type ramp_down_wait_time_minutes: int
+ :param ramp_down_notification_message: Notification message for users during ramp down period.
+ :type ramp_down_notification_message: str
+ :param off_peak_start_time: Starting time for off-peak period.
+ :type off_peak_start_time: ~datetime.datetime
+ :param off_peak_load_balancing_algorithm: Load balancing algorithm for off-peak period.
+ Possible values include: "BreadthFirst", "DepthFirst".
+ :type off_peak_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ """
+
+ _validation = {
+ 'ramp_up_minimum_hosts_pct': {'maximum': 100, 'minimum': 0},
+ 'ramp_up_capacity_threshold_pct': {'maximum': 100, 'minimum': 0},
+ 'ramp_down_minimum_hosts_pct': {'maximum': 100, 'minimum': 0},
+ 'ramp_down_capacity_threshold_pct': {'maximum': 100, 'minimum': 0},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'days_of_week': {'key': 'daysOfWeek', 'type': '[str]'},
+ 'ramp_up_start_time': {'key': 'rampUpStartTime', 'type': 'iso-8601'},
+ 'ramp_up_load_balancing_algorithm': {'key': 'rampUpLoadBalancingAlgorithm', 'type': 'str'},
+ 'ramp_up_minimum_hosts_pct': {'key': 'rampUpMinimumHostsPct', 'type': 'int'},
+ 'ramp_up_capacity_threshold_pct': {'key': 'rampUpCapacityThresholdPct', 'type': 'int'},
+ 'peak_start_time': {'key': 'peakStartTime', 'type': 'iso-8601'},
+ 'peak_load_balancing_algorithm': {'key': 'peakLoadBalancingAlgorithm', 'type': 'str'},
+ 'ramp_down_start_time': {'key': 'rampDownStartTime', 'type': 'iso-8601'},
+ 'ramp_down_load_balancing_algorithm': {'key': 'rampDownLoadBalancingAlgorithm', 'type': 'str'},
+ 'ramp_down_minimum_hosts_pct': {'key': 'rampDownMinimumHostsPct', 'type': 'int'},
+ 'ramp_down_capacity_threshold_pct': {'key': 'rampDownCapacityThresholdPct', 'type': 'int'},
+ 'ramp_down_force_logoff_users': {'key': 'rampDownForceLogoffUsers', 'type': 'bool'},
+ 'ramp_down_stop_hosts_when': {'key': 'rampDownStopHostsWhen', 'type': 'str'},
+ 'ramp_down_wait_time_minutes': {'key': 'rampDownWaitTimeMinutes', 'type': 'int'},
+ 'ramp_down_notification_message': {'key': 'rampDownNotificationMessage', 'type': 'str'},
+ 'off_peak_start_time': {'key': 'offPeakStartTime', 'type': 'iso-8601'},
+ 'off_peak_load_balancing_algorithm': {'key': 'offPeakLoadBalancingAlgorithm', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ScalingSchedule, self).__init__(**kwargs)
+ self.name = kwargs.get('name', None)
+ self.days_of_week = kwargs.get('days_of_week', None)
+ self.ramp_up_start_time = kwargs.get('ramp_up_start_time', None)
+ self.ramp_up_load_balancing_algorithm = kwargs.get('ramp_up_load_balancing_algorithm', None)
+ self.ramp_up_minimum_hosts_pct = kwargs.get('ramp_up_minimum_hosts_pct', None)
+ self.ramp_up_capacity_threshold_pct = kwargs.get('ramp_up_capacity_threshold_pct', None)
+ self.peak_start_time = kwargs.get('peak_start_time', None)
+ self.peak_load_balancing_algorithm = kwargs.get('peak_load_balancing_algorithm', None)
+ self.ramp_down_start_time = kwargs.get('ramp_down_start_time', None)
+ self.ramp_down_load_balancing_algorithm = kwargs.get('ramp_down_load_balancing_algorithm', None)
+ self.ramp_down_minimum_hosts_pct = kwargs.get('ramp_down_minimum_hosts_pct', None)
+ self.ramp_down_capacity_threshold_pct = kwargs.get('ramp_down_capacity_threshold_pct', None)
+ self.ramp_down_force_logoff_users = kwargs.get('ramp_down_force_logoff_users', None)
+ self.ramp_down_stop_hosts_when = kwargs.get('ramp_down_stop_hosts_when', None)
+ self.ramp_down_wait_time_minutes = kwargs.get('ramp_down_wait_time_minutes', None)
+ self.ramp_down_notification_message = kwargs.get('ramp_down_notification_message', None)
+ self.off_peak_start_time = kwargs.get('off_peak_start_time', None)
+ self.off_peak_load_balancing_algorithm = kwargs.get('off_peak_load_balancing_algorithm', None)
+
+
+class SendMessage(msrest.serialization.Model):
+ """Represents message sent to a UserSession.
+
+ :param message_title: Title of message.
+ :type message_title: str
+ :param message_body: Body of message.
+ :type message_body: str
+ """
+
+ _attribute_map = {
+ 'message_title': {'key': 'messageTitle', 'type': 'str'},
+ 'message_body': {'key': 'messageBody', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(SendMessage, self).__init__(**kwargs)
+ self.message_title = kwargs.get('message_title', None)
+ self.message_body = kwargs.get('message_body', None)
+
+
+class ServiceSpecification(msrest.serialization.Model):
+ """Service specification payload.
+
+ :param log_specifications: Specifications of the Log for Azure Monitoring.
+ :type log_specifications: list[~desktop_virtualization_api_client.models.LogSpecification]
+ """
+
+ _attribute_map = {
+ 'log_specifications': {'key': 'logSpecifications', 'type': '[LogSpecification]'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ServiceSpecification, self).__init__(**kwargs)
+ self.log_specifications = kwargs.get('log_specifications', None)
+
+
+class SessionHost(Resource):
+ """Represents a SessionHost definition.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :ivar object_id: ObjectId of SessionHost. (internal use).
+ :vartype object_id: str
+ :param last_heart_beat: Last heart beat from SessionHost.
+ :type last_heart_beat: ~datetime.datetime
+ :param sessions: Number of sessions on SessionHost.
+ :type sessions: int
+ :param agent_version: Version of agent on SessionHost.
+ :type agent_version: str
+ :param allow_new_session: Allow a new session.
+ :type allow_new_session: bool
+ :ivar virtual_machine_id: Virtual Machine Id of SessionHost's underlying virtual machine.
+ :vartype virtual_machine_id: str
+ :ivar resource_id: Resource Id of SessionHost's underlying virtual machine.
+ :vartype resource_id: str
+ :param assigned_user: User assigned to SessionHost.
+ :type assigned_user: str
+ :param status: Status for a SessionHost. Possible values include: "Available", "Unavailable",
+ "Shutdown", "Disconnected", "Upgrading", "UpgradeFailed", "NoHeartbeat", "NotJoinedToDomain",
+ "DomainTrustRelationshipLost", "SxSStackListenerNotReady", "FSLogixNotHealthy",
+ "NeedsAssistance".
+ :type status: str or ~desktop_virtualization_api_client.models.Status
+ :ivar status_timestamp: The timestamp of the status.
+ :vartype status_timestamp: ~datetime.datetime
+ :param os_version: The version of the OS on the session host.
+ :type os_version: str
+ :param sx_s_stack_version: The version of the side by side stack on the session host.
+ :type sx_s_stack_version: str
+ :param update_state: Update state of a SessionHost. Possible values include: "Initial",
+ "Pending", "Started", "Succeeded", "Failed".
+ :type update_state: str or ~desktop_virtualization_api_client.models.UpdateState
+ :ivar last_update_time: The timestamp of the last update.
+ :vartype last_update_time: ~datetime.datetime
+ :param update_error_message: The error message.
+ :type update_error_message: str
+ :ivar session_host_health_check_results: List of SessionHostHealthCheckReports.
+ :vartype session_host_health_check_results:
+ list[~desktop_virtualization_api_client.models.SessionHostHealthCheckReport]
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ 'object_id': {'readonly': True},
+ 'virtual_machine_id': {'readonly': True},
+ 'resource_id': {'readonly': True},
+ 'status_timestamp': {'readonly': True},
+ 'last_update_time': {'readonly': True},
+ 'session_host_health_check_results': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'last_heart_beat': {'key': 'properties.lastHeartBeat', 'type': 'iso-8601'},
'sessions': {'key': 'properties.sessions', 'type': 'int'},
'agent_version': {'key': 'properties.agentVersion', 'type': 'str'},
'allow_new_session': {'key': 'properties.allowNewSession', 'type': 'bool'},
+ 'virtual_machine_id': {'key': 'properties.virtualMachineId', 'type': 'str'},
+ 'resource_id': {'key': 'properties.resourceId', 'type': 'str'},
'assigned_user': {'key': 'properties.assignedUser', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'status_timestamp': {'key': 'properties.statusTimestamp', 'type': 'iso-8601'},
@@ -937,6 +2203,7 @@ class SessionHost(Resource):
'update_state': {'key': 'properties.updateState', 'type': 'str'},
'last_update_time': {'key': 'properties.lastUpdateTime', 'type': 'iso-8601'},
'update_error_message': {'key': 'properties.updateErrorMessage', 'type': 'str'},
+ 'session_host_health_check_results': {'key': 'properties.sessionHostHealthCheckResults', 'type': '[SessionHostHealthCheckReport]'},
}
def __init__(
@@ -944,10 +2211,13 @@ def __init__(
**kwargs
):
super(SessionHost, self).__init__(**kwargs)
+ self.object_id = None
self.last_heart_beat = kwargs.get('last_heart_beat', None)
self.sessions = kwargs.get('sessions', None)
self.agent_version = kwargs.get('agent_version', None)
self.allow_new_session = kwargs.get('allow_new_session', None)
+ self.virtual_machine_id = None
+ self.resource_id = None
self.assigned_user = kwargs.get('assigned_user', None)
self.status = kwargs.get('status', None)
self.status_timestamp = None
@@ -956,6 +2226,85 @@ def __init__(
self.update_state = kwargs.get('update_state', None)
self.last_update_time = None
self.update_error_message = kwargs.get('update_error_message', None)
+ self.session_host_health_check_results = None
+
+
+class SessionHostHealthCheckFailureDetails(msrest.serialization.Model):
+ """Contains details on the failure.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar message: Failure message: hints on what is wrong and how to recover.
+ :vartype message: str
+ :ivar error_code: Error code corresponding for the failure.
+ :vartype error_code: int
+ :ivar last_health_check_date_time: The timestamp of the last update.
+ :vartype last_health_check_date_time: ~datetime.datetime
+ """
+
+ _validation = {
+ 'message': {'readonly': True},
+ 'error_code': {'readonly': True},
+ 'last_health_check_date_time': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'message': {'key': 'message', 'type': 'str'},
+ 'error_code': {'key': 'errorCode', 'type': 'int'},
+ 'last_health_check_date_time': {'key': 'lastHealthCheckDateTime', 'type': 'iso-8601'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(SessionHostHealthCheckFailureDetails, self).__init__(**kwargs)
+ self.message = None
+ self.error_code = None
+ self.last_health_check_date_time = None
+
+
+class SessionHostHealthCheckReport(msrest.serialization.Model):
+ """The report for session host information.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar health_check_name: Represents the name of the health check operation performed. Possible
+ values include: "DomainJoinedCheck", "DomainTrustCheck", "FSLogixHealthCheck",
+ "SxSStackListenerCheck", "UrlsAccessibleCheck", "MonitoringAgentCheck", "DomainReachable",
+ "WebRTCRedirectorCheck", "SupportedEncryptionCheck", "MetaDataServiceCheck",
+ "AppAttachHealthCheck".
+ :vartype health_check_name: str or ~desktop_virtualization_api_client.models.HealthCheckName
+ :ivar health_check_result: Represents the Health state of the health check we performed.
+ Possible values include: "Unknown", "HealthCheckSucceeded", "HealthCheckFailed",
+ "SessionHostShutdown".
+ :vartype health_check_result: str or
+ ~desktop_virtualization_api_client.models.HealthCheckResult
+ :ivar additional_failure_details: Additional detailed information on the failure.
+ :vartype additional_failure_details:
+ ~desktop_virtualization_api_client.models.SessionHostHealthCheckFailureDetails
+ """
+
+ _validation = {
+ 'health_check_name': {'readonly': True},
+ 'health_check_result': {'readonly': True},
+ 'additional_failure_details': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'health_check_name': {'key': 'healthCheckName', 'type': 'str'},
+ 'health_check_result': {'key': 'healthCheckResult', 'type': 'str'},
+ 'additional_failure_details': {'key': 'additionalFailureDetails', 'type': 'SessionHostHealthCheckFailureDetails'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(SessionHostHealthCheckReport, self).__init__(**kwargs)
+ self.health_check_name = None
+ self.health_check_result = None
+ self.additional_failure_details = None
class SessionHostList(msrest.serialization.Model):
@@ -992,13 +2341,13 @@ class SessionHostPatch(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param allow_new_session: Allow a new session.
:type allow_new_session: bool
@@ -1034,18 +2383,16 @@ class StartMenuItem(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param app_alias: Alias of StartMenuItem.
:type app_alias: str
- :param friendly_name: Friendly name of StartMenuItem.
- :type friendly_name: str
:param file_path: Path to the file of StartMenuItem.
:type file_path: str
:param command_line_arguments: Command line arguments for StartMenuItem.
@@ -1067,7 +2414,6 @@ class StartMenuItem(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'app_alias': {'key': 'properties.appAlias', 'type': 'str'},
- 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'file_path': {'key': 'properties.filePath', 'type': 'str'},
'command_line_arguments': {'key': 'properties.commandLineArguments', 'type': 'str'},
'icon_path': {'key': 'properties.iconPath', 'type': 'str'},
@@ -1080,7 +2426,6 @@ def __init__(
):
super(StartMenuItem, self).__init__(**kwargs)
self.app_alias = kwargs.get('app_alias', None)
- self.friendly_name = kwargs.get('friendly_name', None)
self.file_path = kwargs.get('file_path', None)
self.command_line_arguments = kwargs.get('command_line_arguments', None)
self.icon_path = kwargs.get('icon_path', None)
@@ -1121,14 +2466,16 @@ class UserSession(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :ivar object_id: ObjectId of user session. (internal use).
+ :vartype object_id: str
:param user_principal_name: The user principal name.
:type user_principal_name: str
:param application_type: Application type of application. Possible values include: "RemoteApp",
@@ -1147,12 +2494,14 @@ class UserSession(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
+ 'object_id': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'user_principal_name': {'key': 'properties.userPrincipalName', 'type': 'str'},
'application_type': {'key': 'properties.applicationType', 'type': 'str'},
'session_state': {'key': 'properties.sessionState', 'type': 'str'},
@@ -1165,6 +2514,7 @@ def __init__(
**kwargs
):
super(UserSession, self).__init__(**kwargs)
+ self.object_id = None
self.user_principal_name = kwargs.get('user_principal_name', None)
self.application_type = kwargs.get('application_type', None)
self.session_state = kwargs.get('session_state', None)
@@ -1201,49 +2551,83 @@ def __init__(
self.next_link = None
-class Workspace(TrackedResource):
+class Workspace(ResourceModelWithAllowedPropertySet):
"""Represents a Workspace definition.
Variables are only populated by the server, and will be ignored when sending a request.
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of Workspace. (internal use).
+ :vartype object_id: str
:param description: Description of Workspace.
:type description: str
:param friendly_name: Friendly name of Workspace.
:type friendly_name: str
:param application_group_references: List of applicationGroup resource Ids.
:type application_group_references: list[str]
+ :ivar cloud_pc_resource: Is cloud pc resource.
+ :vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
+ 'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'application_group_references': {'key': 'properties.applicationGroupReferences', 'type': '[str]'},
+ 'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
@@ -1251,9 +2635,11 @@ def __init__(
**kwargs
):
super(Workspace, self).__init__(**kwargs)
+ self.object_id = None
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.application_group_references = kwargs.get('application_group_references', None)
+ self.cloud_pc_resource = None
class WorkspaceList(msrest.serialization.Model):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models_py3.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models_py3.py
index cc133d4a876..2c185b35178 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models_py3.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/_models_py3.py
@@ -15,17 +15,17 @@
class Resource(msrest.serialization.Model):
- """Resource.
+ """Common fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
"""
@@ -58,20 +58,29 @@ class Application(Resource):
All required parameters must be populated in order to send to Azure.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :ivar object_id: ObjectId of Application. (internal use).
+ :vartype object_id: str
:param description: Description of Application.
:type description: str
:param friendly_name: Friendly name of Application.
:type friendly_name: str
:param file_path: Specifies a path for the executable file for the application.
:type file_path: str
+ :param msix_package_family_name: Specifies the package family name for MSIX applications.
+ :type msix_package_family_name: str
+ :param msix_package_application_id: Specifies the package application Id for MSIX applications.
+ :type msix_package_application_id: str
+ :param application_type: Resource Type of Application. Possible values include: "InBuilt",
+ "MsixApplication".
+ :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType
:param command_line_setting: Required. 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. Possible values include: "DoNotAllow",
@@ -96,6 +105,7 @@ class Application(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
+ 'object_id': {'readonly': True},
'command_line_setting': {'required': True},
'icon_hash': {'readonly': True},
'icon_content': {'readonly': True},
@@ -105,9 +115,13 @@ class Application(Resource):
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'file_path': {'key': 'properties.filePath', 'type': 'str'},
+ 'msix_package_family_name': {'key': 'properties.msixPackageFamilyName', 'type': 'str'},
+ 'msix_package_application_id': {'key': 'properties.msixPackageApplicationId', 'type': 'str'},
+ 'application_type': {'key': 'properties.applicationType', 'type': 'str'},
'command_line_setting': {'key': 'properties.commandLineSetting', 'type': 'str'},
'command_line_arguments': {'key': 'properties.commandLineArguments', 'type': 'str'},
'show_in_portal': {'key': 'properties.showInPortal', 'type': 'bool'},
@@ -124,6 +138,9 @@ def __init__(
description: Optional[str] = None,
friendly_name: Optional[str] = None,
file_path: Optional[str] = None,
+ msix_package_family_name: Optional[str] = None,
+ msix_package_application_id: Optional[str] = None,
+ application_type: Optional[Union[str, "RemoteApplicationType"]] = None,
command_line_arguments: Optional[str] = None,
show_in_portal: Optional[bool] = None,
icon_path: Optional[str] = None,
@@ -131,9 +148,13 @@ def __init__(
**kwargs
):
super(Application, self).__init__(**kwargs)
+ self.object_id = None
self.description = description
self.friendly_name = friendly_name
self.file_path = file_path
+ self.msix_package_family_name = msix_package_family_name
+ self.msix_package_application_id = msix_package_application_id
+ self.application_type = application_type
self.command_line_setting = command_line_setting
self.command_line_arguments = command_line_arguments
self.show_in_portal = show_in_portal
@@ -143,73 +164,136 @@ def __init__(
self.icon_content = None
-class TrackedResource(Resource):
- """The resource model definition for a ARM tracked top level resource.
+class ResourceModelWithAllowedPropertySet(msrest.serialization.Model):
+ """The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.
Variables are only populated by the server, and will be ignored when sending a request.
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
}
def __init__(
self,
*,
- location: str,
+ location: Optional[str] = None,
+ managed_by: Optional[str] = None,
+ kind: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
+ identity: Optional["Identity"] = None,
+ sku: Optional["Sku"] = None,
+ plan: Optional["Plan"] = None,
**kwargs
):
- super(TrackedResource, self).__init__(**kwargs)
- self.tags = tags
+ super(ResourceModelWithAllowedPropertySet, self).__init__(**kwargs)
+ self.id = None
+ self.name = None
+ self.type = None
self.location = location
+ self.managed_by = managed_by
+ self.kind = kind
+ self.etag = None
+ self.tags = tags
+ self.identity = identity
+ self.sku = sku
+ self.plan = plan
-class ApplicationGroup(TrackedResource):
+class ApplicationGroup(ResourceModelWithAllowedPropertySet):
"""Represents a ApplicationGroup definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of ApplicationGroup. (internal use).
+ :vartype object_id: str
:param description: Description of ApplicationGroup.
:type description: str
:param friendly_name: Friendly name of ApplicationGroup.
@@ -222,48 +306,73 @@ class ApplicationGroup(TrackedResource):
include: "RemoteApp", "Desktop".
:type application_group_type: str or
~desktop_virtualization_api_client.models.ApplicationGroupType
+ :param migration_request: The registration info of HostPool.
+ :type migration_request: ~desktop_virtualization_api_client.models.MigrationRequestProperties
+ :ivar cloud_pc_resource: Is cloud pc resource.
+ :vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
'host_pool_arm_path': {'required': True},
'workspace_arm_path': {'readonly': True},
'application_group_type': {'required': True},
+ 'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'host_pool_arm_path': {'key': 'properties.hostPoolArmPath', 'type': 'str'},
'workspace_arm_path': {'key': 'properties.workspaceArmPath', 'type': 'str'},
'application_group_type': {'key': 'properties.applicationGroupType', 'type': 'str'},
+ 'migration_request': {'key': 'properties.migrationRequest', 'type': 'MigrationRequestProperties'},
+ 'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
self,
*,
- location: str,
host_pool_arm_path: str,
application_group_type: Union[str, "ApplicationGroupType"],
+ location: Optional[str] = None,
+ managed_by: Optional[str] = None,
+ kind: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
+ identity: Optional["Identity"] = None,
+ sku: Optional["Sku"] = None,
+ plan: Optional["Plan"] = None,
description: Optional[str] = None,
friendly_name: Optional[str] = None,
+ migration_request: Optional["MigrationRequestProperties"] = None,
**kwargs
):
- super(ApplicationGroup, self).__init__(tags=tags, location=location, **kwargs)
+ super(ApplicationGroup, self).__init__(location=location, managed_by=managed_by, kind=kind, tags=tags, identity=identity, sku=sku, plan=plan, **kwargs)
+ self.object_id = None
self.description = description
self.friendly_name = friendly_name
self.host_pool_arm_path = host_pool_arm_path
self.workspace_arm_path = None
self.application_group_type = application_group_type
+ self.migration_request = migration_request
+ self.cloud_pc_resource = None
class ApplicationGroupList(msrest.serialization.Model):
@@ -302,13 +411,13 @@ class ApplicationGroupPatch(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
@@ -403,6 +512,13 @@ class ApplicationPatch(msrest.serialization.Model):
:type icon_path: str
:param icon_index: Index of the icon.
:type icon_index: int
+ :param msix_package_family_name: Specifies the package family name for MSIX applications.
+ :type msix_package_family_name: str
+ :param msix_package_application_id: Specifies the package application Id for MSIX applications.
+ :type msix_package_application_id: str
+ :param application_type: Resource Type of Application. Possible values include: "InBuilt",
+ "MsixApplication".
+ :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType
"""
_attribute_map = {
@@ -415,6 +531,9 @@ class ApplicationPatch(msrest.serialization.Model):
'show_in_portal': {'key': 'properties.showInPortal', 'type': 'bool'},
'icon_path': {'key': 'properties.iconPath', 'type': 'str'},
'icon_index': {'key': 'properties.iconIndex', 'type': 'int'},
+ 'msix_package_family_name': {'key': 'properties.msixPackageFamilyName', 'type': 'str'},
+ 'msix_package_application_id': {'key': 'properties.msixPackageApplicationId', 'type': 'str'},
+ 'application_type': {'key': 'properties.applicationType', 'type': 'str'},
}
def __init__(
@@ -429,6 +548,9 @@ def __init__(
show_in_portal: Optional[bool] = None,
icon_path: Optional[str] = None,
icon_index: Optional[int] = None,
+ msix_package_family_name: Optional[str] = None,
+ msix_package_application_id: Optional[str] = None,
+ application_type: Optional[Union[str, "RemoteApplicationType"]] = None,
**kwargs
):
super(ApplicationPatch, self).__init__(**kwargs)
@@ -441,6 +563,35 @@ def __init__(
self.show_in_portal = show_in_portal
self.icon_path = icon_path
self.icon_index = icon_index
+ self.msix_package_family_name = msix_package_family_name
+ self.msix_package_application_id = msix_package_application_id
+ self.application_type = application_type
+
+
+class CloudErrorProperties(msrest.serialization.Model):
+ """CloudErrorProperties.
+
+ :param code: Error code.
+ :type code: str
+ :param message: Error message indicating why the operation failed.
+ :type message: str
+ """
+
+ _attribute_map = {
+ 'code': {'key': 'code', 'type': 'str'},
+ 'message': {'key': 'message', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ code: Optional[str] = None,
+ message: Optional[str] = None,
+ **kwargs
+ ):
+ super(CloudErrorProperties, self).__init__(**kwargs)
+ self.code = code
+ self.message = message
class Desktop(Resource):
@@ -448,14 +599,16 @@ class Desktop(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :ivar object_id: ObjectId of Desktop. (internal use).
+ :vartype object_id: str
:param description: Description of Desktop.
:type description: str
:param friendly_name: Friendly name of Desktop.
@@ -470,6 +623,7 @@ class Desktop(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
+ 'object_id': {'readonly': True},
'icon_hash': {'readonly': True},
'icon_content': {'readonly': True},
}
@@ -478,6 +632,7 @@ class Desktop(Resource):
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'icon_hash': {'key': 'properties.iconHash', 'type': 'str'},
@@ -492,6 +647,7 @@ def __init__(
**kwargs
):
super(Desktop, self).__init__(**kwargs)
+ self.object_id = None
self.description = description
self.friendly_name = friendly_name
self.icon_hash = None
@@ -560,34 +716,191 @@ def __init__(
self.friendly_name = friendly_name
-class HostPool(TrackedResource):
+class ExpandMsixImage(Resource):
+ """Represents the definition of contents retrieved after expanding the MSIX Image.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :param package_alias: Alias of MSIX Package.
+ :type package_alias: str
+ :param image_path: VHD/CIM image path on Network Share.
+ :type image_path: str
+ :param package_name: Package Name from appxmanifest.xml.
+ :type package_name: str
+ :param package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name
+ and Publisher name.
+ :type package_family_name: str
+ :param package_full_name: Package Full Name from appxmanifest.xml.
+ :type package_full_name: str
+ :param display_name: User friendly Name to be displayed in the portal.
+ :type display_name: str
+ :param package_relative_path: Relative Path to the package inside the image.
+ :type package_relative_path: str
+ :param is_regular_registration: Specifies how to register Package in feed.
+ :type is_regular_registration: bool
+ :param is_active: Make this version of the package the active one across the hostpool.
+ :type is_active: bool
+ :param package_dependencies: List of package dependencies.
+ :type package_dependencies:
+ list[~desktop_virtualization_api_client.models.MsixPackageDependencies]
+ :param version: Package Version found in the appxmanifest.xml.
+ :type version: str
+ :param last_updated: Date Package was last updated, found in the appxmanifest.xml.
+ :type last_updated: ~datetime.datetime
+ :param package_applications: List of package applications.
+ :type package_applications:
+ list[~desktop_virtualization_api_client.models.MsixPackageApplications]
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'package_alias': {'key': 'properties.packageAlias', 'type': 'str'},
+ 'image_path': {'key': 'properties.imagePath', 'type': 'str'},
+ 'package_name': {'key': 'properties.packageName', 'type': 'str'},
+ 'package_family_name': {'key': 'properties.packageFamilyName', 'type': 'str'},
+ 'package_full_name': {'key': 'properties.packageFullName', 'type': 'str'},
+ 'display_name': {'key': 'properties.displayName', 'type': 'str'},
+ 'package_relative_path': {'key': 'properties.packageRelativePath', 'type': 'str'},
+ 'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
+ 'is_active': {'key': 'properties.isActive', 'type': 'bool'},
+ 'package_dependencies': {'key': 'properties.packageDependencies', 'type': '[MsixPackageDependencies]'},
+ 'version': {'key': 'properties.version', 'type': 'str'},
+ 'last_updated': {'key': 'properties.lastUpdated', 'type': 'iso-8601'},
+ 'package_applications': {'key': 'properties.packageApplications', 'type': '[MsixPackageApplications]'},
+ }
+
+ def __init__(
+ self,
+ *,
+ package_alias: Optional[str] = None,
+ image_path: Optional[str] = None,
+ package_name: Optional[str] = None,
+ package_family_name: Optional[str] = None,
+ package_full_name: Optional[str] = None,
+ display_name: Optional[str] = None,
+ package_relative_path: Optional[str] = None,
+ is_regular_registration: Optional[bool] = None,
+ is_active: Optional[bool] = None,
+ package_dependencies: Optional[List["MsixPackageDependencies"]] = None,
+ version: Optional[str] = None,
+ last_updated: Optional[datetime.datetime] = None,
+ package_applications: Optional[List["MsixPackageApplications"]] = None,
+ **kwargs
+ ):
+ super(ExpandMsixImage, self).__init__(**kwargs)
+ self.package_alias = package_alias
+ self.image_path = image_path
+ self.package_name = package_name
+ self.package_family_name = package_family_name
+ self.package_full_name = package_full_name
+ self.display_name = display_name
+ self.package_relative_path = package_relative_path
+ self.is_regular_registration = is_regular_registration
+ self.is_active = is_active
+ self.package_dependencies = package_dependencies
+ self.version = version
+ self.last_updated = last_updated
+ self.package_applications = package_applications
+
+
+class ExpandMsixImageList(msrest.serialization.Model):
+ """List of MSIX package properties retrieved from MSIX Image expansion.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :param value: List of MSIX package properties from give MSIX Image.
+ :type value: list[~desktop_virtualization_api_client.models.ExpandMsixImage]
+ :ivar next_link: Link to the next page of results.
+ :vartype next_link: str
+ """
+
+ _validation = {
+ 'next_link': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'value': {'key': 'value', 'type': '[ExpandMsixImage]'},
+ 'next_link': {'key': 'nextLink', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ value: Optional[List["ExpandMsixImage"]] = None,
+ **kwargs
+ ):
+ super(ExpandMsixImageList, self).__init__(**kwargs)
+ self.value = value
+ self.next_link = None
+
+
+class HostPool(ResourceModelWithAllowedPropertySet):
"""Represents a HostPool definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of HostPool. (internal use).
+ :vartype object_id: str
:param friendly_name: Friendly name of HostPool.
:type friendly_name: str
:param description: Description of HostPool.
:type description: str
:param host_pool_type: Required. HostPool type for desktop. Possible values include:
- "Personal", "Pooled".
+ "Personal", "Pooled", "BYODesktop".
:type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
- :param personal_desktop_assignment_type: Required. PersonalDesktopAssignment type for HostPool.
- Possible values include: "Automatic", "Direct".
+ :param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. Possible
+ values include: "Automatic", "Direct".
:type personal_desktop_assignment_type: str or
~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
:param custom_rdp_property: Custom rdp property of HostPool.
@@ -607,27 +920,57 @@ class HostPool(TrackedResource):
:type vm_template: str
:ivar application_group_references: List of applicationGroup links.
:vartype application_group_references: list[str]
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates.
+ :type ssoadfs_authority: str
+ :param sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO
+ certificates.
+ :type sso_client_id: str
+ :param sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for
+ communication to ADFS.
+ :type sso_client_secret_key_vault_path: str
+ :param sso_secret_type: The type of single sign on Secret Type. Possible values include:
+ "SharedKey", "Certificate", "SharedKeyInKeyVault", "CertificateInKeyVault".
+ :type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType
+ :param preferred_app_group_type: Required. The type of preferred application group type,
+ default to Desktop Application Group. Possible values include: "None", "Desktop",
+ "RailApplications".
+ :type preferred_app_group_type: str or
+ ~desktop_virtualization_api_client.models.PreferredAppGroupType
+ :param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature.
+ :type start_vm_on_connect: bool
+ :param migration_request: The registration info of HostPool.
+ :type migration_request: ~desktop_virtualization_api_client.models.MigrationRequestProperties
+ :ivar cloud_pc_resource: Is cloud pc resource.
+ :vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
'host_pool_type': {'required': True},
- 'personal_desktop_assignment_type': {'required': True},
'load_balancer_type': {'required': True},
'application_group_references': {'readonly': True},
+ 'preferred_app_group_type': {'required': True},
+ 'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
@@ -640,29 +983,48 @@ class HostPool(TrackedResource):
'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfo'},
'vm_template': {'key': 'properties.vmTemplate', 'type': 'str'},
'application_group_references': {'key': 'properties.applicationGroupReferences', 'type': '[str]'},
- 'sso_context': {'key': 'properties.ssoContext', 'type': 'str'},
+ 'ssoadfs_authority': {'key': 'properties.ssoadfsAuthority', 'type': 'str'},
+ 'sso_client_id': {'key': 'properties.ssoClientId', 'type': 'str'},
+ 'sso_client_secret_key_vault_path': {'key': 'properties.ssoClientSecretKeyVaultPath', 'type': 'str'},
+ 'sso_secret_type': {'key': 'properties.ssoSecretType', 'type': 'str'},
+ 'preferred_app_group_type': {'key': 'properties.preferredAppGroupType', 'type': 'str'},
+ 'start_vm_on_connect': {'key': 'properties.startVMOnConnect', 'type': 'bool'},
+ 'migration_request': {'key': 'properties.migrationRequest', 'type': 'MigrationRequestProperties'},
+ 'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
self,
*,
- location: str,
host_pool_type: Union[str, "HostPoolType"],
- personal_desktop_assignment_type: Union[str, "PersonalDesktopAssignmentType"],
load_balancer_type: Union[str, "LoadBalancerType"],
+ preferred_app_group_type: Union[str, "PreferredAppGroupType"],
+ location: Optional[str] = None,
+ managed_by: Optional[str] = None,
+ kind: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
+ identity: Optional["Identity"] = None,
+ sku: Optional["Sku"] = None,
+ plan: Optional["Plan"] = None,
friendly_name: Optional[str] = None,
description: Optional[str] = None,
+ personal_desktop_assignment_type: Optional[Union[str, "PersonalDesktopAssignmentType"]] = None,
custom_rdp_property: Optional[str] = None,
max_session_limit: Optional[int] = None,
ring: Optional[int] = None,
validation_environment: Optional[bool] = None,
registration_info: Optional["RegistrationInfo"] = None,
vm_template: Optional[str] = None,
- sso_context: Optional[str] = None,
+ ssoadfs_authority: Optional[str] = None,
+ sso_client_id: Optional[str] = None,
+ sso_client_secret_key_vault_path: Optional[str] = None,
+ sso_secret_type: Optional[Union[str, "SsoSecretType"]] = None,
+ start_vm_on_connect: Optional[bool] = None,
+ migration_request: Optional["MigrationRequestProperties"] = None,
**kwargs
):
- super(HostPool, self).__init__(tags=tags, location=location, **kwargs)
+ super(HostPool, self).__init__(location=location, managed_by=managed_by, kind=kind, tags=tags, identity=identity, sku=sku, plan=plan, **kwargs)
+ self.object_id = None
self.friendly_name = friendly_name
self.description = description
self.host_pool_type = host_pool_type
@@ -675,7 +1037,14 @@ def __init__(
self.registration_info = registration_info
self.vm_template = vm_template
self.application_group_references = None
- self.sso_context = sso_context
+ self.ssoadfs_authority = ssoadfs_authority
+ self.sso_client_id = sso_client_id
+ self.sso_client_secret_key_vault_path = sso_client_secret_key_vault_path
+ self.sso_secret_type = sso_secret_type
+ self.preferred_app_group_type = preferred_app_group_type
+ self.start_vm_on_connect = start_vm_on_connect
+ self.migration_request = migration_request
+ self.cloud_pc_resource = None
class HostPoolList(msrest.serialization.Model):
@@ -714,13 +1083,13 @@ class HostPoolPatch(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param tags: A set of tags. tags to be updated.
:type tags: dict[str, str]
@@ -745,8 +1114,25 @@ class HostPoolPatch(Resource):
:type validation_environment: bool
:param registration_info: The registration info of HostPool.
:type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfoPatch
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param vm_template: VM template for sessionhosts configuration within hostpool.
+ :type vm_template: str
+ :param ssoadfs_authority: URL to customer ADFS server for signing WVD SSO certificates.
+ :type ssoadfs_authority: str
+ :param sso_client_id: ClientId for the registered Relying Party used to issue WVD SSO
+ certificates.
+ :type sso_client_id: str
+ :param sso_client_secret_key_vault_path: Path to Azure KeyVault storing the secret used for
+ communication to ADFS.
+ :type sso_client_secret_key_vault_path: str
+ :param sso_secret_type: The type of single sign on Secret Type. Possible values include:
+ "SharedKey", "Certificate", "SharedKeyInKeyVault", "CertificateInKeyVault".
+ :type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType
+ :param preferred_app_group_type: The type of preferred application group type, default to
+ Desktop Application Group. Possible values include: "None", "Desktop", "RailApplications".
+ :type preferred_app_group_type: str or
+ ~desktop_virtualization_api_client.models.PreferredAppGroupType
+ :param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature.
+ :type start_vm_on_connect: bool
"""
_validation = {
@@ -769,7 +1155,13 @@ class HostPoolPatch(Resource):
'ring': {'key': 'properties.ring', 'type': 'int'},
'validation_environment': {'key': 'properties.validationEnvironment', 'type': 'bool'},
'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfoPatch'},
- 'sso_context': {'key': 'properties.ssoContext', 'type': 'str'},
+ 'vm_template': {'key': 'properties.vmTemplate', 'type': 'str'},
+ 'ssoadfs_authority': {'key': 'properties.ssoadfsAuthority', 'type': 'str'},
+ 'sso_client_id': {'key': 'properties.ssoClientId', 'type': 'str'},
+ 'sso_client_secret_key_vault_path': {'key': 'properties.ssoClientSecretKeyVaultPath', 'type': 'str'},
+ 'sso_secret_type': {'key': 'properties.ssoSecretType', 'type': 'str'},
+ 'preferred_app_group_type': {'key': 'properties.preferredAppGroupType', 'type': 'str'},
+ 'start_vm_on_connect': {'key': 'properties.startVMOnConnect', 'type': 'bool'},
}
def __init__(
@@ -785,7 +1177,13 @@ def __init__(
ring: Optional[int] = None,
validation_environment: Optional[bool] = None,
registration_info: Optional["RegistrationInfoPatch"] = None,
- sso_context: Optional[str] = None,
+ vm_template: Optional[str] = None,
+ ssoadfs_authority: Optional[str] = None,
+ sso_client_id: Optional[str] = None,
+ sso_client_secret_key_vault_path: Optional[str] = None,
+ sso_secret_type: Optional[Union[str, "SsoSecretType"]] = None,
+ preferred_app_group_type: Optional[Union[str, "PreferredAppGroupType"]] = None,
+ start_vm_on_connect: Optional[bool] = None,
**kwargs
):
super(HostPoolPatch, self).__init__(**kwargs)
@@ -799,204 +1197,1232 @@ def __init__(
self.ring = ring
self.validation_environment = validation_environment
self.registration_info = registration_info
- self.sso_context = sso_context
+ self.vm_template = vm_template
+ self.ssoadfs_authority = ssoadfs_authority
+ self.sso_client_id = sso_client_id
+ self.sso_client_secret_key_vault_path = sso_client_secret_key_vault_path
+ self.sso_secret_type = sso_secret_type
+ self.preferred_app_group_type = preferred_app_group_type
+ self.start_vm_on_connect = start_vm_on_connect
-class RegistrationInfo(msrest.serialization.Model):
- """Represents a RegistrationInfo definition.
+class Identity(msrest.serialization.Model):
+ """Identity for the resource.
- :param expiration_time: Expiration time of registration token.
- :type expiration_time: ~datetime.datetime
- :param token: The registration token base64 encoded string.
- :type token: str
- :param registration_token_operation: The type of resetting the token. Possible values include:
- "Delete", "None", "Update".
- :type registration_token_operation: str or
- ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar principal_id: The principal ID of resource identity.
+ :vartype principal_id: str
+ :ivar tenant_id: The tenant ID of resource.
+ :vartype tenant_id: str
+ :ivar type: The identity type. Default value: "SystemAssigned".
+ :vartype type: str
"""
+ _validation = {
+ 'principal_id': {'readonly': True},
+ 'tenant_id': {'readonly': True},
+ 'type': {'constant': True},
+ }
+
_attribute_map = {
- 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
- 'token': {'key': 'token', 'type': 'str'},
- 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ 'principal_id': {'key': 'principalId', 'type': 'str'},
+ 'tenant_id': {'key': 'tenantId', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ }
+
+ type = "SystemAssigned"
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(Identity, self).__init__(**kwargs)
+ self.principal_id = None
+ self.tenant_id = None
+
+
+class LogSpecification(msrest.serialization.Model):
+ """Specifications of the Log for Azure Monitoring.
+
+ :param name: Name of the log.
+ :type name: str
+ :param display_name: Localized friendly display name of the log.
+ :type display_name: str
+ :param blob_duration: Blob duration of the log.
+ :type blob_duration: str
+ """
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'display_name': {'key': 'displayName', 'type': 'str'},
+ 'blob_duration': {'key': 'blobDuration', 'type': 'str'},
}
def __init__(
self,
*,
- expiration_time: Optional[datetime.datetime] = None,
- token: Optional[str] = None,
- registration_token_operation: Optional[Union[str, "RegistrationTokenOperation"]] = None,
+ name: Optional[str] = None,
+ display_name: Optional[str] = None,
+ blob_duration: Optional[str] = None,
**kwargs
):
- super(RegistrationInfo, self).__init__(**kwargs)
- self.expiration_time = expiration_time
- self.token = token
- self.registration_token_operation = registration_token_operation
+ super(LogSpecification, self).__init__(**kwargs)
+ self.name = name
+ self.display_name = display_name
+ self.blob_duration = blob_duration
-class RegistrationInfoPatch(msrest.serialization.Model):
- """Represents a RegistrationInfo definition.
+class MigrationRequestProperties(msrest.serialization.Model):
+ """Properties for arm migration.
- :param expiration_time: Expiration time of registration token.
- :type expiration_time: ~datetime.datetime
- :param registration_token_operation: The type of resetting the token. Possible values include:
- "Delete", "None", "Update".
- :type registration_token_operation: str or
- ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ :param operation: The type of operation for migration. Possible values include: "Start",
+ "Revoke", "Complete", "Hide", "Unhide".
+ :type operation: str or ~desktop_virtualization_api_client.models.Operation
+ :param migration_path: The path to the legacy object to migrate.
+ :type migration_path: str
"""
_attribute_map = {
- 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
- 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ 'operation': {'key': 'operation', 'type': 'str'},
+ 'migration_path': {'key': 'migrationPath', 'type': 'str'},
}
def __init__(
self,
*,
- expiration_time: Optional[datetime.datetime] = None,
- registration_token_operation: Optional[Union[str, "RegistrationTokenOperation"]] = None,
+ operation: Optional[Union[str, "Operation"]] = None,
+ migration_path: Optional[str] = None,
**kwargs
):
- super(RegistrationInfoPatch, self).__init__(**kwargs)
- self.expiration_time = expiration_time
- self.registration_token_operation = registration_token_operation
+ super(MigrationRequestProperties, self).__init__(**kwargs)
+ self.operation = operation
+ self.migration_path = migration_path
-class ResourceProviderOperation(msrest.serialization.Model):
- """Supported operation of this resource provider.
+class MsixImageUri(msrest.serialization.Model):
+ """Represents URI referring to MSIX Image.
- :param name: Operation name, in format of {provider}/{resource}/{operation}.
- :type name: str
- :param display: Display metadata associated with the operation.
- :type display: ~desktop_virtualization_api_client.models.ResourceProviderOperationDisplay
+ :param uri: URI to Image.
+ :type uri: str
"""
_attribute_map = {
- 'name': {'key': 'name', 'type': 'str'},
- 'display': {'key': 'display', 'type': 'ResourceProviderOperationDisplay'},
+ 'uri': {'key': 'uri', 'type': 'str'},
}
def __init__(
self,
*,
- name: Optional[str] = None,
- display: Optional["ResourceProviderOperationDisplay"] = None,
+ uri: Optional[str] = None,
**kwargs
):
- super(ResourceProviderOperation, self).__init__(**kwargs)
- self.name = name
- self.display = display
+ super(MsixImageUri, self).__init__(**kwargs)
+ self.uri = uri
-class ResourceProviderOperationDisplay(msrest.serialization.Model):
- """Display metadata associated with the operation.
+class MsixPackage(Resource):
+ """Schema for MSIX Package properties.
- :param provider: Resource provider: Microsoft Desktop Virtualization.
- :type provider: str
- :param resource: Resource on which the operation is performed.
- :type resource: str
- :param operation: Type of operation: get, read, delete, etc.
- :type operation: str
- :param description: Description of this operation.
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :param image_path: VHD/CIM image path on Network Share.
+ :type image_path: str
+ :param package_name: Package Name from appxmanifest.xml.
+ :type package_name: str
+ :param package_family_name: Package Family Name from appxmanifest.xml. Contains Package Name
+ and Publisher name.
+ :type package_family_name: str
+ :param display_name: User friendly Name to be displayed in the portal.
+ :type display_name: str
+ :param package_relative_path: Relative Path to the package inside the image.
+ :type package_relative_path: str
+ :param is_regular_registration: Specifies how to register Package in feed.
+ :type is_regular_registration: bool
+ :param is_active: Make this version of the package the active one across the hostpool.
+ :type is_active: bool
+ :param package_dependencies: List of package dependencies.
+ :type package_dependencies:
+ list[~desktop_virtualization_api_client.models.MsixPackageDependencies]
+ :param version: Package Version found in the appxmanifest.xml.
+ :type version: str
+ :param last_updated: Date Package was last updated, found in the appxmanifest.xml.
+ :type last_updated: ~datetime.datetime
+ :param package_applications: List of package applications.
+ :type package_applications:
+ list[~desktop_virtualization_api_client.models.MsixPackageApplications]
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'image_path': {'key': 'properties.imagePath', 'type': 'str'},
+ 'package_name': {'key': 'properties.packageName', 'type': 'str'},
+ 'package_family_name': {'key': 'properties.packageFamilyName', 'type': 'str'},
+ 'display_name': {'key': 'properties.displayName', 'type': 'str'},
+ 'package_relative_path': {'key': 'properties.packageRelativePath', 'type': 'str'},
+ 'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
+ 'is_active': {'key': 'properties.isActive', 'type': 'bool'},
+ 'package_dependencies': {'key': 'properties.packageDependencies', 'type': '[MsixPackageDependencies]'},
+ 'version': {'key': 'properties.version', 'type': 'str'},
+ 'last_updated': {'key': 'properties.lastUpdated', 'type': 'iso-8601'},
+ 'package_applications': {'key': 'properties.packageApplications', 'type': '[MsixPackageApplications]'},
+ }
+
+ def __init__(
+ self,
+ *,
+ image_path: Optional[str] = None,
+ package_name: Optional[str] = None,
+ package_family_name: Optional[str] = None,
+ display_name: Optional[str] = None,
+ package_relative_path: Optional[str] = None,
+ is_regular_registration: Optional[bool] = None,
+ is_active: Optional[bool] = None,
+ package_dependencies: Optional[List["MsixPackageDependencies"]] = None,
+ version: Optional[str] = None,
+ last_updated: Optional[datetime.datetime] = None,
+ package_applications: Optional[List["MsixPackageApplications"]] = None,
+ **kwargs
+ ):
+ super(MsixPackage, self).__init__(**kwargs)
+ self.image_path = image_path
+ self.package_name = package_name
+ self.package_family_name = package_family_name
+ self.display_name = display_name
+ self.package_relative_path = package_relative_path
+ self.is_regular_registration = is_regular_registration
+ self.is_active = is_active
+ self.package_dependencies = package_dependencies
+ self.version = version
+ self.last_updated = last_updated
+ self.package_applications = package_applications
+
+
+class MsixPackageApplications(msrest.serialization.Model):
+ """Schema for MSIX Package Application properties.
+
+ :param app_id: Package Application Id, found in appxmanifest.xml.
+ :type app_id: str
+ :param description: Description of Package Application.
:type description: str
+ :param app_user_model_id: Used to activate Package Application. Consists of Package Name and
+ ApplicationID. Found in appxmanifest.xml.
+ :type app_user_model_id: str
+ :param friendly_name: User friendly name.
+ :type friendly_name: str
+ :param icon_image_name: User friendly name.
+ :type icon_image_name: str
+ :param raw_icon: the icon a 64 bit string as a byte array.
+ :type raw_icon: bytearray
+ :param raw_png: the icon a 64 bit string as a byte array.
+ :type raw_png: bytearray
"""
_attribute_map = {
- 'provider': {'key': 'provider', 'type': 'str'},
- 'resource': {'key': 'resource', 'type': 'str'},
- 'operation': {'key': 'operation', 'type': 'str'},
+ 'app_id': {'key': 'appId', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
+ 'app_user_model_id': {'key': 'appUserModelID', 'type': 'str'},
+ 'friendly_name': {'key': 'friendlyName', 'type': 'str'},
+ 'icon_image_name': {'key': 'iconImageName', 'type': 'str'},
+ 'raw_icon': {'key': 'rawIcon', 'type': 'bytearray'},
+ 'raw_png': {'key': 'rawPng', 'type': 'bytearray'},
}
def __init__(
self,
*,
- provider: Optional[str] = None,
- resource: Optional[str] = None,
- operation: Optional[str] = None,
+ app_id: Optional[str] = None,
description: Optional[str] = None,
+ app_user_model_id: Optional[str] = None,
+ friendly_name: Optional[str] = None,
+ icon_image_name: Optional[str] = None,
+ raw_icon: Optional[bytearray] = None,
+ raw_png: Optional[bytearray] = None,
**kwargs
):
- super(ResourceProviderOperationDisplay, self).__init__(**kwargs)
- self.provider = provider
- self.resource = resource
- self.operation = operation
+ super(MsixPackageApplications, self).__init__(**kwargs)
+ self.app_id = app_id
self.description = description
+ self.app_user_model_id = app_user_model_id
+ self.friendly_name = friendly_name
+ self.icon_image_name = icon_image_name
+ self.raw_icon = raw_icon
+ self.raw_png = raw_png
-class ResourceProviderOperationList(msrest.serialization.Model):
- """Result of the request to list operations.
+class MsixPackageDependencies(msrest.serialization.Model):
+ """Schema for MSIX Package Dependencies properties.
- :param value: List of operations supported by this resource provider.
- :type value: list[~desktop_virtualization_api_client.models.ResourceProviderOperation]
+ :param dependency_name: Name of package dependency.
+ :type dependency_name: str
+ :param publisher: Name of dependency publisher.
+ :type publisher: str
+ :param min_version: Dependency version required.
+ :type min_version: str
"""
_attribute_map = {
- 'value': {'key': 'value', 'type': '[ResourceProviderOperation]'},
+ 'dependency_name': {'key': 'dependencyName', 'type': 'str'},
+ 'publisher': {'key': 'publisher', 'type': 'str'},
+ 'min_version': {'key': 'minVersion', 'type': 'str'},
}
def __init__(
self,
*,
- value: Optional[List["ResourceProviderOperation"]] = None,
+ dependency_name: Optional[str] = None,
+ publisher: Optional[str] = None,
+ min_version: Optional[str] = None,
**kwargs
):
- super(ResourceProviderOperationList, self).__init__(**kwargs)
- self.value = value
+ super(MsixPackageDependencies, self).__init__(**kwargs)
+ self.dependency_name = dependency_name
+ self.publisher = publisher
+ self.min_version = min_version
-class SendMessage(msrest.serialization.Model):
- """Represents message sent to a UserSession.
+class MsixPackageList(msrest.serialization.Model):
+ """List of MSIX Package definitions.
- :param message_title: Title of message.
- :type message_title: str
- :param message_body: Body of message.
- :type message_body: str
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :param value: List of MSIX Package definitions.
+ :type value: list[~desktop_virtualization_api_client.models.MsixPackage]
+ :ivar next_link: Link to the next page of results.
+ :vartype next_link: str
"""
+ _validation = {
+ 'next_link': {'readonly': True},
+ }
+
_attribute_map = {
- 'message_title': {'key': 'messageTitle', 'type': 'str'},
- 'message_body': {'key': 'messageBody', 'type': 'str'},
+ 'value': {'key': 'value', 'type': '[MsixPackage]'},
+ 'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
- message_title: Optional[str] = None,
- message_body: Optional[str] = None,
+ value: Optional[List["MsixPackage"]] = None,
**kwargs
):
- super(SendMessage, self).__init__(**kwargs)
- self.message_title = message_title
- self.message_body = message_body
+ super(MsixPackageList, self).__init__(**kwargs)
+ self.value = value
+ self.next_link = None
-class SessionHost(Resource):
- """Represents a SessionHost definition.
+class MsixPackagePatch(Resource):
+ """MSIX Package properties that can be patched.
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
- :param last_heart_beat: Last heart beat from SessionHost.
- :type last_heart_beat: ~datetime.datetime
- :param sessions: Number of sessions on SessionHost.
- :type sessions: int
- :param agent_version: Version of agent on SessionHost.
+ :param is_active: Set a version of the package to be active across hostpool.
+ :type is_active: bool
+ :param is_regular_registration: Set Registration mode. Regular or Delayed.
+ :type is_regular_registration: bool
+ :param display_name: Display name for MSIX Package.
+ :type display_name: str
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'is_active': {'key': 'properties.isActive', 'type': 'bool'},
+ 'is_regular_registration': {'key': 'properties.isRegularRegistration', 'type': 'bool'},
+ 'display_name': {'key': 'properties.displayName', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ is_active: Optional[bool] = None,
+ is_regular_registration: Optional[bool] = None,
+ display_name: Optional[str] = None,
+ **kwargs
+ ):
+ super(MsixPackagePatch, self).__init__(**kwargs)
+ self.is_active = is_active
+ self.is_regular_registration = is_regular_registration
+ self.display_name = display_name
+
+
+class OperationProperties(msrest.serialization.Model):
+ """Properties of the operation.
+
+ :param service_specification: Service specification payload.
+ :type service_specification: ~desktop_virtualization_api_client.models.ServiceSpecification
+ """
+
+ _attribute_map = {
+ 'service_specification': {'key': 'serviceSpecification', 'type': 'ServiceSpecification'},
+ }
+
+ def __init__(
+ self,
+ *,
+ service_specification: Optional["ServiceSpecification"] = None,
+ **kwargs
+ ):
+ super(OperationProperties, self).__init__(**kwargs)
+ self.service_specification = service_specification
+
+
+class Plan(msrest.serialization.Model):
+ """Plan for the resource.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ :type name: str
+ :param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g.
+ NewRelic.
+ :type publisher: str
+ :param product: Required. 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 product: str
+ :param promotion_code: A publisher provided promotion code as provisioned in Data Market for
+ the said product/artifact.
+ :type promotion_code: str
+ :param version: The version of the desired product/artifact.
+ :type version: str
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ 'publisher': {'required': True},
+ 'product': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'publisher': {'key': 'publisher', 'type': 'str'},
+ 'product': {'key': 'product', 'type': 'str'},
+ 'promotion_code': {'key': 'promotionCode', 'type': 'str'},
+ 'version': {'key': 'version', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ name: str,
+ publisher: str,
+ product: str,
+ promotion_code: Optional[str] = None,
+ version: Optional[str] = None,
+ **kwargs
+ ):
+ super(Plan, self).__init__(**kwargs)
+ self.name = name
+ self.publisher = publisher
+ self.product = product
+ self.promotion_code = promotion_code
+ self.version = version
+
+
+class RegistrationInfo(msrest.serialization.Model):
+ """Represents a RegistrationInfo definition.
+
+ :param expiration_time: Expiration time of registration token.
+ :type expiration_time: ~datetime.datetime
+ :param token: The registration token base64 encoded string.
+ :type token: str
+ :param registration_token_operation: The type of resetting the token. Possible values include:
+ "Delete", "None", "Update".
+ :type registration_token_operation: str or
+ ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ """
+
+ _attribute_map = {
+ 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
+ 'token': {'key': 'token', 'type': 'str'},
+ 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ expiration_time: Optional[datetime.datetime] = None,
+ token: Optional[str] = None,
+ registration_token_operation: Optional[Union[str, "RegistrationTokenOperation"]] = None,
+ **kwargs
+ ):
+ super(RegistrationInfo, self).__init__(**kwargs)
+ self.expiration_time = expiration_time
+ self.token = token
+ self.registration_token_operation = registration_token_operation
+
+
+class RegistrationInfoPatch(msrest.serialization.Model):
+ """Represents a RegistrationInfo definition.
+
+ :param expiration_time: Expiration time of registration token.
+ :type expiration_time: ~datetime.datetime
+ :param registration_token_operation: The type of resetting the token. Possible values include:
+ "Delete", "None", "Update".
+ :type registration_token_operation: str or
+ ~desktop_virtualization_api_client.models.RegistrationTokenOperation
+ """
+
+ _attribute_map = {
+ 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'},
+ 'registration_token_operation': {'key': 'registrationTokenOperation', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ expiration_time: Optional[datetime.datetime] = None,
+ registration_token_operation: Optional[Union[str, "RegistrationTokenOperation"]] = None,
+ **kwargs
+ ):
+ super(RegistrationInfoPatch, self).__init__(**kwargs)
+ self.expiration_time = expiration_time
+ self.registration_token_operation = registration_token_operation
+
+
+class ResourceModelWithAllowedPropertySetIdentity(Identity):
+ """ResourceModelWithAllowedPropertySetIdentity.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar principal_id: The principal ID of resource identity.
+ :vartype principal_id: str
+ :ivar tenant_id: The tenant ID of resource.
+ :vartype tenant_id: str
+ :ivar type: The identity type. Default value: "SystemAssigned".
+ :vartype type: str
+ """
+
+ _validation = {
+ 'principal_id': {'readonly': True},
+ 'tenant_id': {'readonly': True},
+ 'type': {'constant': True},
+ }
+
+ _attribute_map = {
+ 'principal_id': {'key': 'principalId', 'type': 'str'},
+ 'tenant_id': {'key': 'tenantId', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ }
+
+ type = "SystemAssigned"
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(ResourceModelWithAllowedPropertySetIdentity, self).__init__(**kwargs)
+
+
+class ResourceModelWithAllowedPropertySetPlan(Plan):
+ """ResourceModelWithAllowedPropertySetPlan.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. A user defined name of the 3rd Party Artifact that is being procured.
+ :type name: str
+ :param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g.
+ NewRelic.
+ :type publisher: str
+ :param product: Required. 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 product: str
+ :param promotion_code: A publisher provided promotion code as provisioned in Data Market for
+ the said product/artifact.
+ :type promotion_code: str
+ :param version: The version of the desired product/artifact.
+ :type version: str
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ 'publisher': {'required': True},
+ 'product': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'publisher': {'key': 'publisher', 'type': 'str'},
+ 'product': {'key': 'product', 'type': 'str'},
+ 'promotion_code': {'key': 'promotionCode', 'type': 'str'},
+ 'version': {'key': 'version', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ name: str,
+ publisher: str,
+ product: str,
+ promotion_code: Optional[str] = None,
+ version: Optional[str] = None,
+ **kwargs
+ ):
+ super(ResourceModelWithAllowedPropertySetPlan, self).__init__(name=name, publisher=publisher, product=product, promotion_code=promotion_code, version=version, **kwargs)
+
+
+class Sku(msrest.serialization.Model):
+ """The resource model definition representing SKU.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code.
+ :type name: str
+ :param tier: 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. Possible values include: "Free", "Basic",
+ "Standard", "Premium".
+ :type tier: str or ~desktop_virtualization_api_client.models.SkuTier
+ :param size: The SKU size. When the name field is the combination of tier and some other value,
+ this would be the standalone code.
+ :type size: str
+ :param family: If the service has different generations of hardware, for the same SKU, then
+ that can be captured here.
+ :type family: str
+ :param capacity: 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.
+ :type capacity: int
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'tier': {'key': 'tier', 'type': 'str'},
+ 'size': {'key': 'size', 'type': 'str'},
+ 'family': {'key': 'family', 'type': 'str'},
+ 'capacity': {'key': 'capacity', 'type': 'int'},
+ }
+
+ def __init__(
+ self,
+ *,
+ name: str,
+ tier: Optional[Union[str, "SkuTier"]] = None,
+ size: Optional[str] = None,
+ family: Optional[str] = None,
+ capacity: Optional[int] = None,
+ **kwargs
+ ):
+ super(Sku, self).__init__(**kwargs)
+ self.name = name
+ self.tier = tier
+ self.size = size
+ self.family = family
+ self.capacity = capacity
+
+
+class ResourceModelWithAllowedPropertySetSku(Sku):
+ """ResourceModelWithAllowedPropertySetSku.
+
+ All required parameters must be populated in order to send to Azure.
+
+ :param name: Required. The name of the SKU. Ex - P3. It is typically a letter+number code.
+ :type name: str
+ :param tier: 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. Possible values include: "Free", "Basic",
+ "Standard", "Premium".
+ :type tier: str or ~desktop_virtualization_api_client.models.SkuTier
+ :param size: The SKU size. When the name field is the combination of tier and some other value,
+ this would be the standalone code.
+ :type size: str
+ :param family: If the service has different generations of hardware, for the same SKU, then
+ that can be captured here.
+ :type family: str
+ :param capacity: 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.
+ :type capacity: int
+ """
+
+ _validation = {
+ 'name': {'required': True},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'tier': {'key': 'tier', 'type': 'str'},
+ 'size': {'key': 'size', 'type': 'str'},
+ 'family': {'key': 'family', 'type': 'str'},
+ 'capacity': {'key': 'capacity', 'type': 'int'},
+ }
+
+ def __init__(
+ self,
+ *,
+ name: str,
+ tier: Optional[Union[str, "SkuTier"]] = None,
+ size: Optional[str] = None,
+ family: Optional[str] = None,
+ capacity: Optional[int] = None,
+ **kwargs
+ ):
+ super(ResourceModelWithAllowedPropertySetSku, self).__init__(name=name, tier=tier, size=size, family=family, capacity=capacity, **kwargs)
+
+
+class ResourceProviderOperation(msrest.serialization.Model):
+ """Supported operation of this resource provider.
+
+ :param name: Operation name, in format of {provider}/{resource}/{operation}.
+ :type name: str
+ :param display: Display metadata associated with the operation.
+ :type display: ~desktop_virtualization_api_client.models.ResourceProviderOperationDisplay
+ :param is_data_action: Is a data action.
+ :type is_data_action: bool
+ :param properties: Properties of the operation.
+ :type properties: ~desktop_virtualization_api_client.models.OperationProperties
+ """
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'display': {'key': 'display', 'type': 'ResourceProviderOperationDisplay'},
+ 'is_data_action': {'key': 'isDataAction', 'type': 'bool'},
+ 'properties': {'key': 'properties', 'type': 'OperationProperties'},
+ }
+
+ def __init__(
+ self,
+ *,
+ name: Optional[str] = None,
+ display: Optional["ResourceProviderOperationDisplay"] = None,
+ is_data_action: Optional[bool] = None,
+ properties: Optional["OperationProperties"] = None,
+ **kwargs
+ ):
+ super(ResourceProviderOperation, self).__init__(**kwargs)
+ self.name = name
+ self.display = display
+ self.is_data_action = is_data_action
+ self.properties = properties
+
+
+class ResourceProviderOperationDisplay(msrest.serialization.Model):
+ """Display metadata associated with the operation.
+
+ :param provider: Resource provider: Microsoft Desktop Virtualization.
+ :type provider: str
+ :param resource: Resource on which the operation is performed.
+ :type resource: str
+ :param operation: Type of operation: get, read, delete, etc.
+ :type operation: str
+ :param description: Description of this operation.
+ :type description: str
+ """
+
+ _attribute_map = {
+ 'provider': {'key': 'provider', 'type': 'str'},
+ 'resource': {'key': 'resource', 'type': 'str'},
+ 'operation': {'key': 'operation', 'type': 'str'},
+ 'description': {'key': 'description', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ provider: Optional[str] = None,
+ resource: Optional[str] = None,
+ operation: Optional[str] = None,
+ description: Optional[str] = None,
+ **kwargs
+ ):
+ super(ResourceProviderOperationDisplay, self).__init__(**kwargs)
+ self.provider = provider
+ self.resource = resource
+ self.operation = operation
+ self.description = description
+
+
+class ResourceProviderOperationList(msrest.serialization.Model):
+ """Result of the request to list operations.
+
+ :param value: List of operations supported by this resource provider.
+ :type value: list[~desktop_virtualization_api_client.models.ResourceProviderOperation]
+ """
+
+ _attribute_map = {
+ 'value': {'key': 'value', 'type': '[ResourceProviderOperation]'},
+ }
+
+ def __init__(
+ self,
+ *,
+ value: Optional[List["ResourceProviderOperation"]] = None,
+ **kwargs
+ ):
+ super(ResourceProviderOperationList, self).__init__(**kwargs)
+ self.value = value
+
+
+class ScalingHostPoolReference(msrest.serialization.Model):
+ """Scaling plan reference to hostpool.
+
+ :param host_pool_arm_path: Arm path of referenced hostpool.
+ :type host_pool_arm_path: str
+ :param scaling_plan_enabled: Is the scaling plan enabled for this hostpool.
+ :type scaling_plan_enabled: bool
+ """
+
+ _attribute_map = {
+ 'host_pool_arm_path': {'key': 'hostPoolArmPath', 'type': 'str'},
+ 'scaling_plan_enabled': {'key': 'scalingPlanEnabled', 'type': 'bool'},
+ }
+
+ def __init__(
+ self,
+ *,
+ host_pool_arm_path: Optional[str] = None,
+ scaling_plan_enabled: Optional[bool] = None,
+ **kwargs
+ ):
+ super(ScalingHostPoolReference, self).__init__(**kwargs)
+ self.host_pool_arm_path = host_pool_arm_path
+ self.scaling_plan_enabled = scaling_plan_enabled
+
+
+class ScalingPlan(ResourceModelWithAllowedPropertySet):
+ """Represents a scaling plan definition.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
+ :param tags: A set of tags. Resource tags.
+ :type tags: dict[str, str]
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of scaling plan. (internal use).
+ :vartype object_id: str
+ :param description: Description of scaling plan.
+ :type description: str
+ :param friendly_name: User friendly name of scaling plan.
+ :type friendly_name: str
+ :param time_zone: Timezone of the scaling plan.
+ :type time_zone: str
+ :param host_pool_type: HostPool type for desktop. Possible values include: "Personal",
+ "Pooled", "BYODesktop".
+ :type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
+ :param exclusion_tag: Exclusion tag for scaling plan.
+ :type exclusion_tag: str
+ :param schedules: List of ScalingSchedule definitions.
+ :type schedules: list[~desktop_virtualization_api_client.models.ScalingSchedule]
+ :param host_pool_references: List of ScalingHostPoolReference definitions.
+ :type host_pool_references:
+ list[~desktop_virtualization_api_client.models.ScalingHostPoolReference]
+ """
+
+ _validation = {
+ 'id': {'readonly': True},
+ 'name': {'readonly': True},
+ 'type': {'readonly': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'id': {'key': 'id', 'type': 'str'},
+ 'name': {'key': 'name', 'type': 'str'},
+ 'type': {'key': 'type', 'type': 'str'},
+ 'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
+ 'description': {'key': 'properties.description', 'type': 'str'},
+ 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
+ 'time_zone': {'key': 'properties.timeZone', 'type': 'str'},
+ 'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
+ 'exclusion_tag': {'key': 'properties.exclusionTag', 'type': 'str'},
+ 'schedules': {'key': 'properties.schedules', 'type': '[ScalingSchedule]'},
+ 'host_pool_references': {'key': 'properties.hostPoolReferences', 'type': '[ScalingHostPoolReference]'},
+ }
+
+ def __init__(
+ self,
+ *,
+ location: Optional[str] = None,
+ managed_by: Optional[str] = None,
+ kind: Optional[str] = None,
+ tags: Optional[Dict[str, str]] = None,
+ identity: Optional["Identity"] = None,
+ sku: Optional["Sku"] = None,
+ plan: Optional["Plan"] = None,
+ description: Optional[str] = None,
+ friendly_name: Optional[str] = None,
+ time_zone: Optional[str] = None,
+ host_pool_type: Optional[Union[str, "HostPoolType"]] = None,
+ exclusion_tag: Optional[str] = None,
+ schedules: Optional[List["ScalingSchedule"]] = None,
+ host_pool_references: Optional[List["ScalingHostPoolReference"]] = None,
+ **kwargs
+ ):
+ super(ScalingPlan, self).__init__(location=location, managed_by=managed_by, kind=kind, tags=tags, identity=identity, sku=sku, plan=plan, **kwargs)
+ self.object_id = None
+ self.description = description
+ self.friendly_name = friendly_name
+ self.time_zone = time_zone
+ self.host_pool_type = host_pool_type
+ self.exclusion_tag = exclusion_tag
+ self.schedules = schedules
+ self.host_pool_references = host_pool_references
+
+
+class ScalingPlanList(msrest.serialization.Model):
+ """List of scaling plan definitions.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :param value: List of scaling plan definitions.
+ :type value: list[~desktop_virtualization_api_client.models.ScalingPlan]
+ :ivar next_link: Link to the next page of results.
+ :vartype next_link: str
+ """
+
+ _validation = {
+ 'next_link': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'value': {'key': 'value', 'type': '[ScalingPlan]'},
+ 'next_link': {'key': 'nextLink', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ value: Optional[List["ScalingPlan"]] = None,
+ **kwargs
+ ):
+ super(ScalingPlanList, self).__init__(**kwargs)
+ self.value = value
+ self.next_link = None
+
+
+class ScalingPlanPatch(msrest.serialization.Model):
+ """Scaling plan properties that can be patched.
+
+ :param tags: A set of tags. tags to be updated.
+ :type tags: dict[str, str]
+ :param description: Description of scaling plan.
+ :type description: str
+ :param friendly_name: User friendly name of scaling plan.
+ :type friendly_name: str
+ :param time_zone: Timezone of the scaling plan.
+ :type time_zone: str
+ :param host_pool_type: HostPool type for desktop. Possible values include: "Personal",
+ "Pooled", "BYODesktop".
+ :type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
+ :param exclusion_tag: Exclusion tag for scaling plan.
+ :type exclusion_tag: str
+ :param schedules: List of ScalingSchedule definitions.
+ :type schedules: list[~desktop_virtualization_api_client.models.ScalingSchedule]
+ :param host_pool_references: List of ScalingHostPoolReference definitions.
+ :type host_pool_references:
+ list[~desktop_virtualization_api_client.models.ScalingHostPoolReference]
+ """
+
+ _attribute_map = {
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'description': {'key': 'properties.description', 'type': 'str'},
+ 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
+ 'time_zone': {'key': 'properties.timeZone', 'type': 'str'},
+ 'host_pool_type': {'key': 'properties.hostPoolType', 'type': 'str'},
+ 'exclusion_tag': {'key': 'properties.exclusionTag', 'type': 'str'},
+ 'schedules': {'key': 'properties.schedules', 'type': '[ScalingSchedule]'},
+ 'host_pool_references': {'key': 'properties.hostPoolReferences', 'type': '[ScalingHostPoolReference]'},
+ }
+
+ def __init__(
+ self,
+ *,
+ tags: Optional[Dict[str, str]] = None,
+ description: Optional[str] = None,
+ friendly_name: Optional[str] = None,
+ time_zone: Optional[str] = None,
+ host_pool_type: Optional[Union[str, "HostPoolType"]] = None,
+ exclusion_tag: Optional[str] = None,
+ schedules: Optional[List["ScalingSchedule"]] = None,
+ host_pool_references: Optional[List["ScalingHostPoolReference"]] = None,
+ **kwargs
+ ):
+ super(ScalingPlanPatch, self).__init__(**kwargs)
+ self.tags = tags
+ self.description = description
+ self.friendly_name = friendly_name
+ self.time_zone = time_zone
+ self.host_pool_type = host_pool_type
+ self.exclusion_tag = exclusion_tag
+ self.schedules = schedules
+ self.host_pool_references = host_pool_references
+
+
+class ScalingSchedule(msrest.serialization.Model):
+ """Scaling plan schedule.
+
+ :param name: Name of the scaling schedule.
+ :type name: str
+ :param days_of_week: Set of days of the week on which this schedule is active.
+ :type days_of_week: list[str or
+ ~desktop_virtualization_api_client.models.ScalingScheduleDaysOfWeekItem]
+ :param ramp_up_start_time: Starting time for ramp up period.
+ :type ramp_up_start_time: ~datetime.datetime
+ :param ramp_up_load_balancing_algorithm: Load balancing algorithm for ramp up period. Possible
+ values include: "BreadthFirst", "DepthFirst".
+ :type ramp_up_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ :param ramp_up_minimum_hosts_pct: Minimum host percentage for ramp up period.
+ :type ramp_up_minimum_hosts_pct: int
+ :param ramp_up_capacity_threshold_pct: Capacity threshold for ramp up period.
+ :type ramp_up_capacity_threshold_pct: int
+ :param peak_start_time: Starting time for peak period.
+ :type peak_start_time: ~datetime.datetime
+ :param peak_load_balancing_algorithm: Load balancing algorithm for peak period. Possible values
+ include: "BreadthFirst", "DepthFirst".
+ :type peak_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ :param ramp_down_start_time: Starting time for ramp down period.
+ :type ramp_down_start_time: ~datetime.datetime
+ :param ramp_down_load_balancing_algorithm: Load balancing algorithm for ramp down period.
+ Possible values include: "BreadthFirst", "DepthFirst".
+ :type ramp_down_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ :param ramp_down_minimum_hosts_pct: Minimum host percentage for ramp down period.
+ :type ramp_down_minimum_hosts_pct: int
+ :param ramp_down_capacity_threshold_pct: Capacity threshold for ramp down period.
+ :type ramp_down_capacity_threshold_pct: int
+ :param ramp_down_force_logoff_users: Should users be logged off forcefully from hosts.
+ :type ramp_down_force_logoff_users: bool
+ :param ramp_down_stop_hosts_when: Specifies when to stop hosts during ramp down period.
+ Possible values include: "ZeroSessions", "ZeroActiveSessions".
+ :type ramp_down_stop_hosts_when: str or ~desktop_virtualization_api_client.models.StopHostsWhen
+ :param ramp_down_wait_time_minutes: Number of minutes to wait to stop hosts during ramp down
+ period.
+ :type ramp_down_wait_time_minutes: int
+ :param ramp_down_notification_message: Notification message for users during ramp down period.
+ :type ramp_down_notification_message: str
+ :param off_peak_start_time: Starting time for off-peak period.
+ :type off_peak_start_time: ~datetime.datetime
+ :param off_peak_load_balancing_algorithm: Load balancing algorithm for off-peak period.
+ Possible values include: "BreadthFirst", "DepthFirst".
+ :type off_peak_load_balancing_algorithm: str or
+ ~desktop_virtualization_api_client.models.SessionHostLoadBalancingAlgorithm
+ """
+
+ _validation = {
+ 'ramp_up_minimum_hosts_pct': {'maximum': 100, 'minimum': 0},
+ 'ramp_up_capacity_threshold_pct': {'maximum': 100, 'minimum': 0},
+ 'ramp_down_minimum_hosts_pct': {'maximum': 100, 'minimum': 0},
+ 'ramp_down_capacity_threshold_pct': {'maximum': 100, 'minimum': 0},
+ }
+
+ _attribute_map = {
+ 'name': {'key': 'name', 'type': 'str'},
+ 'days_of_week': {'key': 'daysOfWeek', 'type': '[str]'},
+ 'ramp_up_start_time': {'key': 'rampUpStartTime', 'type': 'iso-8601'},
+ 'ramp_up_load_balancing_algorithm': {'key': 'rampUpLoadBalancingAlgorithm', 'type': 'str'},
+ 'ramp_up_minimum_hosts_pct': {'key': 'rampUpMinimumHostsPct', 'type': 'int'},
+ 'ramp_up_capacity_threshold_pct': {'key': 'rampUpCapacityThresholdPct', 'type': 'int'},
+ 'peak_start_time': {'key': 'peakStartTime', 'type': 'iso-8601'},
+ 'peak_load_balancing_algorithm': {'key': 'peakLoadBalancingAlgorithm', 'type': 'str'},
+ 'ramp_down_start_time': {'key': 'rampDownStartTime', 'type': 'iso-8601'},
+ 'ramp_down_load_balancing_algorithm': {'key': 'rampDownLoadBalancingAlgorithm', 'type': 'str'},
+ 'ramp_down_minimum_hosts_pct': {'key': 'rampDownMinimumHostsPct', 'type': 'int'},
+ 'ramp_down_capacity_threshold_pct': {'key': 'rampDownCapacityThresholdPct', 'type': 'int'},
+ 'ramp_down_force_logoff_users': {'key': 'rampDownForceLogoffUsers', 'type': 'bool'},
+ 'ramp_down_stop_hosts_when': {'key': 'rampDownStopHostsWhen', 'type': 'str'},
+ 'ramp_down_wait_time_minutes': {'key': 'rampDownWaitTimeMinutes', 'type': 'int'},
+ 'ramp_down_notification_message': {'key': 'rampDownNotificationMessage', 'type': 'str'},
+ 'off_peak_start_time': {'key': 'offPeakStartTime', 'type': 'iso-8601'},
+ 'off_peak_load_balancing_algorithm': {'key': 'offPeakLoadBalancingAlgorithm', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ name: Optional[str] = None,
+ days_of_week: Optional[List[Union[str, "ScalingScheduleDaysOfWeekItem"]]] = None,
+ ramp_up_start_time: Optional[datetime.datetime] = None,
+ ramp_up_load_balancing_algorithm: Optional[Union[str, "SessionHostLoadBalancingAlgorithm"]] = None,
+ ramp_up_minimum_hosts_pct: Optional[int] = None,
+ ramp_up_capacity_threshold_pct: Optional[int] = None,
+ peak_start_time: Optional[datetime.datetime] = None,
+ peak_load_balancing_algorithm: Optional[Union[str, "SessionHostLoadBalancingAlgorithm"]] = None,
+ ramp_down_start_time: Optional[datetime.datetime] = None,
+ ramp_down_load_balancing_algorithm: Optional[Union[str, "SessionHostLoadBalancingAlgorithm"]] = None,
+ ramp_down_minimum_hosts_pct: Optional[int] = None,
+ ramp_down_capacity_threshold_pct: Optional[int] = None,
+ ramp_down_force_logoff_users: Optional[bool] = None,
+ ramp_down_stop_hosts_when: Optional[Union[str, "StopHostsWhen"]] = None,
+ ramp_down_wait_time_minutes: Optional[int] = None,
+ ramp_down_notification_message: Optional[str] = None,
+ off_peak_start_time: Optional[datetime.datetime] = None,
+ off_peak_load_balancing_algorithm: Optional[Union[str, "SessionHostLoadBalancingAlgorithm"]] = None,
+ **kwargs
+ ):
+ super(ScalingSchedule, self).__init__(**kwargs)
+ self.name = name
+ self.days_of_week = days_of_week
+ self.ramp_up_start_time = ramp_up_start_time
+ self.ramp_up_load_balancing_algorithm = ramp_up_load_balancing_algorithm
+ self.ramp_up_minimum_hosts_pct = ramp_up_minimum_hosts_pct
+ self.ramp_up_capacity_threshold_pct = ramp_up_capacity_threshold_pct
+ self.peak_start_time = peak_start_time
+ self.peak_load_balancing_algorithm = peak_load_balancing_algorithm
+ self.ramp_down_start_time = ramp_down_start_time
+ self.ramp_down_load_balancing_algorithm = ramp_down_load_balancing_algorithm
+ self.ramp_down_minimum_hosts_pct = ramp_down_minimum_hosts_pct
+ self.ramp_down_capacity_threshold_pct = ramp_down_capacity_threshold_pct
+ self.ramp_down_force_logoff_users = ramp_down_force_logoff_users
+ self.ramp_down_stop_hosts_when = ramp_down_stop_hosts_when
+ self.ramp_down_wait_time_minutes = ramp_down_wait_time_minutes
+ self.ramp_down_notification_message = ramp_down_notification_message
+ self.off_peak_start_time = off_peak_start_time
+ self.off_peak_load_balancing_algorithm = off_peak_load_balancing_algorithm
+
+
+class SendMessage(msrest.serialization.Model):
+ """Represents message sent to a UserSession.
+
+ :param message_title: Title of message.
+ :type message_title: str
+ :param message_body: Body of message.
+ :type message_body: str
+ """
+
+ _attribute_map = {
+ 'message_title': {'key': 'messageTitle', 'type': 'str'},
+ 'message_body': {'key': 'messageBody', 'type': 'str'},
+ }
+
+ def __init__(
+ self,
+ *,
+ message_title: Optional[str] = None,
+ message_body: Optional[str] = None,
+ **kwargs
+ ):
+ super(SendMessage, self).__init__(**kwargs)
+ self.message_title = message_title
+ self.message_body = message_body
+
+
+class ServiceSpecification(msrest.serialization.Model):
+ """Service specification payload.
+
+ :param log_specifications: Specifications of the Log for Azure Monitoring.
+ :type log_specifications: list[~desktop_virtualization_api_client.models.LogSpecification]
+ """
+
+ _attribute_map = {
+ 'log_specifications': {'key': 'logSpecifications', 'type': '[LogSpecification]'},
+ }
+
+ def __init__(
+ self,
+ *,
+ log_specifications: Optional[List["LogSpecification"]] = None,
+ **kwargs
+ ):
+ super(ServiceSpecification, self).__init__(**kwargs)
+ self.log_specifications = log_specifications
+
+
+class SessionHost(Resource):
+ """Represents a SessionHost definition.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar id: Fully qualified resource ID for the resource. Ex -
+ /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
+ :vartype id: str
+ :ivar name: The name of the resource.
+ :vartype name: str
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
+ :vartype type: str
+ :ivar object_id: ObjectId of SessionHost. (internal use).
+ :vartype object_id: str
+ :param last_heart_beat: Last heart beat from SessionHost.
+ :type last_heart_beat: ~datetime.datetime
+ :param sessions: Number of sessions on SessionHost.
+ :type sessions: int
+ :param agent_version: Version of agent on SessionHost.
:type agent_version: str
:param allow_new_session: Allow a new session.
:type allow_new_session: bool
+ :ivar virtual_machine_id: Virtual Machine Id of SessionHost's underlying virtual machine.
+ :vartype virtual_machine_id: str
+ :ivar resource_id: Resource Id of SessionHost's underlying virtual machine.
+ :vartype resource_id: str
:param assigned_user: User assigned to SessionHost.
:type assigned_user: str
:param status: Status for a SessionHost. Possible values include: "Available", "Unavailable",
- "Shutdown", "Disconnected", "Upgrading", "UpgradeFailed".
+ "Shutdown", "Disconnected", "Upgrading", "UpgradeFailed", "NoHeartbeat", "NotJoinedToDomain",
+ "DomainTrustRelationshipLost", "SxSStackListenerNotReady", "FSLogixNotHealthy",
+ "NeedsAssistance".
:type status: str or ~desktop_virtualization_api_client.models.Status
:ivar status_timestamp: The timestamp of the status.
:vartype status_timestamp: ~datetime.datetime
@@ -1011,24 +2437,34 @@ class SessionHost(Resource):
:vartype last_update_time: ~datetime.datetime
:param update_error_message: The error message.
:type update_error_message: str
+ :ivar session_host_health_check_results: List of SessionHostHealthCheckReports.
+ :vartype session_host_health_check_results:
+ list[~desktop_virtualization_api_client.models.SessionHostHealthCheckReport]
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
+ 'object_id': {'readonly': True},
+ 'virtual_machine_id': {'readonly': True},
+ 'resource_id': {'readonly': True},
'status_timestamp': {'readonly': True},
'last_update_time': {'readonly': True},
+ 'session_host_health_check_results': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'last_heart_beat': {'key': 'properties.lastHeartBeat', 'type': 'iso-8601'},
'sessions': {'key': 'properties.sessions', 'type': 'int'},
'agent_version': {'key': 'properties.agentVersion', 'type': 'str'},
'allow_new_session': {'key': 'properties.allowNewSession', 'type': 'bool'},
+ 'virtual_machine_id': {'key': 'properties.virtualMachineId', 'type': 'str'},
+ 'resource_id': {'key': 'properties.resourceId', 'type': 'str'},
'assigned_user': {'key': 'properties.assignedUser', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'status_timestamp': {'key': 'properties.statusTimestamp', 'type': 'iso-8601'},
@@ -1037,6 +2473,7 @@ class SessionHost(Resource):
'update_state': {'key': 'properties.updateState', 'type': 'str'},
'last_update_time': {'key': 'properties.lastUpdateTime', 'type': 'iso-8601'},
'update_error_message': {'key': 'properties.updateErrorMessage', 'type': 'str'},
+ 'session_host_health_check_results': {'key': 'properties.sessionHostHealthCheckResults', 'type': '[SessionHostHealthCheckReport]'},
}
def __init__(
@@ -1055,10 +2492,13 @@ def __init__(
**kwargs
):
super(SessionHost, self).__init__(**kwargs)
+ self.object_id = None
self.last_heart_beat = last_heart_beat
self.sessions = sessions
self.agent_version = agent_version
self.allow_new_session = allow_new_session
+ self.virtual_machine_id = None
+ self.resource_id = None
self.assigned_user = assigned_user
self.status = status
self.status_timestamp = None
@@ -1067,6 +2507,85 @@ def __init__(
self.update_state = update_state
self.last_update_time = None
self.update_error_message = update_error_message
+ self.session_host_health_check_results = None
+
+
+class SessionHostHealthCheckFailureDetails(msrest.serialization.Model):
+ """Contains details on the failure.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar message: Failure message: hints on what is wrong and how to recover.
+ :vartype message: str
+ :ivar error_code: Error code corresponding for the failure.
+ :vartype error_code: int
+ :ivar last_health_check_date_time: The timestamp of the last update.
+ :vartype last_health_check_date_time: ~datetime.datetime
+ """
+
+ _validation = {
+ 'message': {'readonly': True},
+ 'error_code': {'readonly': True},
+ 'last_health_check_date_time': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'message': {'key': 'message', 'type': 'str'},
+ 'error_code': {'key': 'errorCode', 'type': 'int'},
+ 'last_health_check_date_time': {'key': 'lastHealthCheckDateTime', 'type': 'iso-8601'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(SessionHostHealthCheckFailureDetails, self).__init__(**kwargs)
+ self.message = None
+ self.error_code = None
+ self.last_health_check_date_time = None
+
+
+class SessionHostHealthCheckReport(msrest.serialization.Model):
+ """The report for session host information.
+
+ Variables are only populated by the server, and will be ignored when sending a request.
+
+ :ivar health_check_name: Represents the name of the health check operation performed. Possible
+ values include: "DomainJoinedCheck", "DomainTrustCheck", "FSLogixHealthCheck",
+ "SxSStackListenerCheck", "UrlsAccessibleCheck", "MonitoringAgentCheck", "DomainReachable",
+ "WebRTCRedirectorCheck", "SupportedEncryptionCheck", "MetaDataServiceCheck",
+ "AppAttachHealthCheck".
+ :vartype health_check_name: str or ~desktop_virtualization_api_client.models.HealthCheckName
+ :ivar health_check_result: Represents the Health state of the health check we performed.
+ Possible values include: "Unknown", "HealthCheckSucceeded", "HealthCheckFailed",
+ "SessionHostShutdown".
+ :vartype health_check_result: str or
+ ~desktop_virtualization_api_client.models.HealthCheckResult
+ :ivar additional_failure_details: Additional detailed information on the failure.
+ :vartype additional_failure_details:
+ ~desktop_virtualization_api_client.models.SessionHostHealthCheckFailureDetails
+ """
+
+ _validation = {
+ 'health_check_name': {'readonly': True},
+ 'health_check_result': {'readonly': True},
+ 'additional_failure_details': {'readonly': True},
+ }
+
+ _attribute_map = {
+ 'health_check_name': {'key': 'healthCheckName', 'type': 'str'},
+ 'health_check_result': {'key': 'healthCheckResult', 'type': 'str'},
+ 'additional_failure_details': {'key': 'additionalFailureDetails', 'type': 'SessionHostHealthCheckFailureDetails'},
+ }
+
+ def __init__(
+ self,
+ **kwargs
+ ):
+ super(SessionHostHealthCheckReport, self).__init__(**kwargs)
+ self.health_check_name = None
+ self.health_check_result = None
+ self.additional_failure_details = None
class SessionHostList(msrest.serialization.Model):
@@ -1105,13 +2624,13 @@ class SessionHostPatch(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param allow_new_session: Allow a new session.
:type allow_new_session: bool
@@ -1150,18 +2669,16 @@ class StartMenuItem(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
:param app_alias: Alias of StartMenuItem.
:type app_alias: str
- :param friendly_name: Friendly name of StartMenuItem.
- :type friendly_name: str
:param file_path: Path to the file of StartMenuItem.
:type file_path: str
:param command_line_arguments: Command line arguments for StartMenuItem.
@@ -1183,7 +2700,6 @@ class StartMenuItem(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'app_alias': {'key': 'properties.appAlias', 'type': 'str'},
- 'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'file_path': {'key': 'properties.filePath', 'type': 'str'},
'command_line_arguments': {'key': 'properties.commandLineArguments', 'type': 'str'},
'icon_path': {'key': 'properties.iconPath', 'type': 'str'},
@@ -1194,7 +2710,6 @@ def __init__(
self,
*,
app_alias: Optional[str] = None,
- friendly_name: Optional[str] = None,
file_path: Optional[str] = None,
command_line_arguments: Optional[str] = None,
icon_path: Optional[str] = None,
@@ -1203,7 +2718,6 @@ def __init__(
):
super(StartMenuItem, self).__init__(**kwargs)
self.app_alias = app_alias
- self.friendly_name = friendly_name
self.file_path = file_path
self.command_line_arguments = command_line_arguments
self.icon_path = icon_path
@@ -1246,14 +2760,16 @@ class UserSession(Resource):
Variables are only populated by the server, and will be ignored when sending a request.
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :ivar object_id: ObjectId of user session. (internal use).
+ :vartype object_id: str
:param user_principal_name: The user principal name.
:type user_principal_name: str
:param application_type: Application type of application. Possible values include: "RemoteApp",
@@ -1272,12 +2788,14 @@ class UserSession(Resource):
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
+ 'object_id': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'user_principal_name': {'key': 'properties.userPrincipalName', 'type': 'str'},
'application_type': {'key': 'properties.applicationType', 'type': 'str'},
'session_state': {'key': 'properties.sessionState', 'type': 'str'},
@@ -1296,6 +2814,7 @@ def __init__(
**kwargs
):
super(UserSession, self).__init__(**kwargs)
+ self.object_id = None
self.user_principal_name = user_principal_name
self.application_type = application_type
self.session_state = session_state
@@ -1334,65 +2853,106 @@ def __init__(
self.next_link = None
-class Workspace(TrackedResource):
+class Workspace(ResourceModelWithAllowedPropertySet):
"""Represents a Workspace definition.
Variables are only populated by the server, and will be ignored when sending a request.
- All required parameters must be populated in order to send to Azure.
-
- :ivar id: Fully qualified resource Id for the resource. Ex -
+ :ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
:ivar name: The name of the resource.
:vartype name: str
- :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- Microsoft.Storage/storageAccounts.
+ :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
+ "Microsoft.Storage/storageAccounts".
:vartype type: str
+ :param location: The geo-location where the resource lives.
+ :type location: str
+ :param managed_by: 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 managed_by: str
+ :param kind: 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.
+ :type kind: str
+ :ivar etag: The etag field is *not* required. If it is provided in the response body, it must
+ also be provided as a header per the normal etag convention. Entity tags are used for
+ comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
+ the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
+ (section 14.27) header fields.
+ :vartype etag: str
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
- :param location: Required. The geo-location where the resource lives.
- :type location: str
+ :param identity: Identity for the resource.
+ :type identity: ~desktop_virtualization_api_client.models.Identity
+ :param sku: The resource model definition representing SKU.
+ :type sku: ~desktop_virtualization_api_client.models.Sku
+ :param plan: Plan for the resource.
+ :type plan: ~desktop_virtualization_api_client.models.Plan
+ :ivar object_id: ObjectId of Workspace. (internal use).
+ :vartype object_id: str
:param description: Description of Workspace.
:type description: str
:param friendly_name: Friendly name of Workspace.
:type friendly_name: str
:param application_group_references: List of applicationGroup resource Ids.
:type application_group_references: list[str]
+ :ivar cloud_pc_resource: Is cloud pc resource.
+ :vartype cloud_pc_resource: bool
"""
_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
- 'location': {'required': True},
+ 'kind': {'pattern': r'^[-\w\._,\(\)]+$'},
+ 'etag': {'readonly': True},
+ 'object_id': {'readonly': True},
+ 'cloud_pc_resource': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
- 'tags': {'key': 'tags', 'type': '{str}'},
'location': {'key': 'location', 'type': 'str'},
+ 'managed_by': {'key': 'managedBy', 'type': 'str'},
+ 'kind': {'key': 'kind', 'type': 'str'},
+ 'etag': {'key': 'etag', 'type': 'str'},
+ 'tags': {'key': 'tags', 'type': '{str}'},
+ 'identity': {'key': 'identity', 'type': 'Identity'},
+ 'sku': {'key': 'sku', 'type': 'Sku'},
+ 'plan': {'key': 'plan', 'type': 'Plan'},
+ 'object_id': {'key': 'properties.objectId', 'type': 'str'},
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'application_group_references': {'key': 'properties.applicationGroupReferences', 'type': '[str]'},
+ 'cloud_pc_resource': {'key': 'properties.cloudPcResource', 'type': 'bool'},
}
def __init__(
self,
*,
- location: str,
+ location: Optional[str] = None,
+ managed_by: Optional[str] = None,
+ kind: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
+ identity: Optional["Identity"] = None,
+ sku: Optional["Sku"] = None,
+ plan: Optional["Plan"] = None,
description: Optional[str] = None,
friendly_name: Optional[str] = None,
application_group_references: Optional[List[str]] = None,
**kwargs
):
- super(Workspace, self).__init__(tags=tags, location=location, **kwargs)
+ super(Workspace, self).__init__(location=location, managed_by=managed_by, kind=kind, tags=tags, identity=identity, sku=sku, plan=plan, **kwargs)
+ self.object_id = None
self.description = description
self.friendly_name = friendly_name
self.application_group_references = application_group_references
+ self.cloud_pc_resource = None
class WorkspaceList(msrest.serialization.Model):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/__init__.py
index 08f1a117a4f..7fecc9b4d93 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/__init__.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/__init__.py
@@ -6,28 +6,30 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
-from ._operation_operations import OperationOperations
-from ._workspace_operations import WorkspaceOperations
-from ._application_group_assignment_operations import ApplicationGroupAssignmentOperations
-from ._application_group_operations import ApplicationGroupOperations
-from ._start_menu_item_operations import StartMenuItemOperations
-from ._application_operations import ApplicationOperations
-from ._desktop_operations import DesktopOperations
-from ._host_pool_operations import HostPoolOperations
-from ._user_session_operations import UserSessionOperations
-from ._session_host_operations import SessionHostOperations
-from ._active_application_operations import ActiveApplicationOperations
+from ._operations import Operations
+from ._workspaces_operations import WorkspacesOperations
+from ._scaling_plans_operations import ScalingPlansOperations
+from ._application_groups_operations import ApplicationGroupsOperations
+from ._start_menu_items_operations import StartMenuItemsOperations
+from ._applications_operations import ApplicationsOperations
+from ._desktops_operations import DesktopsOperations
+from ._host_pools_operations import HostPoolsOperations
+from ._user_sessions_operations import UserSessionsOperations
+from ._session_hosts_operations import SessionHostsOperations
+from ._msix_packages_operations import MsixPackagesOperations
+from ._msix_images_operations import MsixImagesOperations
__all__ = [
- 'OperationOperations',
- 'WorkspaceOperations',
- 'ApplicationGroupAssignmentOperations',
- 'ApplicationGroupOperations',
- 'StartMenuItemOperations',
- 'ApplicationOperations',
- 'DesktopOperations',
- 'HostPoolOperations',
- 'UserSessionOperations',
- 'SessionHostOperations',
- 'ActiveApplicationOperations',
+ 'Operations',
+ 'WorkspacesOperations',
+ 'ScalingPlansOperations',
+ 'ApplicationGroupsOperations',
+ 'StartMenuItemsOperations',
+ 'ApplicationsOperations',
+ 'DesktopsOperations',
+ 'HostPoolsOperations',
+ 'UserSessionsOperations',
+ 'SessionHostsOperations',
+ 'MsixPackagesOperations',
+ 'MsixImagesOperations',
]
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_assignment_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_assignment_operations.py
deleted file mode 100644
index 3ec2fa1ba14..00000000000
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_assignment_operations.py
+++ /dev/null
@@ -1,124 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-from typing import TYPE_CHECKING
-import warnings
-
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
-from azure.core.paging import ItemPaged
-from azure.core.pipeline import PipelineResponse
-from azure.core.pipeline.transport import HttpRequest, HttpResponse
-from azure.mgmt.core.exceptions import ARMErrorFormat
-
-from .. import models
-
-if TYPE_CHECKING:
- # pylint: disable=unused-import,ungrouped-imports
- from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar
-
- T = TypeVar('T')
- ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-
-class ApplicationGroupAssignmentOperations(object):
- """ApplicationGroupAssignmentOperations operations.
-
- You should not instantiate this class directly. Instead, you should create a Client instance that
- instantiates it for you and attaches it as an attribute.
-
- :ivar models: Alias to model classes used in this operation group.
- :type models: ~desktop_virtualization_api_client.models
- :param client: Client for service requests.
- :param config: Configuration of service client.
- :param serializer: An object model serializer.
- :param deserializer: An object model deserializer.
- """
-
- models = models
-
- def __init__(self, client, config, serializer, deserializer):
- self._client = client
- self._serialize = serializer
- self._deserialize = deserializer
- self._config = config
-
- def workspace_level_list(
- self,
- resource_group_name, # type: str
- workspace_name, # type: str
- filter=None, # type: Optional[str]
- **kwargs # type: Any
- ):
- # type: (...) -> Iterable["models.ApplicationGroupList"]
- """List application group that user can use.
-
- :param resource_group_name: The name of the resource group. The name is case insensitive.
- :type resource_group_name: str
- :param workspace_name: The name of the workspace.
- :type workspace_name: str
- :param filter: OData filter expression. Valid properties for filtering are
- applicationGroupType.
- :type filter: str
- :keyword callable cls: A custom type or function that will be passed the direct response
- :return: An iterator like instance of either ApplicationGroupList or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~desktop_virtualization_api_client.models.ApplicationGroupList]
- :raises: ~azure.core.exceptions.HttpResponseError
- """
- cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroupList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
- error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
-
- def prepare_request(next_link=None):
- if not next_link:
- # Construct URL
- url = self.workspace_level_list.metadata['url'] # type: ignore
- path_format_arguments = {
- 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
- }
- url = self._client.format_url(url, **path_format_arguments)
- # Construct parameters
- query_parameters = {} # type: Dict[str, Any]
- query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
- if filter is not None:
- query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
-
- else:
- url = next_link
- query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
- return request
-
- def extract_data(pipeline_response):
- deserialized = self._deserialize('ApplicationGroupList', pipeline_response)
- list_of_elem = deserialized.value
- if cls:
- list_of_elem = cls(list_of_elem)
- return deserialized.next_link or None, iter(list_of_elem)
-
- def get_next(next_link=None):
- request = prepare_request(next_link)
-
- pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
- response = pipeline_response.http_response
-
- if response.status_code not in [200]:
- map_error(status_code=response.status_code, response=response, error_map=error_map)
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
-
- return pipeline_response
-
- return ItemPaged(
- get_next, extract_data
- )
- workspace_level_list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/userApplicationGroupAssignments'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_groups_operations.py
similarity index 83%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_groups_operations.py
index 7ab3e5b6dec..2f01fac13c1 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_groups_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -23,8 +23,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class ApplicationGroupOperations(object):
- """ApplicationGroupOperations operations.
+class ApplicationGroupsOperations(object):
+ """ApplicationGroupsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -64,16 +64,19 @@ def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroup"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -83,9 +86,8 @@ def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -106,12 +108,7 @@ def create_or_update(
self,
resource_group_name, # type: str
application_group_name, # type: str
- location, # type: str
- host_pool_arm_path, # type: str
- application_group_type, # type: Union[str, "models.ApplicationGroupType"]
- tags=None, # type: Optional[Dict[str, str]]
- description=None, # type: Optional[str]
- friendly_name=None, # type: Optional[str]
+ application_group, # type: "models.ApplicationGroup"
**kwargs # type: Any
):
# type: (...) -> "models.ApplicationGroup"
@@ -121,37 +118,28 @@ def create_or_update(
:type resource_group_name: str
:param application_group_name: The name of the application group.
:type application_group_name: str
- :param location: The geo-location where the resource lives.
- :type location: str
- :param host_pool_arm_path: HostPool arm path of ApplicationGroup.
- :type host_pool_arm_path: str
- :param application_group_type: Resource Type of ApplicationGroup.
- :type application_group_type: str or ~desktop_virtualization_api_client.models.ApplicationGroupType
- :param tags: Resource tags.
- :type tags: dict[str, str]
- :param description: Description of ApplicationGroup.
- :type description: str
- :param friendly_name: Friendly name of ApplicationGroup.
- :type friendly_name: str
+ :param application_group: Object containing ApplicationGroup definitions.
+ :type application_group: ~desktop_virtualization_api_client.models.ApplicationGroup
:keyword callable cls: A custom type or function that will be passed the direct response
:return: ApplicationGroup, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.ApplicationGroup
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroup"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application_group = models.ApplicationGroup(tags=tags, location=location, description=description, friendly_name=friendly_name, host_pool_arm_path=host_pool_arm_path, application_group_type=application_group_type)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -162,14 +150,12 @@ def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_application_group, 'ApplicationGroup')
+ body_content = self._serialize.body(application_group, 'ApplicationGroup')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -177,7 +163,6 @@ def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('ApplicationGroup', pipeline_response)
@@ -209,16 +194,19 @@ def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -228,8 +216,8 @@ def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -247,9 +235,7 @@ def update(
self,
resource_group_name, # type: str
application_group_name, # type: str
- tags=None, # type: Optional[Dict[str, str]]
- description=None, # type: Optional[str]
- friendly_name=None, # type: Optional[str]
+ application_group=None, # type: Optional["models.ApplicationGroupPatch"]
**kwargs # type: Any
):
# type: (...) -> "models.ApplicationGroup"
@@ -259,31 +245,28 @@ def update(
:type resource_group_name: str
:param application_group_name: The name of the application group.
:type application_group_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of ApplicationGroup.
- :type description: str
- :param friendly_name: Friendly name of ApplicationGroup.
- :type friendly_name: str
+ :param application_group: Object containing ApplicationGroup definitions.
+ :type application_group: ~desktop_virtualization_api_client.models.ApplicationGroupPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: ApplicationGroup, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.ApplicationGroup
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroup"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application_group = models.ApplicationGroupPatch(tags=tags, description=description, friendly_name=friendly_name)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -294,17 +277,15 @@ def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _application_group is not None:
- body_content = self._serialize.body(_application_group, 'ApplicationGroupPatch')
+ if application_group is not None:
+ body_content = self._serialize.body(application_group, 'ApplicationGroupPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -332,7 +313,7 @@ def list_by_resource_group(
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param filter: OData filter expression. Valid properties for filtering are
- applicationGroupType.
+ applicationGroupType.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ApplicationGroupList or the result of cls(response)
@@ -340,11 +321,18 @@ def list_by_resource_group(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroupList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
@@ -359,15 +347,11 @@ def prepare_request(next_link=None):
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
@@ -403,7 +387,7 @@ def list_by_subscription(
"""List applicationGroups in subscription.
:param filter: OData filter expression. Valid properties for filtering are
- applicationGroupType.
+ applicationGroupType.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ApplicationGroupList or the result of cls(response)
@@ -411,11 +395,18 @@ def list_by_subscription(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationGroupList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_subscription.metadata['url'] # type: ignore
@@ -429,15 +420,11 @@ def prepare_request(next_link=None):
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_applications_operations.py
similarity index 75%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_applications_operations.py
index aa4c4afcc2b..02cd9be09a4 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_applications_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -23,8 +23,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class ApplicationOperations(object):
- """ApplicationOperations operations.
+class ApplicationsOperations(object):
+ """ApplicationsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -67,16 +67,19 @@ def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Application"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -87,9 +90,8 @@ def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -111,14 +113,7 @@ def create_or_update(
resource_group_name, # type: str
application_group_name, # type: str
application_name, # type: str
- command_line_setting, # type: Union[str, "models.CommandLineSetting"]
- description=None, # type: Optional[str]
- friendly_name=None, # type: Optional[str]
- file_path=None, # type: Optional[str]
- command_line_arguments=None, # type: Optional[str]
- show_in_portal=None, # type: Optional[bool]
- icon_path=None, # type: Optional[str]
- icon_index=None, # type: Optional[int]
+ application, # type: "models.Application"
**kwargs # type: Any
):
# type: (...) -> "models.Application"
@@ -130,44 +125,28 @@ def create_or_update(
:type application_group_name: str
:param application_name: The name of the application within the specified application group.
:type application_name: str
- :param command_line_setting: 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.
- :type command_line_setting: str or ~desktop_virtualization_api_client.models.CommandLineSetting
- :param description: Description of Application.
- :type description: str
- :param friendly_name: Friendly name of Application.
- :type friendly_name: str
- :param file_path: Specifies a path for the executable file for the application.
- :type file_path: str
- :param command_line_arguments: Command Line Arguments for Application.
- :type command_line_arguments: str
- :param show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access
- server.
- :type show_in_portal: bool
- :param icon_path: Path to icon.
- :type icon_path: str
- :param icon_index: Index of the icon.
- :type icon_index: int
+ :param application: Object containing Application definitions.
+ :type application: ~desktop_virtualization_api_client.models.Application
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Application, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Application
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Application"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application = models.Application(description=description, friendly_name=friendly_name, file_path=file_path, command_line_setting=command_line_setting, command_line_arguments=command_line_arguments, show_in_portal=show_in_portal, icon_path=icon_path, icon_index=icon_index)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -179,14 +158,12 @@ def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_application, 'Application')
+ body_content = self._serialize.body(application, 'Application')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -194,7 +171,6 @@ def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('Application', pipeline_response)
@@ -229,16 +205,19 @@ def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -249,8 +228,8 @@ def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -269,15 +248,7 @@ def update(
resource_group_name, # type: str
application_group_name, # type: str
application_name, # type: str
- tags=None, # type: Optional[Dict[str, str]]
- description=None, # type: Optional[str]
- friendly_name=None, # type: Optional[str]
- file_path=None, # type: Optional[str]
- command_line_setting=None, # type: Optional[Union[str, "models.CommandLineSetting"]]
- command_line_arguments=None, # type: Optional[str]
- show_in_portal=None, # type: Optional[bool]
- icon_path=None, # type: Optional[str]
- icon_index=None, # type: Optional[int]
+ application=None, # type: Optional["models.ApplicationPatch"]
**kwargs # type: Any
):
# type: (...) -> "models.Application"
@@ -289,46 +260,28 @@ def update(
:type application_group_name: str
:param application_name: The name of the application within the specified application group.
:type application_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of Application.
- :type description: str
- :param friendly_name: Friendly name of Application.
- :type friendly_name: str
- :param file_path: Specifies a path for the executable file for the application.
- :type file_path: str
- :param command_line_setting: 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.
- :type command_line_setting: str or ~desktop_virtualization_api_client.models.CommandLineSetting
- :param command_line_arguments: Command Line Arguments for Application.
- :type command_line_arguments: str
- :param show_in_portal: Specifies whether to show the RemoteApp program in the RD Web Access
- server.
- :type show_in_portal: bool
- :param icon_path: Path to icon.
- :type icon_path: str
- :param icon_index: Index of the icon.
- :type icon_index: int
+ :param application: Object containing Application definitions.
+ :type application: ~desktop_virtualization_api_client.models.ApplicationPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Application, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Application
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Application"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _application = models.ApplicationPatch(tags=tags, description=description, friendly_name=friendly_name, file_path=file_path, command_line_setting=command_line_setting, command_line_arguments=command_line_arguments, show_in_portal=show_in_portal, icon_path=icon_path, icon_index=icon_index)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'applicationName': self._serialize.url("application_name", application_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -340,17 +293,15 @@ def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _application is not None:
- body_content = self._serialize.body(_application, 'ApplicationPatch')
+ if application is not None:
+ body_content = self._serialize.body(application, 'ApplicationPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -385,33 +336,36 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktop_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktops_operations.py
similarity index 86%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktop_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktops_operations.py
index 0d844be1080..85b86d6cf96 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktop_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktops_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -22,8 +22,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class DesktopOperations(object):
- """DesktopOperations operations.
+class DesktopsOperations(object):
+ """DesktopsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -66,16 +66,19 @@ def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Desktop"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'desktopName': self._serialize.url("desktop_name", desktop_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -86,9 +89,8 @@ def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -110,9 +112,7 @@ def update(
resource_group_name, # type: str
application_group_name, # type: str
desktop_name, # type: str
- tags=None, # type: Optional[Dict[str, str]]
- description=None, # type: Optional[str]
- friendly_name=None, # type: Optional[str]
+ desktop=None, # type: Optional["models.DesktopPatch"]
**kwargs # type: Any
):
# type: (...) -> "models.Desktop"
@@ -124,31 +124,28 @@ def update(
:type application_group_name: str
:param desktop_name: The name of the desktop within the specified desktop group.
:type desktop_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of Desktop.
- :type description: str
- :param friendly_name: Friendly name of Desktop.
- :type friendly_name: str
+ :param desktop: Object containing Desktop definitions.
+ :type desktop: ~desktop_virtualization_api_client.models.DesktopPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Desktop, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Desktop
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Desktop"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _desktop = models.DesktopPatch(tags=tags, description=description, friendly_name=friendly_name)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
'desktopName': self._serialize.url("desktop_name", desktop_name, 'str', max_length=24, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -160,17 +157,15 @@ def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _desktop is not None:
- body_content = self._serialize.body(_desktop, 'DesktopPatch')
+ if desktop is not None:
+ body_content = self._serialize.body(desktop, 'DesktopPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -205,16 +200,19 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.DesktopList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -224,9 +222,8 @@ def list(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pool_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pools_operations.py
similarity index 71%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pool_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pools_operations.py
index 855d0c0470d..1755a8bae49 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pool_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pools_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -23,8 +23,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class HostPoolOperations(object):
- """HostPoolOperations operations.
+class HostPoolsOperations(object):
+ """HostPoolsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -64,16 +64,19 @@ def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPool"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -83,9 +86,8 @@ def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -106,20 +108,7 @@ def create_or_update(
self,
resource_group_name, # type: str
host_pool_name, # type: str
- location, # type: str
- host_pool_type, # type: Union[str, "models.HostPoolType"]
- personal_desktop_assignment_type, # type: Union[str, "models.PersonalDesktopAssignmentType"]
- load_balancer_type, # type: Union[str, "models.LoadBalancerType"]
- tags=None, # type: Optional[Dict[str, str]]
- friendly_name=None, # type: Optional[str]
- description=None, # type: Optional[str]
- custom_rdp_property=None, # type: Optional[str]
- max_session_limit=None, # type: Optional[int]
- ring=None, # type: Optional[int]
- validation_environment=None, # type: Optional[bool]
- registration_info=None, # type: Optional["models.RegistrationInfo"]
- vm_template=None, # type: Optional[str]
- sso_context=None, # type: Optional[str]
+ host_pool, # type: "models.HostPool"
**kwargs # type: Any
):
# type: (...) -> "models.HostPool"
@@ -129,53 +118,28 @@ def create_or_update(
:type resource_group_name: str
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
- :param location: The geo-location where the resource lives.
- :type location: str
- :param host_pool_type: HostPool type for desktop.
- :type host_pool_type: str or ~desktop_virtualization_api_client.models.HostPoolType
- :param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool.
- :type personal_desktop_assignment_type: str or ~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
- :param load_balancer_type: The type of the load balancer.
- :type load_balancer_type: str or ~desktop_virtualization_api_client.models.LoadBalancerType
- :param tags: Resource tags.
- :type tags: dict[str, str]
- :param friendly_name: Friendly name of HostPool.
- :type friendly_name: str
- :param description: Description of HostPool.
- :type description: str
- :param custom_rdp_property: Custom rdp property of HostPool.
- :type custom_rdp_property: str
- :param max_session_limit: The max session limit of HostPool.
- :type max_session_limit: int
- :param ring: The ring number of HostPool.
- :type ring: int
- :param validation_environment: Is validation environment.
- :type validation_environment: bool
- :param registration_info: The registration info of HostPool.
- :type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfo
- :param vm_template: VM template for sessionhosts configuration within hostpool.
- :type vm_template: str
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param host_pool: Object containing HostPool definitions.
+ :type host_pool: ~desktop_virtualization_api_client.models.HostPool
:keyword callable cls: A custom type or function that will be passed the direct response
:return: HostPool, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.HostPool
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPool"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _host_pool = models.HostPool(tags=tags, location=location, friendly_name=friendly_name, description=description, host_pool_type=host_pool_type, personal_desktop_assignment_type=personal_desktop_assignment_type, custom_rdp_property=custom_rdp_property, max_session_limit=max_session_limit, load_balancer_type=load_balancer_type, ring=ring, validation_environment=validation_environment, registration_info=registration_info, vm_template=vm_template, sso_context=sso_context)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -186,14 +150,12 @@ def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_host_pool, 'HostPool')
+ body_content = self._serialize.body(host_pool, 'HostPool')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -201,7 +163,6 @@ def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('HostPool', pipeline_response)
@@ -236,16 +197,19 @@ def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -257,8 +221,8 @@ def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -276,17 +240,7 @@ def update(
self,
resource_group_name, # type: str
host_pool_name, # type: str
- tags=None, # type: Optional[Dict[str, str]]
- friendly_name=None, # type: Optional[str]
- description=None, # type: Optional[str]
- custom_rdp_property=None, # type: Optional[str]
- max_session_limit=None, # type: Optional[int]
- personal_desktop_assignment_type=None, # type: Optional[Union[str, "models.PersonalDesktopAssignmentType"]]
- load_balancer_type=None, # type: Optional[Union[str, "models.LoadBalancerType"]]
- ring=None, # type: Optional[int]
- validation_environment=None, # type: Optional[bool]
- registration_info=None, # type: Optional["models.RegistrationInfoPatch"]
- sso_context=None, # type: Optional[str]
+ host_pool=None, # type: Optional["models.HostPoolPatch"]
**kwargs # type: Any
):
# type: (...) -> "models.HostPool"
@@ -296,47 +250,28 @@ def update(
:type resource_group_name: str
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param friendly_name: Friendly name of HostPool.
- :type friendly_name: str
- :param description: Description of HostPool.
- :type description: str
- :param custom_rdp_property: Custom rdp property of HostPool.
- :type custom_rdp_property: str
- :param max_session_limit: The max session limit of HostPool.
- :type max_session_limit: int
- :param personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool.
- :type personal_desktop_assignment_type: str or ~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType
- :param load_balancer_type: The type of the load balancer.
- :type load_balancer_type: str or ~desktop_virtualization_api_client.models.LoadBalancerType
- :param ring: The ring number of HostPool.
- :type ring: int
- :param validation_environment: Is validation environment.
- :type validation_environment: bool
- :param registration_info: The registration info of HostPool.
- :type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfoPatch
- :param sso_context: Path to keyvault containing ssoContext secret.
- :type sso_context: str
+ :param host_pool: Object containing HostPool definitions.
+ :type host_pool: ~desktop_virtualization_api_client.models.HostPoolPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: HostPool, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.HostPool
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPool"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _host_pool = models.HostPoolPatch(tags=tags, friendly_name=friendly_name, description=description, custom_rdp_property=custom_rdp_property, max_session_limit=max_session_limit, personal_desktop_assignment_type=personal_desktop_assignment_type, load_balancer_type=load_balancer_type, ring=ring, validation_environment=validation_environment, registration_info=registration_info, sso_context=sso_context)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -347,17 +282,15 @@ def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _host_pool is not None:
- body_content = self._serialize.body(_host_pool, 'HostPoolPatch')
+ if host_pool is not None:
+ body_content = self._serialize.body(host_pool, 'HostPoolPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -389,11 +322,18 @@ def list_by_resource_group(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPoolList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
@@ -406,15 +346,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
@@ -454,11 +390,18 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.HostPoolList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
@@ -470,15 +413,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
@@ -504,3 +443,62 @@ def get_next(next_link=None):
get_next, extract_data
)
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools'} # type: ignore
+
+ def retrieve_registration_token(
+ self,
+ resource_group_name, # type: str
+ host_pool_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> "models.RegistrationInfo"
+ """Registration token of the host pool.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: RegistrationInfo, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.RegistrationInfo
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.RegistrationInfo"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.retrieve_registration_token.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.post(url, query_parameters, header_parameters)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('RegistrationInfo', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ retrieve_registration_token.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/retrieveRegistrationToken'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_active_application_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_images_operations.py
similarity index 65%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_active_application_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_images_operations.py
index 59f1de40ddf..186011745c0 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_active_application_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_images_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -23,8 +23,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class ActiveApplicationOperations(object):
- """ActiveApplicationOperations operations.
+class MsixImagesOperations(object):
+ """MsixImagesOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -45,66 +45,70 @@ def __init__(self, client, config, serializer, deserializer):
self._deserialize = deserializer
self._config = config
- def list_by_session_host(
+ def expand(
self,
resource_group_name, # type: str
host_pool_name, # type: str
- session_host_name, # type: str
- filter=None, # type: Optional[str]
+ msix_image_uri, # type: "models.MsixImageUri"
**kwargs # type: Any
):
- # type: (...) -> Iterable["models.ApplicationList"]
- """List applications for the given session host.
+ # type: (...) -> Iterable["models.ExpandMsixImageList"]
+ """Expands and Lists MSIX packages in an Image, given the Image Path.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
- :param session_host_name: The name of the session host within the specified host pool.
- :type session_host_name: str
- :param filter: OData filter expression. Valid properties for filtering are userprincipalname
- and sessionstate.
- :type filter: str
+ :param msix_image_uri: Object containing URI to MSIX Image.
+ :type msix_image_uri: ~desktop_virtualization_api_client.models.MsixImageUri
:keyword callable cls: A custom type or function that will be passed the direct response
- :return: An iterator like instance of either ApplicationList or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~desktop_virtualization_api_client.models.ApplicationList]
+ :return: An iterator like instance of either ExpandMsixImageList or the result of cls(response)
+ :rtype: ~azure.core.paging.ItemPaged[~desktop_virtualization_api_client.models.ExpandMsixImageList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
- cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ExpandMsixImageList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ content_type = "application/json"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
- url = self.list_by_session_host.metadata['url'] # type: ignore
+ url = self.expand.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
- 'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
- if filter is not None:
- query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(msix_image_uri, 'MsixImageUri')
+ body_content_kwargs['content'] = body_content
+ request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(msix_image_uri, 'MsixImageUri')
+ body_content_kwargs['content'] = body_content
+ request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs)
return request
def extract_data(pipeline_response):
- deserialized = self._deserialize('ApplicationList', pipeline_response)
+ deserialized = self._deserialize('ExpandMsixImageList', pipeline_response)
list_of_elem = deserialized.value
if cls:
list_of_elem = cls(list_of_elem)
@@ -125,4 +129,4 @@ def get_next(next_link=None):
return ItemPaged(
get_next, extract_data
)
- list_by_session_host.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/activeApplications'} # type: ignore
+ expand.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/expandMsixImage'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_packages_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_packages_operations.py
new file mode 100644
index 00000000000..5bba9c07077
--- /dev/null
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_packages_operations.py
@@ -0,0 +1,397 @@
+# coding=utf-8
+# --------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# --------------------------------------------------------------------------
+from typing import TYPE_CHECKING
+import warnings
+
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.paging import ItemPaged
+from azure.core.pipeline import PipelineResponse
+from azure.core.pipeline.transport import HttpRequest, HttpResponse
+from azure.mgmt.core.exceptions import ARMErrorFormat
+
+from .. import models
+
+if TYPE_CHECKING:
+ # pylint: disable=unused-import,ungrouped-imports
+ from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union
+
+ T = TypeVar('T')
+ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
+
+class MsixPackagesOperations(object):
+ """MsixPackagesOperations operations.
+
+ You should not instantiate this class directly. Instead, you should create a Client instance that
+ instantiates it for you and attaches it as an attribute.
+
+ :ivar models: Alias to model classes used in this operation group.
+ :type models: ~desktop_virtualization_api_client.models
+ :param client: Client for service requests.
+ :param config: Configuration of service client.
+ :param serializer: An object model serializer.
+ :param deserializer: An object model deserializer.
+ """
+
+ models = models
+
+ def __init__(self, client, config, serializer, deserializer):
+ self._client = client
+ self._serialize = serializer
+ self._deserialize = deserializer
+ self._config = config
+
+ def get(
+ self,
+ resource_group_name, # type: str
+ host_pool_name, # type: str
+ msix_package_full_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> "models.MsixPackage"
+ """Get a msixpackage.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: MsixPackage, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.MsixPackage
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackage"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.get.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ get.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ def create_or_update(
+ self,
+ resource_group_name, # type: str
+ host_pool_name, # type: str
+ msix_package_full_name, # type: str
+ msix_package, # type: "models.MsixPackage"
+ **kwargs # type: Any
+ ):
+ # type: (...) -> "models.MsixPackage"
+ """Create or update a MSIX package.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :param msix_package: Object containing MSIX Package definitions.
+ :type msix_package: ~desktop_virtualization_api_client.models.MsixPackage
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: MsixPackage, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.MsixPackage
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackage"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.create_or_update.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(msix_package, 'MsixPackage')
+ body_content_kwargs['content'] = body_content
+ request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 201]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if response.status_code == 200:
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if response.status_code == 201:
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ def delete(
+ self,
+ resource_group_name, # type: str
+ host_pool_name, # type: str
+ msix_package_full_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> None
+ """Remove an MSIX Package.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: None, or the result of cls(response)
+ :rtype: None
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType[None]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.delete.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.delete(url, query_parameters, header_parameters)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 204]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if cls:
+ return cls(pipeline_response, None, {})
+
+ delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ def update(
+ self,
+ resource_group_name, # type: str
+ host_pool_name, # type: str
+ msix_package_full_name, # type: str
+ msix_package=None, # type: Optional["models.MsixPackagePatch"]
+ **kwargs # type: Any
+ ):
+ # type: (...) -> "models.MsixPackage"
+ """Update an MSIX Package.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :param msix_package_full_name: The version specific package full name of the MSIX package
+ within specified hostpool.
+ :type msix_package_full_name: str
+ :param msix_package: Object containing MSIX Package definitions.
+ :type msix_package: ~desktop_virtualization_api_client.models.MsixPackagePatch
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: MsixPackage, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.MsixPackage
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackage"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.update.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ 'msixPackageFullName': self._serialize.url("msix_package_full_name", msix_package_full_name, 'str', max_length=100, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ if msix_package is not None:
+ body_content = self._serialize.body(msix_package, 'MsixPackagePatch')
+ else:
+ body_content = None
+ body_content_kwargs['content'] = body_content
+ request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('MsixPackage', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ update.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}'} # type: ignore
+
+ def list(
+ self,
+ resource_group_name, # type: str
+ host_pool_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> Iterable["models.MsixPackageList"]
+ """List MSIX packages in hostpool.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either MsixPackageList or the result of cls(response)
+ :rtype: ~azure.core.paging.ItemPaged[~desktop_virtualization_api_client.models.MsixPackageList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.MsixPackageList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ def extract_data(pipeline_response):
+ deserialized = self._deserialize('MsixPackageList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, iter(list_of_elem)
+
+ def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return ItemPaged(
+ get_next, extract_data
+ )
+ list.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operation_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operations.py
similarity index 87%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operation_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operations.py
index 7fbcd6b267d..f70b68acc30 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operation_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -22,8 +22,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class OperationOperations(object):
- """OperationOperations operations.
+class Operations(object):
+ """Operations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -57,9 +57,12 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceProviderOperationList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.list.metadata['url'] # type: ignore
@@ -70,9 +73,8 @@ def list(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_scaling_plans_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_scaling_plans_operations.py
new file mode 100644
index 00000000000..2ee9fd68b2c
--- /dev/null
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_scaling_plans_operations.py
@@ -0,0 +1,515 @@
+# coding=utf-8
+# --------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# --------------------------------------------------------------------------
+from typing import TYPE_CHECKING
+import warnings
+
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.paging import ItemPaged
+from azure.core.pipeline import PipelineResponse
+from azure.core.pipeline.transport import HttpRequest, HttpResponse
+from azure.mgmt.core.exceptions import ARMErrorFormat
+
+from .. import models
+
+if TYPE_CHECKING:
+ # pylint: disable=unused-import,ungrouped-imports
+ from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union
+
+ T = TypeVar('T')
+ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
+
+class ScalingPlansOperations(object):
+ """ScalingPlansOperations operations.
+
+ You should not instantiate this class directly. Instead, you should create a Client instance that
+ instantiates it for you and attaches it as an attribute.
+
+ :ivar models: Alias to model classes used in this operation group.
+ :type models: ~desktop_virtualization_api_client.models
+ :param client: Client for service requests.
+ :param config: Configuration of service client.
+ :param serializer: An object model serializer.
+ :param deserializer: An object model deserializer.
+ """
+
+ models = models
+
+ def __init__(self, client, config, serializer, deserializer):
+ self._client = client
+ self._serialize = serializer
+ self._deserialize = deserializer
+ self._config = config
+
+ def get(
+ self,
+ resource_group_name, # type: str
+ scaling_plan_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> "models.ScalingPlan"
+ """Get a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: ScalingPlan, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.ScalingPlan
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlan"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.get.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ def create(
+ self,
+ resource_group_name, # type: str
+ scaling_plan_name, # type: str
+ scaling_plan, # type: "models.ScalingPlan"
+ **kwargs # type: Any
+ ):
+ # type: (...) -> "models.ScalingPlan"
+ """Create or update a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :param scaling_plan: Object containing scaling plan definitions.
+ :type scaling_plan: ~desktop_virtualization_api_client.models.ScalingPlan
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: ScalingPlan, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.ScalingPlan
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlan"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.create.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ body_content = self._serialize.body(scaling_plan, 'ScalingPlan')
+ body_content_kwargs['content'] = body_content
+ request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 201]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if response.status_code == 200:
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if response.status_code == 201:
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ def delete(
+ self,
+ resource_group_name, # type: str
+ scaling_plan_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> None
+ """Remove a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: None, or the result of cls(response)
+ :rtype: None
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType[None]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ # Construct URL
+ url = self.delete.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ request = self._client.delete(url, query_parameters, header_parameters)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200, 204]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ if cls:
+ return cls(pipeline_response, None, {})
+
+ delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ def update(
+ self,
+ resource_group_name, # type: str
+ scaling_plan_name, # type: str
+ scaling_plan=None, # type: Optional["models.ScalingPlanPatch"]
+ **kwargs # type: Any
+ ):
+ # type: (...) -> "models.ScalingPlan"
+ """Update a scaling plan.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param scaling_plan_name: The name of the scaling plan.
+ :type scaling_plan_name: str
+ :param scaling_plan: Object containing scaling plan definitions.
+ :type scaling_plan: ~desktop_virtualization_api_client.models.ScalingPlanPatch
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: ScalingPlan, or the result of cls(response)
+ :rtype: ~desktop_virtualization_api_client.models.ScalingPlan
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlan"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
+
+ # Construct URL
+ url = self.update.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'scalingPlanName': self._serialize.url("scaling_plan_name", scaling_plan_name, 'str', max_length=24, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ body_content_kwargs = {} # type: Dict[str, Any]
+ if scaling_plan is not None:
+ body_content = self._serialize.body(scaling_plan, 'ScalingPlanPatch')
+ else:
+ body_content = None
+ body_content_kwargs['content'] = body_content
+ request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ deserialized = self._deserialize('ScalingPlan', pipeline_response)
+
+ if cls:
+ return cls(pipeline_response, deserialized, {})
+
+ return deserialized
+ update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}'} # type: ignore
+
+ def list_by_resource_group(
+ self,
+ resource_group_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> Iterable["models.ScalingPlanList"]
+ """List scaling plans.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either ScalingPlanList or the result of cls(response)
+ :rtype: ~azure.core.paging.ItemPaged[~desktop_virtualization_api_client.models.ScalingPlanList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlanList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_resource_group.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ def extract_data(pipeline_response):
+ deserialized = self._deserialize('ScalingPlanList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, iter(list_of_elem)
+
+ def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return ItemPaged(
+ get_next, extract_data
+ )
+ list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans'} # type: ignore
+
+ def list_by_subscription(
+ self,
+ **kwargs # type: Any
+ ):
+ # type: (...) -> Iterable["models.ScalingPlanList"]
+ """List scaling plans in subscription.
+
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either ScalingPlanList or the result of cls(response)
+ :rtype: ~azure.core.paging.ItemPaged[~desktop_virtualization_api_client.models.ScalingPlanList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlanList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_subscription.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ def extract_data(pipeline_response):
+ deserialized = self._deserialize('ScalingPlanList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, iter(list_of_elem)
+
+ def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return ItemPaged(
+ get_next, extract_data
+ )
+ list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/scalingPlans'} # type: ignore
+
+ def list_by_host_pool(
+ self,
+ resource_group_name, # type: str
+ host_pool_name, # type: str
+ **kwargs # type: Any
+ ):
+ # type: (...) -> Iterable["models.ScalingPlanList"]
+ """List scaling plan associated with hostpool.
+
+ :param resource_group_name: The name of the resource group. The name is case insensitive.
+ :type resource_group_name: str
+ :param host_pool_name: The name of the host pool within the specified resource group.
+ :type host_pool_name: str
+ :keyword callable cls: A custom type or function that will be passed the direct response
+ :return: An iterator like instance of either ScalingPlanList or the result of cls(response)
+ :rtype: ~azure.core.paging.ItemPaged[~desktop_virtualization_api_client.models.ScalingPlanList]
+ :raises: ~azure.core.exceptions.HttpResponseError
+ """
+ cls = kwargs.pop('cls', None) # type: ClsType["models.ScalingPlanList"]
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
+ error_map.update(kwargs.pop('error_map', {}))
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
+
+ def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
+ if not next_link:
+ # Construct URL
+ url = self.list_by_host_pool.metadata['url'] # type: ignore
+ path_format_arguments = {
+ 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
+ }
+ url = self._client.format_url(url, **path_format_arguments)
+ # Construct parameters
+ query_parameters = {} # type: Dict[str, Any]
+ query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+
+ request = self._client.get(url, query_parameters, header_parameters)
+ else:
+ url = next_link
+ query_parameters = {} # type: Dict[str, Any]
+ request = self._client.get(url, query_parameters, header_parameters)
+ return request
+
+ def extract_data(pipeline_response):
+ deserialized = self._deserialize('ScalingPlanList', pipeline_response)
+ list_of_elem = deserialized.value
+ if cls:
+ list_of_elem = cls(list_of_elem)
+ return deserialized.next_link or None, iter(list_of_elem)
+
+ def get_next(next_link=None):
+ request = prepare_request(next_link)
+
+ pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
+ response = pipeline_response.http_response
+
+ if response.status_code not in [200]:
+ map_error(status_code=response.status_code, response=response, error_map=error_map)
+ raise HttpResponseError(response=response, error_format=ARMErrorFormat)
+
+ return pipeline_response
+
+ return ItemPaged(
+ get_next, extract_data
+ )
+ list_by_host_pool.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/scalingPlans'} # type: ignore
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_host_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_hosts_operations.py
similarity index 86%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_host_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_hosts_operations.py
index 4faae4be2b6..8780dff6ed3 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_host_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_hosts_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -23,8 +23,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class SessionHostOperations(object):
- """SessionHostOperations operations.
+class SessionHostsOperations(object):
+ """SessionHostsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -67,16 +67,19 @@ def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.SessionHost"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -87,9 +90,8 @@ def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -131,16 +133,19 @@ def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -153,8 +158,8 @@ def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -173,8 +178,7 @@ def update(
resource_group_name, # type: str
host_pool_name, # type: str
session_host_name, # type: str
- allow_new_session=None, # type: Optional[bool]
- assigned_user=None, # type: Optional[str]
+ session_host=None, # type: Optional["models.SessionHostPatch"]
**kwargs # type: Any
):
# type: (...) -> "models.SessionHost"
@@ -186,29 +190,28 @@ def update(
:type host_pool_name: str
:param session_host_name: The name of the session host within the specified host pool.
:type session_host_name: str
- :param allow_new_session: Allow a new session.
- :type allow_new_session: bool
- :param assigned_user: User assigned to SessionHost.
- :type assigned_user: str
+ :param session_host: Object containing SessionHost definitions.
+ :type session_host: ~desktop_virtualization_api_client.models.SessionHostPatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: SessionHost, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.SessionHost
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.SessionHost"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _session_host = models.SessionHostPatch(allow_new_session=allow_new_session, assigned_user=assigned_user)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -220,17 +223,15 @@ def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _session_host is not None:
- body_content = self._serialize.body(_session_host, 'SessionHostPatch')
+ if session_host is not None:
+ body_content = self._serialize.body(session_host, 'SessionHostPatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -265,33 +266,36 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.SessionHostList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_start_menu_item_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_start_menu_items_operations.py
similarity index 87%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_start_menu_item_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_start_menu_items_operations.py
index 815e7e5139e..c44ab89f1bf 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_start_menu_item_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_start_menu_items_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -23,8 +23,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class StartMenuItemOperations(object):
- """StartMenuItemOperations operations.
+class StartMenuItemsOperations(object):
+ """StartMenuItemsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -64,33 +64,36 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.StartMenuItemList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=24, min_length=3),
+ 'applicationGroupName': self._serialize.url("application_group_name", application_group_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_session_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_sessions_operations.py
similarity index 87%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_session_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_sessions_operations.py
index 47cebe6695e..030f81eef30 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_session_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_sessions_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -23,8 +23,8 @@
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class UserSessionOperations(object):
- """UserSessionOperations operations.
+class UserSessionsOperations(object):
+ """UserSessionsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -60,7 +60,7 @@ def list_by_host_pool(
:param host_pool_name: The name of the host pool within the specified resource group.
:type host_pool_name: str
:param filter: OData filter expression. Valid properties for filtering are userprincipalname
- and sessionstate.
+ and sessionstate.
:type filter: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either UserSessionList or the result of cls(response)
@@ -68,18 +68,25 @@ def list_by_host_pool(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.UserSessionList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_host_pool.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
# Construct parameters
@@ -88,15 +95,11 @@ def prepare_request(next_link=None):
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
@@ -148,16 +151,19 @@ def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.UserSession"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -169,9 +175,8 @@ def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -216,16 +221,19 @@ def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -239,8 +247,8 @@ def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -276,18 +284,25 @@ def list(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.UserSessionList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -295,15 +310,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
@@ -355,16 +366,19 @@ def disconnect(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.disconnect.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -376,8 +390,8 @@ def disconnect(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.post(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -397,8 +411,7 @@ def send_message(
host_pool_name, # type: str
session_host_name, # type: str
user_session_id, # type: str
- message_title=None, # type: Optional[str]
- message_body=None, # type: Optional[str]
+ send_message=None, # type: Optional["models.SendMessage"]
**kwargs # type: Any
):
# type: (...) -> None
@@ -412,29 +425,28 @@ def send_message(
:type session_host_name: str
:param user_session_id: The name of the user session within the specified session host.
:type user_session_id: str
- :param message_title: Title of message.
- :type message_title: str
- :param message_body: Body of message.
- :type message_body: str
+ :param send_message: Object containing message includes title and message body.
+ :type send_message: ~desktop_virtualization_api_client.models.SendMessage
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _send_message = models.SendMessage(message_title=message_title, message_body=message_body)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.send_message.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=24, min_length=3),
+ 'hostPoolName': self._serialize.url("host_pool_name", host_pool_name, 'str', max_length=64, min_length=3),
'sessionHostName': self._serialize.url("session_host_name", session_host_name, 'str', max_length=48, min_length=3),
'userSessionId': self._serialize.url("user_session_id", user_session_id, 'str', max_length=24, min_length=1),
}
@@ -447,16 +459,15 @@ def send_message(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _send_message is not None:
- body_content = self._serialize.body(_send_message, 'SendMessage')
+ if send_message is not None:
+ body_content = self._serialize.body(send_message, 'SendMessage')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspace_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspaces_operations.py
similarity index 82%
rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspace_operations.py
rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspaces_operations.py
index 821e5c5e7d4..a856f8cb7c4 100644
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspace_operations.py
+++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspaces_operations.py
@@ -8,7 +8,7 @@
from typing import TYPE_CHECKING
import warnings
-from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
+from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error
from azure.core.paging import ItemPaged
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import HttpRequest, HttpResponse
@@ -18,13 +18,13 @@
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
- from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union
+ from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union
T = TypeVar('T')
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
-class WorkspaceOperations(object):
- """WorkspaceOperations operations.
+class WorkspacesOperations(object):
+ """WorkspacesOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
@@ -64,16 +64,19 @@ def get(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Workspace"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -83,9 +86,8 @@ def get(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.get(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -106,11 +108,7 @@ def create_or_update(
self,
resource_group_name, # type: str
workspace_name, # type: str
- location, # type: str
- tags=None, # type: Optional[Dict[str, str]]
- description=None, # type: Optional[str]
- friendly_name=None, # type: Optional[str]
- application_group_references=None, # type: Optional[List[str]]
+ workspace, # type: "models.Workspace"
**kwargs # type: Any
):
# type: (...) -> "models.Workspace"
@@ -120,35 +118,28 @@ def create_or_update(
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
- :param location: The geo-location where the resource lives.
- :type location: str
- :param tags: Resource tags.
- :type tags: dict[str, str]
- :param description: Description of Workspace.
- :type description: str
- :param friendly_name: Friendly name of Workspace.
- :type friendly_name: str
- :param application_group_references: List of applicationGroup resource Ids.
- :type application_group_references: list[str]
+ :param workspace: Object containing Workspace definitions.
+ :type workspace: ~desktop_virtualization_api_client.models.Workspace
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Workspace, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Workspace
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Workspace"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _workspace = models.Workspace(tags=tags, location=location, description=description, friendly_name=friendly_name, application_group_references=application_group_references)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.create_or_update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -159,14 +150,12 @@ def create_or_update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(_workspace, 'Workspace')
+ body_content = self._serialize.body(workspace, 'Workspace')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -174,7 +163,6 @@ def create_or_update(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('Workspace', pipeline_response)
@@ -206,16 +194,19 @@ def delete(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[None]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -225,8 +216,8 @@ def delete(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
request = self._client.delete(url, query_parameters, header_parameters)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -244,10 +235,7 @@ def update(
self,
resource_group_name, # type: str
workspace_name, # type: str
- tags=None, # type: Optional[Dict[str, str]]
- description=None, # type: Optional[str]
- friendly_name=None, # type: Optional[str]
- application_group_references=None, # type: Optional[List[str]]
+ workspace=None, # type: Optional["models.WorkspacePatch"]
**kwargs # type: Any
):
# type: (...) -> "models.Workspace"
@@ -257,33 +245,28 @@ def update(
:type resource_group_name: str
:param workspace_name: The name of the workspace.
:type workspace_name: str
- :param tags: tags to be updated.
- :type tags: dict[str, str]
- :param description: Description of Workspace.
- :type description: str
- :param friendly_name: Friendly name of Workspace.
- :type friendly_name: str
- :param application_group_references: List of applicationGroup links.
- :type application_group_references: list[str]
+ :param workspace: Object containing Workspace definitions.
+ :type workspace: ~desktop_virtualization_api_client.models.WorkspacePatch
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Workspace, or the result of cls(response)
:rtype: ~desktop_virtualization_api_client.models.Workspace
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Workspace"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
-
- _workspace = models.WorkspacePatch(tags=tags, description=description, friendly_name=friendly_name, application_group_references=application_group_references)
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
content_type = kwargs.pop("content_type", "application/json")
+ accept = "application/json"
# Construct URL
url = self.update.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
- 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=24, min_length=3),
+ 'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', max_length=64, min_length=3),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -294,17 +277,15 @@ def update(
# Construct headers
header_parameters = {} # type: Dict[str, Any]
header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str')
- header_parameters['Accept'] = 'application/json'
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
- # Construct and send request
body_content_kwargs = {} # type: Dict[str, Any]
- if _workspace is not None:
- body_content = self._serialize.body(_workspace, 'WorkspacePatch')
+ if workspace is not None:
+ body_content = self._serialize.body(workspace, 'WorkspacePatch')
else:
body_content = None
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
-
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
@@ -336,11 +317,18 @@ def list_by_resource_group(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.WorkspaceList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
@@ -353,15 +341,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
@@ -401,11 +385,18 @@ def list_by_subscription(
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.WorkspaceList"]
- error_map = {404: ResourceNotFoundError, 409: ResourceExistsError}
+ error_map = {
+ 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
+ }
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2019-12-10-preview"
+ api_version = "2021-03-09-preview"
+ accept = "application/json"
def prepare_request(next_link=None):
+ # Construct headers
+ header_parameters = {} # type: Dict[str, Any]
+ header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
+
if not next_link:
# Construct URL
url = self.list_by_subscription.metadata['url'] # type: ignore
@@ -417,15 +408,11 @@ def prepare_request(next_link=None):
query_parameters = {} # type: Dict[str, Any]
query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
+ request = self._client.get(url, query_parameters, header_parameters)
else:
url = next_link
query_parameters = {} # type: Dict[str, Any]
- # Construct headers
- header_parameters = {} # type: Dict[str, Any]
- header_parameters['Accept'] = 'application/json'
-
- # Construct and send request
- request = self._client.get(url, query_parameters, header_parameters)
+ request = self._client.get(url, query_parameters, header_parameters)
return request
def extract_data(pipeline_response):
diff --git a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/setup.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/setup.py
deleted file mode 100644
index 52fc353a0b1..00000000000
--- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/setup.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-# coding: utf-8
-
-from setuptools import setup, find_packages
-
-NAME = "desktopvirtualizationapiclient"
-VERSION = "0.2.0"
-
-# To install the library, run the following
-#
-# python setup.py install
-#
-# prerequisite: setuptools
-# http://pypi.python.org/pypi/setuptools
-
-REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
-
-setup(
- name=NAME,
- version=VERSION,
- description="DesktopVirtualizationAPIClient",
- author_email="",
- url="",
- keywords=["Swagger", "DesktopVirtualizationAPIClient"],
- install_requires=REQUIRES,
- packages=find_packages(),
- include_package_data=True,
- long_description="""\
- DesktopVirtualizationAPIClient.
- """
-)
diff --git a/src/desktopvirtualization/report.md b/src/desktopvirtualization/report.md
index d535730ab5d..f5039da3612 100644
--- a/src/desktopvirtualization/report.md
+++ b/src/desktopvirtualization/report.md
@@ -1,164 +1,612 @@
# Azure CLI Module Creation Report
-### desktopvirtualization applicationgroup create
-
-create a desktopvirtualization applicationgroup.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--application-group-name**|string|The name of the application group|application_group_name|
-|**--location**|string|The geo-location where the resource lives|location|
-|**--host-pool-arm-path**|string|HostPool arm path of ApplicationGroup.|host_pool_arm_path|
-|**--application-group-type**|choice|Resource Type of ApplicationGroup.|application_group_type|
-|**--tags**|dictionary|Resource tags.|tags|
-|**--description**|string|Description of ApplicationGroup.|description|
-|**--friendly-name**|string|Friendly name of ApplicationGroup.|friendly_name|
-### desktopvirtualization applicationgroup delete
-
-delete a desktopvirtualization applicationgroup.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--application-group-name**|string|The name of the application group|application_group_name|
-### desktopvirtualization applicationgroup list
-
-list a desktopvirtualization applicationgroup.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--filter**|string|OData filter expression. Valid properties for filtering are applicationGroupType.|filter|
-### desktopvirtualization applicationgroup show
-
-show a desktopvirtualization applicationgroup.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--application-group-name**|string|The name of the application group|application_group_name|
-### desktopvirtualization applicationgroup update
-
-update a desktopvirtualization applicationgroup.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--application-group-name**|string|The name of the application group|application_group_name|
-|**--tags**|dictionary|tags to be updated|tags|
-|**--description**|string|Description of ApplicationGroup.|description|
-|**--friendly-name**|string|Friendly name of ApplicationGroup.|friendly_name|
-### desktopvirtualization hostpool create
-
-create a desktopvirtualization hostpool.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|
-|**--location**|string|The geo-location where the resource lives|location|
-|**--host-pool-type**|choice|HostPool type for desktop.|host_pool_type|
-|**--personal-desktop-assignment-type**|choice|PersonalDesktopAssignment type for HostPool.|personal_desktop_assignment_type|
-|**--load-balancer-type**|choice|The type of the load balancer.|load_balancer_type|
-|**--tags**|dictionary|Resource tags.|tags|
-|**--friendly-name**|string|Friendly name of HostPool.|friendly_name|
-|**--description**|string|Description of HostPool.|description|
-|**--custom-rdp-property**|string|Custom rdp property of HostPool.|custom_rdp_property|
-|**--max-session-limit**|integer|The max session limit of HostPool.|max_session_limit|
-|**--ring**|integer|The ring number of HostPool.|ring|
-|**--validation-environment**|boolean|Is validation environment.|validation_environment|
-|**--registration-info**|object|The registration info of HostPool.|registration_info|
-|**--vm-template**|string|VM template for sessionhosts configuration within hostpool.|vm_template|
-|**--sso-context**|string|Path to keyvault containing ssoContext secret.|sso_context|
-### desktopvirtualization hostpool delete
-
-delete a desktopvirtualization hostpool.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|
-|**--force**|boolean|Force flag to delete sessionHost.|force|
-### desktopvirtualization hostpool list
-
-list a desktopvirtualization hostpool.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-### desktopvirtualization hostpool show
-
-show a desktopvirtualization hostpool.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|
-### desktopvirtualization hostpool update
-
-update a desktopvirtualization hostpool.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|
-|**--tags**|dictionary|tags to be updated|tags|
-|**--friendly-name**|string|Friendly name of HostPool.|friendly_name|
-|**--description**|string|Description of HostPool.|description|
-|**--custom-rdp-property**|string|Custom rdp property of HostPool.|custom_rdp_property|
-|**--max-session-limit**|integer|The max session limit of HostPool.|max_session_limit|
-|**--personal-desktop-assignment-type**|choice|PersonalDesktopAssignment type for HostPool.|personal_desktop_assignment_type|
-|**--load-balancer-type**|choice|The type of the load balancer.|load_balancer_type|
-|**--ring**|integer|The ring number of HostPool.|ring|
-|**--validation-environment**|boolean|Is validation environment.|validation_environment|
-|**--registration-info**|object|The registration info of HostPool.|registration_info|
-|**--sso-context**|string|Path to keyvault containing ssoContext secret.|sso_context|
-### desktopvirtualization workspace create
-
-create a desktopvirtualization workspace.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--workspace-name**|string|The name of the workspace|workspace_name|
-|**--location**|string|The geo-location where the resource lives|location|
-|**--tags**|dictionary|Resource tags.|tags|
-|**--description**|string|Description of Workspace.|description|
-|**--friendly-name**|string|Friendly name of Workspace.|friendly_name|
-|**--application-group-references**|array|List of applicationGroup resource Ids.|application_group_references|
-### desktopvirtualization workspace delete
-
-delete a desktopvirtualization workspace.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--workspace-name**|string|The name of the workspace|workspace_name|
-### desktopvirtualization workspace list
-
-list a desktopvirtualization workspace.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-### desktopvirtualization workspace show
-
-show a desktopvirtualization workspace.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--workspace-name**|string|The name of the workspace|workspace_name|
-### desktopvirtualization workspace update
-
-update a desktopvirtualization workspace.
-
-|Option|Type|Description|Path (SDK)|Path (swagger)|
-|------|----|-----------|----------|--------------|
-|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|
-|**--workspace-name**|string|The name of the workspace|workspace_name|
-|**--tags**|dictionary|tags to be updated|tags|
-|**--description**|string|Description of Workspace.|description|
-|**--friendly-name**|string|Friendly name of Workspace.|friendly_name|
-|**--application-group-references**|array|List of applicationGroup links.|application_group_references|
\ No newline at end of file
+## EXTENSION
+|CLI Extension|Command Groups|
+|---------|------------|
+|az desktopvirtualization|[groups](#CommandGroups)
+
+## GROUPS
+### Command groups in `az desktopvirtualization` extension
+|CLI Command Group|Group Swagger name|Commands|
+|---------|------------|--------|
+|az desktopvirtualization workspace|Workspaces|[commands](#CommandsInWorkspaces)|
+|az desktopvirtualization scaling-plan|ScalingPlans|[commands](#CommandsInScalingPlans)|
+|az desktopvirtualization applicationgroup|ApplicationGroups|[commands](#CommandsInApplicationGroups)|
+|az desktopvirtualization hostpool|HostPools|[commands](#CommandsInHostPools)|
+|az desktopvirtualization msix-package|MSIXPackages|[commands](#CommandsInMSIXPackages)|
+|az desktopvirtualization msix-image|MsixImages|[commands](#CommandsInMsixImages)|
+
+## COMMANDS
+### Commands in `az desktopvirtualization applicationgroup` group
+|CLI Command|Operation Swagger name|Parameters|Examples|
+|---------|------------|--------|-----------|
+|[az desktopvirtualization applicationgroup list](#ApplicationGroupsListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersApplicationGroupsListByResourceGroup)|[Example](#ExamplesApplicationGroupsListByResourceGroup)|
+|[az desktopvirtualization applicationgroup list](#ApplicationGroupsListBySubscription)|ListBySubscription|[Parameters](#ParametersApplicationGroupsListBySubscription)|[Example](#ExamplesApplicationGroupsListBySubscription)|
+|[az desktopvirtualization applicationgroup show](#ApplicationGroupsGet)|Get|[Parameters](#ParametersApplicationGroupsGet)|[Example](#ExamplesApplicationGroupsGet)|
+|[az desktopvirtualization applicationgroup create](#ApplicationGroupsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersApplicationGroupsCreateOrUpdate#Create)|[Example](#ExamplesApplicationGroupsCreateOrUpdate#Create)|
+|[az desktopvirtualization applicationgroup update](#ApplicationGroupsUpdate)|Update|[Parameters](#ParametersApplicationGroupsUpdate)|[Example](#ExamplesApplicationGroupsUpdate)|
+|[az desktopvirtualization applicationgroup delete](#ApplicationGroupsDelete)|Delete|[Parameters](#ParametersApplicationGroupsDelete)|[Example](#ExamplesApplicationGroupsDelete)|
+
+### Commands in `az desktopvirtualization hostpool` group
+|CLI Command|Operation Swagger name|Parameters|Examples|
+|---------|------------|--------|-----------|
+|[az desktopvirtualization hostpool list](#HostPoolsListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersHostPoolsListByResourceGroup)|[Example](#ExamplesHostPoolsListByResourceGroup)|
+|[az desktopvirtualization hostpool list](#HostPoolsList)|List|[Parameters](#ParametersHostPoolsList)|[Example](#ExamplesHostPoolsList)|
+|[az desktopvirtualization hostpool show](#HostPoolsGet)|Get|[Parameters](#ParametersHostPoolsGet)|[Example](#ExamplesHostPoolsGet)|
+|[az desktopvirtualization hostpool create](#HostPoolsCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersHostPoolsCreateOrUpdate#Create)|[Example](#ExamplesHostPoolsCreateOrUpdate#Create)|
+|[az desktopvirtualization hostpool update](#HostPoolsUpdate)|Update|[Parameters](#ParametersHostPoolsUpdate)|[Example](#ExamplesHostPoolsUpdate)|
+|[az desktopvirtualization hostpool delete](#HostPoolsDelete)|Delete|[Parameters](#ParametersHostPoolsDelete)|[Example](#ExamplesHostPoolsDelete)|
+|[az desktopvirtualization hostpool retrieve-registration-token](#HostPoolsRetrieveRegistrationToken)|RetrieveRegistrationToken|[Parameters](#ParametersHostPoolsRetrieveRegistrationToken)|[Example](#ExamplesHostPoolsRetrieveRegistrationToken)|
+
+### Commands in `az desktopvirtualization msix-image` group
+|CLI Command|Operation Swagger name|Parameters|Examples|
+|---------|------------|--------|-----------|
+|[az desktopvirtualization msix-image expand](#MsixImagesExpand)|Expand|[Parameters](#ParametersMsixImagesExpand)|[Example](#ExamplesMsixImagesExpand)|
+
+### Commands in `az desktopvirtualization msix-package` group
+|CLI Command|Operation Swagger name|Parameters|Examples|
+|---------|------------|--------|-----------|
+|[az desktopvirtualization msix-package list](#MSIXPackagesList)|List|[Parameters](#ParametersMSIXPackagesList)|[Example](#ExamplesMSIXPackagesList)|
+|[az desktopvirtualization msix-package show](#MSIXPackagesGet)|Get|[Parameters](#ParametersMSIXPackagesGet)|[Example](#ExamplesMSIXPackagesGet)|
+|[az desktopvirtualization msix-package create](#MSIXPackagesCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersMSIXPackagesCreateOrUpdate#Create)|[Example](#ExamplesMSIXPackagesCreateOrUpdate#Create)|
+|[az desktopvirtualization msix-package update](#MSIXPackagesUpdate)|Update|[Parameters](#ParametersMSIXPackagesUpdate)|[Example](#ExamplesMSIXPackagesUpdate)|
+|[az desktopvirtualization msix-package delete](#MSIXPackagesDelete)|Delete|[Parameters](#ParametersMSIXPackagesDelete)|[Example](#ExamplesMSIXPackagesDelete)|
+
+### Commands in `az desktopvirtualization scaling-plan` group
+|CLI Command|Operation Swagger name|Parameters|Examples|
+|---------|------------|--------|-----------|
+|[az desktopvirtualization scaling-plan list](#ScalingPlansListByHostPool)|ListByHostPool|[Parameters](#ParametersScalingPlansListByHostPool)|[Example](#ExamplesScalingPlansListByHostPool)|
+|[az desktopvirtualization scaling-plan list](#ScalingPlansListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersScalingPlansListByResourceGroup)|[Example](#ExamplesScalingPlansListByResourceGroup)|
+|[az desktopvirtualization scaling-plan list](#ScalingPlansListBySubscription)|ListBySubscription|[Parameters](#ParametersScalingPlansListBySubscription)|[Example](#ExamplesScalingPlansListBySubscription)|
+|[az desktopvirtualization scaling-plan show](#ScalingPlansGet)|Get|[Parameters](#ParametersScalingPlansGet)|[Example](#ExamplesScalingPlansGet)|
+|[az desktopvirtualization scaling-plan create](#ScalingPlansCreate)|Create|[Parameters](#ParametersScalingPlansCreate)|[Example](#ExamplesScalingPlansCreate)|
+|[az desktopvirtualization scaling-plan update](#ScalingPlansUpdate)|Update|[Parameters](#ParametersScalingPlansUpdate)|[Example](#ExamplesScalingPlansUpdate)|
+|[az desktopvirtualization scaling-plan delete](#ScalingPlansDelete)|Delete|[Parameters](#ParametersScalingPlansDelete)|[Example](#ExamplesScalingPlansDelete)|
+
+### Commands in `az desktopvirtualization workspace` group
+|CLI Command|Operation Swagger name|Parameters|Examples|
+|---------|------------|--------|-----------|
+|[az desktopvirtualization workspace list](#WorkspacesListByResourceGroup)|ListByResourceGroup|[Parameters](#ParametersWorkspacesListByResourceGroup)|[Example](#ExamplesWorkspacesListByResourceGroup)|
+|[az desktopvirtualization workspace list](#WorkspacesListBySubscription)|ListBySubscription|[Parameters](#ParametersWorkspacesListBySubscription)|[Example](#ExamplesWorkspacesListBySubscription)|
+|[az desktopvirtualization workspace show](#WorkspacesGet)|Get|[Parameters](#ParametersWorkspacesGet)|[Example](#ExamplesWorkspacesGet)|
+|[az desktopvirtualization workspace create](#WorkspacesCreateOrUpdate#Create)|CreateOrUpdate#Create|[Parameters](#ParametersWorkspacesCreateOrUpdate#Create)|[Example](#ExamplesWorkspacesCreateOrUpdate#Create)|
+|[az desktopvirtualization workspace update](#WorkspacesUpdate)|Update|[Parameters](#ParametersWorkspacesUpdate)|[Example](#ExamplesWorkspacesUpdate)|
+|[az desktopvirtualization workspace delete](#WorkspacesDelete)|Delete|[Parameters](#ParametersWorkspacesDelete)|[Example](#ExamplesWorkspacesDelete)|
+
+
+## COMMAND DETAILS
+
+### group `az desktopvirtualization applicationgroup`
+#### Command `az desktopvirtualization applicationgroup list`
+
+##### Example
+```
+az desktopvirtualization applicationgroup list --filter "applicationGroupType eq \'RailApplication\'" --resource-group \
+"resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--filter**|string|OData filter expression. Valid properties for filtering are applicationGroupType.|filter|$filter|
+
+#### Command `az desktopvirtualization applicationgroup list`
+
+##### Example
+```
+az desktopvirtualization applicationgroup list --filter "applicationGroupType eq \'RailApplication\'"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+#### Command `az desktopvirtualization applicationgroup show`
+
+##### Example
+```
+az desktopvirtualization applicationgroup show --name "applicationGroup1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--application-group-name**|string|The name of the application group|application_group_name|applicationGroupName|
+
+#### Command `az desktopvirtualization applicationgroup create`
+
+##### Example
+```
+az desktopvirtualization applicationgroup create --location "centralus" --description "des1" --application-group-type \
+"RemoteApp" --friendly-name "friendly" --host-pool-arm-path "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resour\
+ceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1" --migration-request \
+migration-path="TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name\
+}" operation="Start" --tags tag1="value1" tag2="value2" --name "applicationGroup1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--application-group-name**|string|The name of the application group|application_group_name|applicationGroupName|
+|**--host-pool-arm-path**|string|HostPool arm path of ApplicationGroup.|host_pool_arm_path|hostPoolArmPath|
+|**--application-group-type**|choice|Resource Type of ApplicationGroup.|application_group_type|applicationGroupType|
+|**--location**|string|The geo-location where the resource lives|location|location|
+|**--managed-by**|string|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.|managed_by|managedBy|
+|**--kind**|string|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.|kind|kind|
+|**--tags**|dictionary|Resource tags.|tags|tags|
+|**--sku**|object|The resource model definition representing SKU|sku|sku|
+|**--plan**|object|Plan for the resource.|plan|plan|
+|**--description**|string|Description of ApplicationGroup.|description|description|
+|**--friendly-name**|string|Friendly name of ApplicationGroup.|friendly_name|friendlyName|
+|**--migration-request**|object|The registration info of HostPool.|migration_request|migrationRequest|
+
+#### Command `az desktopvirtualization applicationgroup update`
+
+##### Example
+```
+az desktopvirtualization applicationgroup update --description "des1" --friendly-name "friendly" --tags tag1="value1" \
+tag2="value2" --name "applicationGroup1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--application-group-name**|string|The name of the application group|application_group_name|applicationGroupName|
+|**--tags**|dictionary|tags to be updated|tags|tags|
+|**--description**|string|Description of ApplicationGroup.|description|description|
+|**--friendly-name**|string|Friendly name of ApplicationGroup.|friendly_name|friendlyName|
+
+#### Command `az desktopvirtualization applicationgroup delete`
+
+##### Example
+```
+az desktopvirtualization applicationgroup delete --name "applicationGroup1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--application-group-name**|string|The name of the application group|application_group_name|applicationGroupName|
+
+### group `az desktopvirtualization hostpool`
+#### Command `az desktopvirtualization hostpool list`
+
+##### Example
+```
+az desktopvirtualization hostpool list --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+
+#### Command `az desktopvirtualization hostpool list`
+
+##### Example
+```
+az desktopvirtualization hostpool list
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+#### Command `az desktopvirtualization hostpool show`
+
+##### Example
+```
+az desktopvirtualization hostpool show --name "hostPool1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+
+#### Command `az desktopvirtualization hostpool create`
+
+##### Example
+```
+az desktopvirtualization hostpool create --location "centralus" --description "des1" --friendly-name "friendly" \
+--host-pool-type "Pooled" --load-balancer-type "BreadthFirst" --max-session-limit 999999 --migration-request \
+migration-path="TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name\
+}" operation="Start" --personal-desktop-assignment-type "Automatic" --preferred-app-group-type "Desktop" \
+--registration-info expiration-time="2020-10-01T14:01:54.9571247Z" registration-token-operation="Update" \
+--sso-client-id "client" --sso-client-secret-key-vault-path "https://keyvault/secret" --sso-secret-type "SharedKey" \
+--ssoadfs-authority "https://adfs" --start-vm-on-connect false --vm-template "{json:json}" --tags tag1="value1" \
+tag2="value2" --name "hostPool1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--host-pool-type**|choice|HostPool type for desktop.|host_pool_type|hostPoolType|
+|**--load-balancer-type**|choice|The type of the load balancer.|load_balancer_type|loadBalancerType|
+|**--preferred-app-group-type**|choice|The type of preferred application group type, default to Desktop Application Group|preferred_app_group_type|preferredAppGroupType|
+|**--location**|string|The geo-location where the resource lives|location|location|
+|**--managed-by**|string|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.|managed_by|managedBy|
+|**--kind**|string|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.|kind|kind|
+|**--tags**|dictionary|Resource tags.|tags|tags|
+|**--sku**|object|The resource model definition representing SKU|sku|sku|
+|**--plan**|object|Plan for the resource.|plan|plan|
+|**--friendly-name**|string|Friendly name of HostPool.|friendly_name|friendlyName|
+|**--description**|string|Description of HostPool.|description|description|
+|**--personal-desktop-assignment-type**|choice|PersonalDesktopAssignment type for HostPool.|personal_desktop_assignment_type|personalDesktopAssignmentType|
+|**--custom-rdp-property**|string|Custom rdp property of HostPool.|custom_rdp_property|customRdpProperty|
+|**--max-session-limit**|integer|The max session limit of HostPool.|max_session_limit|maxSessionLimit|
+|**--ring**|integer|The ring number of HostPool.|ring|ring|
+|**--validation-environment**|boolean|Is validation environment.|validation_environment|validationEnvironment|
+|**--registration-info**|object|The registration info of HostPool.|registration_info|registrationInfo|
+|**--vm-template**|string|VM template for sessionhosts configuration within hostpool.|vm_template|vmTemplate|
+|**--ssoadfs-authority**|string|URL to customer ADFS server for signing WVD SSO certificates.|ssoadfs_authority|ssoadfsAuthority|
+|**--sso-client-id**|string|ClientId for the registered Relying Party used to issue WVD SSO certificates.|sso_client_id|ssoClientId|
+|**--sso-client-secret-key-vault-path**|string|Path to Azure KeyVault storing the secret used for communication to ADFS.|sso_client_secret_key_vault_path|ssoClientSecretKeyVaultPath|
+|**--sso-secret-type**|choice|The type of single sign on Secret Type.|sso_secret_type|ssoSecretType|
+|**--start-vm-on-connect**|boolean|The flag to turn on/off StartVMOnConnect feature.|start_vm_on_connect|startVMOnConnect|
+|**--migration-request**|object|The registration info of HostPool.|migration_request|migrationRequest|
+
+#### Command `az desktopvirtualization hostpool update`
+
+##### Example
+```
+az desktopvirtualization hostpool update --description "des1" --friendly-name "friendly" --load-balancer-type \
+"BreadthFirst" --max-session-limit 999999 --personal-desktop-assignment-type "Automatic" --registration-info \
+expiration-time="2020-10-01T15:01:54.9571247Z" registration-token-operation="Update" --sso-client-id "client" \
+--sso-client-secret-key-vault-path "https://keyvault/secret" --sso-secret-type "SharedKey" --ssoadfs-authority \
+"https://adfs" --start-vm-on-connect false --vm-template "{json:json}" --tags tag1="value1" tag2="value2" --name \
+"hostPool1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--tags**|dictionary|tags to be updated|tags|tags|
+|**--friendly-name**|string|Friendly name of HostPool.|friendly_name|friendlyName|
+|**--description**|string|Description of HostPool.|description|description|
+|**--custom-rdp-property**|string|Custom rdp property of HostPool.|custom_rdp_property|customRdpProperty|
+|**--max-session-limit**|integer|The max session limit of HostPool.|max_session_limit|maxSessionLimit|
+|**--personal-desktop-assignment-type**|choice|PersonalDesktopAssignment type for HostPool.|personal_desktop_assignment_type|personalDesktopAssignmentType|
+|**--load-balancer-type**|choice|The type of the load balancer.|load_balancer_type|loadBalancerType|
+|**--ring**|integer|The ring number of HostPool.|ring|ring|
+|**--validation-environment**|boolean|Is validation environment.|validation_environment|validationEnvironment|
+|**--registration-info**|object|The registration info of HostPool.|registration_info|registrationInfo|
+|**--vm-template**|string|VM template for sessionhosts configuration within hostpool.|vm_template|vmTemplate|
+|**--ssoadfs-authority**|string|URL to customer ADFS server for signing WVD SSO certificates.|ssoadfs_authority|ssoadfsAuthority|
+|**--sso-client-id**|string|ClientId for the registered Relying Party used to issue WVD SSO certificates.|sso_client_id|ssoClientId|
+|**--sso-client-secret-key-vault-path**|string|Path to Azure KeyVault storing the secret used for communication to ADFS.|sso_client_secret_key_vault_path|ssoClientSecretKeyVaultPath|
+|**--sso-secret-type**|choice|The type of single sign on Secret Type.|sso_secret_type|ssoSecretType|
+|**--preferred-app-group-type**|choice|The type of preferred application group type, default to Desktop Application Group|preferred_app_group_type|preferredAppGroupType|
+|**--start-vm-on-connect**|boolean|The flag to turn on/off StartVMOnConnect feature.|start_vm_on_connect|startVMOnConnect|
+
+#### Command `az desktopvirtualization hostpool delete`
+
+##### Example
+```
+az desktopvirtualization hostpool delete --force true --name "hostPool1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--force**|boolean|Force flag to delete sessionHost.|force|force|
+
+#### Command `az desktopvirtualization hostpool retrieve-registration-token`
+
+##### Example
+```
+az desktopvirtualization hostpool retrieve-registration-token --name "hostPool1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+
+### group `az desktopvirtualization msix-image`
+#### Command `az desktopvirtualization msix-image expand`
+
+##### Example
+```
+az desktopvirtualization msix-image expand --host-pool-name "hostpool1" --uri "imagepath" --resource-group \
+"resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--uri**|string|URI to Image|uri|uri|
+
+### group `az desktopvirtualization msix-package`
+#### Command `az desktopvirtualization msix-package list`
+
+##### Example
+```
+az desktopvirtualization msix-package list --host-pool-name "hostpool1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+
+#### Command `az desktopvirtualization msix-package show`
+
+##### Example
+```
+az desktopvirtualization msix-package show --host-pool-name "hostpool1" --msix-package-full-name "packagefullname" \
+--resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--msix-package-full-name**|string|The version specific package full name of the MSIX package within specified hostpool|msix_package_full_name|msixPackageFullName|
+
+#### Command `az desktopvirtualization msix-package create`
+
+##### Example
+```
+az desktopvirtualization msix-package create --host-pool-name "hostpool1" --display-name "displayname" --image-path \
+"imagepath" --is-active false --is-regular-registration false --last-updated "2008-09-22T14:01:54.9571247Z" \
+--package-applications description="application-desc" app-id="ApplicationId" app-user-model-id="AppUserModelId" \
+friendly-name="friendlyname" icon-image-name="Apptile" raw-icon="VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" \
+raw-png="VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" --package-dependencies dependency-name="MsixTest_Dependency_Name" \
+min-version="version" publisher="PublishedName" --package-family-name "MsixPackage_FamilyName" --package-name \
+"MsixPackage_name" --package-relative-path "packagerelativepath" --version "version" --msix-package-full-name \
+"msixpackagefullname" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--msix-package-full-name**|string|The version specific package full name of the MSIX package within specified hostpool|msix_package_full_name|msixPackageFullName|
+|**--image-path**|string|VHD/CIM image path on Network Share.|image_path|imagePath|
+|**--package-name**|string|Package Name from appxmanifest.xml. |package_name|packageName|
+|**--package-family-name**|string|Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. |package_family_name|packageFamilyName|
+|**--display-name**|string|User friendly Name to be displayed in the portal. |display_name|displayName|
+|**--package-relative-path**|string|Relative Path to the package inside the image. |package_relative_path|packageRelativePath|
+|**--is-regular-registration**|boolean|Specifies how to register Package in feed.|is_regular_registration|isRegularRegistration|
+|**--is-active**|boolean|Make this version of the package the active one across the hostpool. |is_active|isActive|
+|**--package-dependencies**|array|List of package dependencies. |package_dependencies|packageDependencies|
+|**--version**|string|Package Version found in the appxmanifest.xml. |version|version|
+|**--last-updated**|date-time|Date Package was last updated, found in the appxmanifest.xml. |last_updated|lastUpdated|
+|**--package-applications**|array|List of package applications. |package_applications|packageApplications|
+
+#### Command `az desktopvirtualization msix-package update`
+
+##### Example
+```
+az desktopvirtualization msix-package update --host-pool-name "hostpool1" --display-name "displayname" --is-active \
+true --is-regular-registration false --msix-package-full-name "msixpackagefullname" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--msix-package-full-name**|string|The version specific package full name of the MSIX package within specified hostpool|msix_package_full_name|msixPackageFullName|
+|**--is-active**|boolean|Set a version of the package to be active across hostpool. |is_active|isActive|
+|**--is-regular-registration**|boolean|Set Registration mode. Regular or Delayed.|is_regular_registration|isRegularRegistration|
+|**--display-name**|string|Display name for MSIX Package.|display_name|displayName|
+
+#### Command `az desktopvirtualization msix-package delete`
+
+##### Example
+```
+az desktopvirtualization msix-package delete --host-pool-name "hostpool1" --msix-package-full-name "packagefullname" \
+--resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+|**--msix-package-full-name**|string|The version specific package full name of the MSIX package within specified hostpool|msix_package_full_name|msixPackageFullName|
+
+### group `az desktopvirtualization scaling-plan`
+#### Command `az desktopvirtualization scaling-plan list`
+
+##### Example
+```
+az desktopvirtualization scaling-plan list --host-pool-name "hostPool1" --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--host-pool-name**|string|The name of the host pool within the specified resource group|host_pool_name|hostPoolName|
+
+#### Command `az desktopvirtualization scaling-plan list`
+
+##### Example
+```
+az desktopvirtualization scaling-plan list --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+#### Command `az desktopvirtualization scaling-plan list`
+
+##### Example
+```
+az desktopvirtualization scaling-plan list
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+#### Command `az desktopvirtualization scaling-plan show`
+
+##### Example
+```
+az desktopvirtualization scaling-plan show --resource-group "resourceGroup1" --name "scalingPlan1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--scaling-plan-name**|string|The name of the scaling plan.|scaling_plan_name|scalingPlanName|
+
+#### Command `az desktopvirtualization scaling-plan create`
+
+##### Example
+```
+az desktopvirtualization scaling-plan create --resource-group "resourceGroup1" --location "centralus" --description \
+"des1" --exclusion-tag "value" --friendly-name "friendly" --host-pool-references host-pool-arm-path="/subscriptions/dae\
+fabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hos\
+tPool1" scaling-plan-enabled=true --host-pool-type "Personal" --schedules name="schedule1" days-of-week="Monday" \
+days-of-week="Tuesday" days-of-week="Wednesday" days-of-week="Thursday" days-of-week="Friday" \
+off-peak-load-balancing-algorithm="DepthFirst" off-peak-start-time="2020-11-10T20:00:00.000Z" \
+peak-load-balancing-algorithm="BreadthFirst" peak-start-time="2020-11-10T08:00:00.000Z" ramp-down-capacity-threshold-pc\
+t=50 ramp-down-force-logoff-users=true ramp-down-load-balancing-algorithm="DepthFirst" ramp-down-minimum-hosts-pct=20 \
+ramp-down-notification-message="message" ramp-down-start-time="2020-11-10T18:00:00.000Z" \
+ramp-down-wait-time-minutes=30 ramp-up-capacity-threshold-pct=80 ramp-up-load-balancing-algorithm="DepthFirst" \
+ramp-up-minimum-hosts-pct=20 ramp-up-start-time="2020-11-10T06:00:00.000Z" --time-zone "" --tags tag1="value1" \
+tag2="value2" --name "scalingPlan1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--scaling-plan-name**|string|The name of the scaling plan.|scaling_plan_name|scalingPlanName|
+|**--location**|string|The geo-location where the resource lives|location|location|
+|**--managed-by**|string|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.|managed_by|managedBy|
+|**--kind**|string|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.|kind|kind|
+|**--tags**|dictionary|Resource tags.|tags|tags|
+|**--sku**|object|The resource model definition representing SKU|sku|sku|
+|**--plan**|object|Plan for the resource.|plan|plan|
+|**--description**|string|Description of scaling plan.|description|description|
+|**--friendly-name**|string|User friendly name of scaling plan.|friendly_name|friendlyName|
+|**--time-zone**|string|Timezone of the scaling plan.|time_zone|timeZone|
+|**--host-pool-type**|choice|HostPool type for desktop.|host_pool_type|hostPoolType|
+|**--exclusion-tag**|string|Exclusion tag for scaling plan.|exclusion_tag|exclusionTag|
+|**--schedules**|array|List of ScalingSchedule definitions.|schedules|schedules|
+|**--host-pool-references**|array|List of ScalingHostPoolReference definitions.|host_pool_references|hostPoolReferences|
+
+#### Command `az desktopvirtualization scaling-plan update`
+
+##### Example
+```
+az desktopvirtualization scaling-plan update --resource-group "resourceGroup1" --name "scalingPlan1" --description \
+"des1" --exclusion-tag "value" --friendly-name "friendly" --host-pool-references host-pool-arm-path="/subscriptions/dae\
+fabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hos\
+tPool1" scaling-plan-enabled=true --host-pool-type "Personal" --schedules name="schedule1" days-of-week="Monday" \
+days-of-week="Tuesday" days-of-week="Wednesday" days-of-week="Thursday" days-of-week="Friday" \
+off-peak-load-balancing-algorithm="DepthFirst" off-peak-start-time="2020-11-10T20:00:00.000Z" \
+peak-load-balancing-algorithm="BreadthFirst" peak-start-time="2020-11-10T08:00:00.000Z" ramp-down-capacity-threshold-pc\
+t=50 ramp-down-force-logoff-users=true ramp-down-load-balancing-algorithm="DepthFirst" ramp-down-minimum-hosts-pct=20 \
+ramp-down-notification-message="message" ramp-down-start-time="2020-11-10T18:00:00.000Z" \
+ramp-down-wait-time-minutes=30 ramp-up-capacity-threshold-pct=80 ramp-up-load-balancing-algorithm="DepthFirst" \
+ramp-up-minimum-hosts-pct=20 ramp-up-start-time="2020-11-10T06:00:00.000Z" --time-zone "" --tags tag1="value1" \
+tag2="value2"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--scaling-plan-name**|string|The name of the scaling plan.|scaling_plan_name|scalingPlanName|
+|**--tags**|dictionary|tags to be updated|tags|tags|
+|**--description**|string|Description of scaling plan.|description|description|
+|**--friendly-name**|string|User friendly name of scaling plan.|friendly_name|friendlyName|
+|**--time-zone**|string|Timezone of the scaling plan.|time_zone|timeZone|
+|**--host-pool-type**|choice|HostPool type for desktop.|host_pool_type|hostPoolType|
+|**--exclusion-tag**|string|Exclusion tag for scaling plan.|exclusion_tag|exclusionTag|
+|**--schedules**|array|List of ScalingSchedule definitions.|schedules|schedules|
+|**--host-pool-references**|array|List of ScalingHostPoolReference definitions.|host_pool_references|hostPoolReferences|
+
+#### Command `az desktopvirtualization scaling-plan delete`
+
+##### Example
+```
+az desktopvirtualization scaling-plan delete --resource-group "resourceGroup1" --name "scalingPlan1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--scaling-plan-name**|string|The name of the scaling plan.|scaling_plan_name|scalingPlanName|
+
+### group `az desktopvirtualization workspace`
+#### Command `az desktopvirtualization workspace list`
+
+##### Example
+```
+az desktopvirtualization workspace list --resource-group "resourceGroup1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+
+#### Command `az desktopvirtualization workspace list`
+
+##### Example
+```
+az desktopvirtualization workspace list
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+#### Command `az desktopvirtualization workspace show`
+
+##### Example
+```
+az desktopvirtualization workspace show --resource-group "resourceGroup1" --name "workspace1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--workspace-name**|string|The name of the workspace|workspace_name|workspaceName|
+
+#### Command `az desktopvirtualization workspace create`
+
+##### Example
+```
+az desktopvirtualization workspace create --resource-group "resourceGroup1" --location "centralus" --description \
+"des1" --friendly-name "friendly" --tags tag1="value1" tag2="value2" --name "workspace1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--workspace-name**|string|The name of the workspace|workspace_name|workspaceName|
+|**--location**|string|The geo-location where the resource lives|location|location|
+|**--managed-by**|string|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.|managed_by|managedBy|
+|**--kind**|string|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.|kind|kind|
+|**--tags**|dictionary|Resource tags.|tags|tags|
+|**--sku**|object|The resource model definition representing SKU|sku|sku|
+|**--plan**|object|Plan for the resource.|plan|plan|
+|**--description**|string|Description of Workspace.|description|description|
+|**--friendly-name**|string|Friendly name of Workspace.|friendly_name|friendlyName|
+|**--application-group-references**|array|List of applicationGroup resource Ids.|application_group_references|applicationGroupReferences|
+
+#### Command `az desktopvirtualization workspace update`
+
+##### Example
+```
+az desktopvirtualization workspace update --resource-group "resourceGroup1" --description "des1" --friendly-name \
+"friendly" --tags tag1="value1" tag2="value2" --name "workspace1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--workspace-name**|string|The name of the workspace|workspace_name|workspaceName|
+|**--tags**|dictionary|tags to be updated|tags|tags|
+|**--description**|string|Description of Workspace.|description|description|
+|**--friendly-name**|string|Friendly name of Workspace.|friendly_name|friendlyName|
+|**--application-group-references**|array|List of applicationGroup links.|application_group_references|applicationGroupReferences|
+
+#### Command `az desktopvirtualization workspace delete`
+
+##### Example
+```
+az desktopvirtualization workspace delete --resource-group "resourceGroup1" --name "workspace1"
+```
+##### Parameters
+|Option|Type|Description|Path (SDK)|Swagger name|
+|------|----|-----------|----------|------------|
+|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
+|**--workspace-name**|string|The name of the workspace|workspace_name|workspaceName|
diff --git a/src/desktopvirtualization/setup.py b/src/desktopvirtualization/setup.py
index 2c2a532e47a..073a8214f4b 100644
--- a/src/desktopvirtualization/setup.py
+++ b/src/desktopvirtualization/setup.py
@@ -12,7 +12,7 @@
# HISTORY.rst entry.
VERSION = '0.1.0'
try:
- from .manual.version import VERSION
+ from azext_desktopvirtualization.manual.version import VERSION
except ImportError:
pass
@@ -31,8 +31,9 @@
]
DEPENDENCIES = []
+
try:
- from .manual.dependency import DEPENDENCIES
+ from azext_desktopvirtualization.manual.dependency import DEPENDENCIES
except ImportError:
pass