From 22f9cee8a72ac43dc24e334937f53419182a3324 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 5 Nov 2020 02:17:03 +0000 Subject: [PATCH] Generated from fdbcb782d66cbfc041f697bf88d8121a7c7118cf --- ...icommon-000010-prename-pre-simplified.yaml | 674 - .../clicommon-000010-prename-pre.yaml | 8235 ------------ ...common-000020-prename-post-simplified.yaml | 1708 --- .../clicommon-000020-prename-post.yaml | 9037 ------------- ...-000030-complex-marker-pre-simplified.yaml | 1708 --- .../clicommon-000030-complex-marker-pre.yaml | 9037 ------------- ...000040-complex-marker-post-simplified.yaml | 1978 --- .../clicommon-000040-complex-marker-post.yaml | 9346 ------------- ...mon-000050-flatten-set-pre-simplified.yaml | 1978 --- .../clicommon-000050-flatten-set-pre.yaml | 9346 ------------- ...on-000060-flatten-set-post-simplified.yaml | 1989 --- .../clicommon-000060-flatten-set-post.yaml | 9368 ------------- ...common-000070-modifier-pre-simplified.yaml | 1994 --- .../clicommon-000070-modifier-pre.yaml | 10094 -------------- ...ommon-000080-modifier-post-simplified.yaml | 2002 --- .../clicommon-000080-modifier-post.yaml | 10102 -------------- ...licommon-000090-namer-post-simplified.yaml | 2383 ---- .../clicommon-000090-namer-post.yaml | 11138 ---------------- ...00100-poly-as-resource-pre-simplified.yaml | 2383 ---- ...clicommon-000100-poly-as-resource-pre.yaml | 11138 ---------------- ...0110-poly-as-resource-post-simplified.yaml | 2383 ---- ...licommon-000110-poly-as-resource-post.yaml | 11138 ---------------- ...-000120-complex-marker-pre-simplified.yaml | 2383 ---- .../clicommon-000120-complex-marker-pre.yaml | 11138 ---------------- ...000130-complex-marker-post-simplified.yaml | 2383 ---- .../clicommon-000130-complex-marker-post.yaml | 11138 ---------------- .../clicommon-flatten-object-map.txt | 31 - .../azext_desktopvirtualization/__init__.py | 4 + .../azext_metadata.json | 2 +- .../generated/_client_factory.py | 11 +- .../generated/_help.py | 199 +- .../generated/_params.py | 184 +- .../generated/action.py | 62 +- .../generated/commands.py | 28 +- .../generated/custom.py | 123 +- .../tests/__init__.py | 61 +- .../test_desktopvirtualization_scenario.py | 276 +- .../desktopvirtualization/__init__.py | 2 +- .../desktopvirtualization/_configuration.py | 7 +- .../_desktop_virtualization_api_client.py | 19 +- .../desktopvirtualization/_version.py | 9 - .../desktopvirtualization/aio/__init__.py | 2 +- ...nfiguration_async.py => _configuration.py} | 7 +- ... => _desktop_virtualization_api_client.py} | 57 +- .../aio/operations/__init__.py | 33 + .../_application_group_operations.py} | 96 +- .../_application_operations.py} | 91 +- .../_desktop_operations.py} | 39 +- .../_host_pool_operations.py} | 143 +- .../_msix_image_operations.py} | 65 +- .../operations/_msix_package_operations.py | 430 + .../_operation_operations.py} | 12 +- .../_session_host_operations.py} | 57 +- .../_start_menu_item_operations.py} | 21 +- .../_user_session_operations.py} | 86 +- .../_workspace_operations.py} | 92 +- .../aio/operations_async/__init__.py | 33 - ...ation_group_assignment_operations_async.py | 119 - .../desktopvirtualization/models/__init__.py | 33 + ...desktop_virtualization_api_client_enums.py | 134 +- .../desktopvirtualization/models/_models.py | 576 +- .../models/_models_py3.py | 646 +- .../operations/__init__.py | 8 +- ...application_group_assignment_operations.py | 124 - .../_application_group_operations.py | 96 +- .../operations/_application_operations.py | 91 +- .../operations/_desktop_operations.py | 39 +- .../operations/_host_pool_operations.py | 143 +- ...perations.py => _msix_image_operations.py} | 65 +- .../operations/_msix_package_operations.py | 439 + .../operations/_operation_operations.py | 12 +- .../operations/_session_host_operations.py | 57 +- .../operations/_start_menu_item_operations.py | 21 +- .../operations/_user_session_operations.py | 86 +- .../operations/_workspace_operations.py | 92 +- .../desktopvirtualization/setup.py | 37 - src/desktopvirtualization/report.md | 611 +- src/desktopvirtualization/setup.py | 5 +- 78 files changed, 4307 insertions(+), 157610 deletions(-) delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000010-prename-pre.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000020-prename-post-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000020-prename-post.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000030-complex-marker-pre.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000040-complex-marker-post.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000050-flatten-set-pre.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000060-flatten-set-post.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000070-modifier-pre.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000080-modifier-post.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000090-namer-post-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000090-namer-post.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000100-poly-as-resource-pre.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000110-poly-as-resource-post.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000120-complex-marker-pre.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post-simplified.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-000130-complex-marker-post.yaml delete mode 100644 src/desktopvirtualization/_az_debug/clicommon-flatten-object-map.txt delete mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/_version.py rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{_configuration_async.py => _configuration.py} (90%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{_desktop_virtualization_api_client_async.py => _desktop_virtualization_api_client.py} (72%) create mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/__init__.py rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_application_group_operations_async.py => operations/_application_group_operations.py} (87%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_application_operations_async.py => operations/_application_operations.py} (83%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_desktop_operations_async.py => operations/_desktop_operations.py} (89%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_host_pool_operations_async.py => operations/_host_pool_operations.py} (76%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_active_application_operations_async.py => operations/_msix_image_operations.py} (66%) create mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_package_operations.py rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_operation_operations_async.py => operations/_operation_operations.py} (89%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_session_host_operations_async.py => operations/_session_host_operations.py} (89%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_start_menu_item_operations_async.py => operations/_start_menu_item_operations.py} (89%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_user_session_operations_async.py => operations/_user_session_operations.py} (89%) rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/{operations_async/_workspace_operations_async.py => operations/_workspace_operations.py} (87%) delete mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/__init__.py delete mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations_async/_application_group_assignment_operations_async.py delete mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_assignment_operations.py rename src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/{_active_application_operations.py => _msix_image_operations.py} (66%) create mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_package_operations.py delete mode 100644 src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/setup.py 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..4f48fa652a5 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.11.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..4ef5c4194d3 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/generated/_client_factory.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/_client_factory.py @@ -12,7 +12,8 @@ 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) + return get_mgmt_service_client(cli_ctx, + DesktopVirtualizationAPIClient) def cf_workspace(cli_ctx, *_): @@ -25,3 +26,11 @@ def cf_application_group(cli_ctx, *_): def cf_host_pool(cli_ctx, *_): return cf_desktopvirtualization_cl(cli_ctx).host_pool + + +def cf_msix_package(cli_ctx, *_): + return cf_desktopvirtualization_cl(cli_ctx).msix_package + + +def cf_msix_image(cli_ctx, *_): + return cf_desktopvirtualization_cl(cli_ctx).msix_image diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py index f83a14c0562..8718d46355c 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/_help.py @@ -19,49 +19,52 @@ 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." 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 applicationgroup'] = """ @@ -71,54 +74,57 @@ 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." 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" --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'] = """ @@ -128,28 +134,31 @@ 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: --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 @@ -161,17 +170,19 @@ 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" +--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-context "KeyVaultPath" --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 +193,122 @@ 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-context "KeyVaultPath" \ +--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 msix-package'] = """ + type: group + short-summary: desktopvirtualization msix-package +""" + +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: desktopvirtualization msix-image +""" + +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..ec3c32dea42 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/generated/_params.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/_params.py @@ -20,7 +20,9 @@ from azure.cli.core.commands.validators import get_default_location_from_resource_group from azext_desktopvirtualization.action import ( AddDesktopvirtualizationHostpoolCreateRegistrationInfo, - AddDesktopvirtualizationHostpoolUpdateRegistrationInfo + AddDesktopvirtualizationHostpoolUpdateRegistrationInfo, + AddPackageDependencies, + AddPackageApplications ) @@ -31,117 +33,205 @@ 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('workspace_name', options_list=['--name', '-n', '--workspace-name'], type=str, help='The name of ' + 'the workspace') c.argument('tags', tags_type) c.argument('location', arg_type=get_location_type(self.cli_ctx), 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('application_group_references', nargs='+', help='List of applicationGroup resource Ids.') + 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('application_group_references', nargs='+', help='List of applicationGroup links.') + 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 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('application_group_name', options_list=['--name', '-n', '--application-group-name'], type=str, + help='The name of the application group') c.argument('tags', tags_type) c.argument('location', arg_type=get_location_type(self.cli_ctx), 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('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.') 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('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('tags', tags_type) c.argument('location', arg_type=get_location_type(self.cli_ctx), 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('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']), 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('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', help='The ring number of HostPool.') + 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='+', + 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('sso_context', type=str, help='Path to keyvault containing ssoContext secret.') + 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 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('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', help='The ring number of HostPool.') + 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='+', + 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('sso_context', type=str, help='Path to keyvault containing ssoContext secret.') + 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 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..a169e2969e0 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/generated/action.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/action.py @@ -10,8 +10,8 @@ # pylint: disable=protected-access import argparse -from knack.util import CLIError from collections import defaultdict +from knack.util import CLIError class AddDesktopvirtualizationHostpoolCreateRegistrationInfo(argparse.Action): @@ -62,3 +62,63 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use elif kl == 'registration-token-operation': d['registration_token_operation'] = v[0] 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] + 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] + return d diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py index 213f6a8306c..a3b9f8a8f91 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/commands.py @@ -26,7 +26,7 @@ def load_command_table(self, _): 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_application_group desktopvirtualization_application_group = CliCommandType( @@ -39,7 +39,7 @@ def load_command_table(self, _): 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( @@ -52,4 +52,26 @@ def load_command_table(self, _): 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) + + from azext_desktopvirtualization.generated._client_factory import cf_msix_package + desktopvirtualization_msix_package = CliCommandType( + operations_tmpl='azext_desktopvirtualization.vendored_sdks.desktopvirtualization.operations._msix_package_opera' + 'tions#MsixPackageOperations.{}', + client_factory=cf_msix_package) + with self.command_group('desktopvirtualization msix-package', desktopvirtualization_msix_package, + client_factory=cf_msix_package, is_experimental=True) 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_image_operati' + 'ons#MsixImageOperations.{}', + client_factory=cf_msix_image) + with self.command_group('desktopvirtualization msix-image', desktopvirtualization_msix_image, + client_factory=cf_msix_image, is_experimental=True) as g: + g.custom_command('expand', 'desktopvirtualization_msix_image_expand') diff --git a/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py b/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py index 703318cf2ce..c774e9f078a 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/generated/custom.py @@ -8,7 +8,6 @@ # regenerated. # -------------------------------------------------------------------------- # pylint: disable=too-many-lines -# pylint: disable=unused-argument def desktopvirtualization_workspace_list(client, @@ -66,11 +65,11 @@ def desktopvirtualization_workspace_delete(client, 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, @@ -138,18 +137,24 @@ def desktopvirtualization_hostpool_create(client, host_pool_name, location, host_pool_type, - personal_desktop_assignment_type, load_balancer_type, + preferred_app_group_type, tags=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): + 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): return client.create_or_update(resource_group_name=resource_group_name, host_pool_name=host_pool_name, tags=tags, @@ -165,7 +170,13 @@ def desktopvirtualization_hostpool_create(client, validation_environment=validation_environment, registration_info=registration_info, vm_template=vm_template, - sso_context=sso_context) + sso_context=sso_context, + ssoadfs_authority=ssoadfs_authority, + sso_client_id=sso_client_id, + sso_client_secret_key_vault_path=sso_client_secret_key_vault_path, + sso_secret_type=sso_secret_type, + preferred_app_group_type=preferred_app_group_type, + start_vm_on_connect=start_vm_on_connect) def desktopvirtualization_hostpool_update(client, @@ -181,7 +192,14 @@ def desktopvirtualization_hostpool_update(client, ring=None, validation_environment=None, registration_info=None, - sso_context=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, + preferred_app_group_type=None, + start_vm_on_connect=None): return client.update(resource_group_name=resource_group_name, host_pool_name=host_pool_name, tags=tags, @@ -194,7 +212,14 @@ def desktopvirtualization_hostpool_update(client, ring=ring, validation_environment=validation_environment, registration_info=registration_info, - sso_context=sso_context) + vm_template=vm_template, + sso_context=sso_context, + ssoadfs_authority=ssoadfs_authority, + sso_client_id=sso_client_id, + sso_client_secret_key_vault_path=sso_client_secret_key_vault_path, + sso_secret_type=sso_secret_type, + preferred_app_group_type=preferred_app_group_type, + start_vm_on_connect=start_vm_on_connect) def desktopvirtualization_hostpool_delete(client, @@ -204,3 +229,83 @@ def desktopvirtualization_hostpool_delete(client, return client.delete(resource_group_name=resource_group_name, host_pool_name=host_pool_name, force=force) + + +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): + 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, + image_path=image_path, + package_name=package_name, + package_family_name=package_family_name, + display_name=display_name, + package_relative_path=package_relative_path, + is_regular_registration=is_regular_registration, + is_active=is_active, + package_dependencies=package_dependencies, + version=version, + last_updated=last_updated, + package_applications=package_applications) + + +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): + return client.update(resource_group_name=resource_group_name, + host_pool_name=host_pool_name, + msix_package_full_name=msix_package_full_name, + is_active=is_active, + is_regular_registration=is_regular_registration, + display_name=display_name) + + +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): + return client.expand(resource_group_name=resource_group_name, + host_pool_name=host_pool_name, + uri=uri) diff --git a/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py b/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py index 9b7ec942a0b..50e0627daff 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/tests/__init__.py @@ -9,15 +9,23 @@ # 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): @@ -39,29 +47,64 @@ 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__)) + func_to_call = import_manual_function(func) + 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: + 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/test_desktopvirtualization_scenario.py b/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/test_desktopvirtualization_scenario.py index b7e6600e568..a568bda6f34 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/test_desktopvirtualization_scenario.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/tests/latest/test_desktopvirtualization_scenario.py @@ -10,13 +10,14 @@ import os from azure.cli.testsdk import ScenarioTest -from .. import try_manual, raise_if +from .. import try_manual, raise_if, calc_coverage from azure.cli.testsdk import ResourceGroupPreparer TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) +# Env setup @try_manual def setup(test, rg): pass @@ -33,12 +34,36 @@ def step__hostpools_put_hostpool_create(test, rg): '--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" ' + '--preferred-app-group-type "Desktop" ' + '--registration-info expiration-time="2020-11-15T02:16:55.667Z" registration-token-operation="Update" ' + '--sso-client-id "client" ' + '--sso-client-secret-key-vault-path "https://keyvault/secret" ' '--sso-context "KeyVaultPath" ' + '--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=[ + 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("ssoContext", "KeyVaultPath", 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), + ]) # EXAMPLE: /HostPools/get/HostPool_Get @@ -47,7 +72,24 @@ def step__hostpools_get_hostpool_get(test, rg): test.cmd('az desktopvirtualization hostpool show ' '--name "{myHostPool}" ' '--resource-group "{rg}"', - checks=[]) + 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("ssoContext", "KeyVaultPath", 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), + ]) # EXAMPLE: /HostPools/get/HostPool_List @@ -55,7 +97,9 @@ def step__hostpools_get_hostpool_get(test, rg): def step__hostpools_get_hostpool_list(test, rg): test.cmd('az desktopvirtualization hostpool list ' '-g ""', - checks=[]) + checks=[ + test.check('length(@)', 1), + ]) # EXAMPLE: /HostPools/get/HostPool_ListByResourceGroup @@ -63,7 +107,9 @@ def step__hostpools_get_hostpool_list(test, rg): def step__hostpools_get_hostpool_listbyresourcegroup(test, rg): test.cmd('az desktopvirtualization hostpool list ' '--resource-group "{rg}"', - checks=[]) + checks=[ + test.check('length(@)', 1), + ]) # EXAMPLE: /HostPools/patch/HostPool_Update @@ -75,28 +121,59 @@ def step__hostpools_patch_hostpool_update(test, rg): '--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" ' + '--registration-info expiration-time="2020-11-15T02:16:55.668Z" registration-token-operation="Update" ' + '--sso-client-id "client" ' + '--sso-client-secret-key-vault-path "https://keyvault/secret" ' '--sso-context "KeyVaultPath" ' + '--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=[ + 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("ssoContext", "KeyVaultPath", 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), + ]) # EXAMPLE: /ApplicationGroups/put/ApplicationGroup_Create @try_manual -def step__applicationgroups_put_applicationgroup_create(test, rg): +def step__applicationgroups_put(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}" ' + '--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=[]) + 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/Microsof" + "t.DesktopVirtualization/hostPools/{myHostPool}", case_sensitive=False), + test.check("name", "{myApplicationGroup}", case_sensitive=False), + ]) # EXAMPLE: /ApplicationGroups/get/ApplicationGroup_Get @@ -105,7 +182,15 @@ def step__applicationgroups_get_applicationgroup_get(test, rg): test.cmd('az desktopvirtualization applicationgroup show ' '--name "{myApplicationGroup}" ' '--resource-group "{rg}"', - checks=[]) + 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/Microsof" + "t.DesktopVirtualization/hostPools/{myHostPool}", case_sensitive=False), + test.check("name", "{myApplicationGroup}", case_sensitive=False), + ]) # EXAMPLE: /ApplicationGroups/get/ApplicationGroup_List @@ -119,7 +204,7 @@ def step__applicationgroups_get_applicationgroup_list(test, rg): # EXAMPLE: /ApplicationGroups/get/ApplicationGroup_ListByResourceGroup @try_manual -def step__applicationgroups_get_applicationgroup_listbyresourcegroup(test, rg): +def step__applicationgroups_get(test, rg): test.cmd('az desktopvirtualization applicationgroup list ' '--filter "applicationGroupType eq \'RailApplication\'" ' '--resource-group "{rg}"', @@ -128,25 +213,119 @@ def step__applicationgroups_get_applicationgroup_listbyresourcegroup(test, rg): # EXAMPLE: /ApplicationGroups/patch/ApplicationGroups_Update @try_manual -def step__applicationgroups_patch_applicationgroups_update(test, rg): +def step__applicationgroups_patch(test, rg): test.cmd('az desktopvirtualization applicationgroup update ' '--description "des1" ' '--friendly-name "friendly" ' '--tags tag1="value1" tag2="value2" ' '--name "{myApplicationGroup}" ' '--resource-group "{rg}"', - checks=[]) + 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/Microsof" + "t.DesktopVirtualization/hostPools/{myHostPool}", case_sensitive=False), + test.check("name", "{myApplicationGroup}", case_sensitive=False), + ]) # EXAMPLE: /ApplicationGroups/delete/ApplicationGroup_Delete @try_manual -def step__applicationgroups_delete_applicationgroup_delete(test, rg): - test.cmd('az desktopvirtualization applicationgroup delete ' +def step__applicationgroups_delete(test, rg): + test.cmd('az desktopvirtualization applicationgroup delete -y ' '--name "{myApplicationGroup}" ' '--resource-group "{rg}"', checks=[]) +# EXAMPLE: /MsixImages/post/MsixImage_Expand +@try_manual +def step__msiximages_post_msiximage_expand(test, rg): + test.cmd('az desktopvirtualization msix-image expand ' + '--host-pool-name "{myHostPool2}" ' + '--uri "imagepath" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /MSIXPackages/put/MSIXPackage_Create +@try_manual +def step__msixpackages_put_msixpackage_create(test, rg): + 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 "2020-11-15T02:16:55.674Z" ' + '--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=[]) + + +# EXAMPLE: /MSIXPackages/get/MSIXPackage_Get +@try_manual +def step__msixpackages_get_msixpackage_get(test, rg): + test.cmd('az desktopvirtualization msix-package show ' + '--host-pool-name "{myHostPool2}" ' + '--msix-package-full-name "packagefullname" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /MSIXPackages/get/MSIXPackage_List +@try_manual +def step__msixpackages_get_msixpackage_list(test, rg): + test.cmd('az desktopvirtualization msix-package list ' + '--host-pool-name "{myHostPool2}" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /MSIXPackages/patch/MSIXPackage_Update +@try_manual +def step__msixpackages_patch_msixpackage_update(test, rg): + 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=[]) + + +# EXAMPLE: /MSIXPackages/delete/MSIXPackage_Delete +@try_manual +def step__msixpackages_delete_msixpackage_delete(test, rg): + test.cmd('az desktopvirtualization msix-package delete -y ' + '--host-pool-name "{myHostPool2}" ' + '--msix-package-full-name "packagefullname" ' + '--resource-group "{rg}"', + checks=[]) + + +# EXAMPLE: /HostPools/delete/HostPool_Delete +@try_manual +def step__hostpools_delete_hostpool_delete(test, rg): + test.cmd('az desktopvirtualization hostpool delete -y ' + '--force true ' + '--name "{myHostPool}" ' + '--resource-group "{rg}"', + checks=[]) + + # EXAMPLE: /Workspaces/put/Workspace_Create @try_manual def step__workspaces_put_workspace_create(test, rg): @@ -157,7 +336,12 @@ def step__workspaces_put_workspace_create(test, rg): '--friendly-name "friendly" ' '--tags tag1="value1" tag2="value2" ' '--name "{myWorkspace}"', - checks=[]) + 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), + ]) # EXAMPLE: /Workspaces/get/Workspace_Get @@ -166,7 +350,12 @@ def step__workspaces_get_workspace_get(test, rg): test.cmd('az desktopvirtualization workspace show ' '--resource-group "{rg}" ' '--name "{myWorkspace}"', - checks=[]) + 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), + ]) # EXAMPLE: /Workspaces/get/Workspace_ListByResourceGroup @@ -174,7 +363,9 @@ def step__workspaces_get_workspace_get(test, rg): def step__workspaces_get_workspace_listbyresourcegroup(test, rg): test.cmd('az desktopvirtualization workspace list ' '--resource-group "{rg}"', - checks=[]) + checks=[ + test.check('length(@)', 1), + ]) # EXAMPLE: /Workspaces/get/Workspace_ListBySubscription @@ -182,7 +373,9 @@ def step__workspaces_get_workspace_listbyresourcegroup(test, rg): def step__workspaces_get_workspace_listbysubscription(test, rg): test.cmd('az desktopvirtualization workspace list ' '-g ""', - checks=[]) + checks=[ + test.check('length(@)', 1), + ]) # EXAMPLE: /Workspaces/patch/Workspace_Update @@ -194,33 +387,30 @@ def step__workspaces_patch_workspace_update(test, rg): '--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=[]) + 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), + ]) # EXAMPLE: /Workspaces/delete/Workspace_Delete @try_manual def step__workspaces_delete_workspace_delete(test, rg): - test.cmd('az desktopvirtualization workspace delete ' + test.cmd('az desktopvirtualization workspace delete -y ' '--resource-group "{rg}" ' '--name "{myWorkspace}"', checks=[]) +# Env cleanup @try_manual def cleanup(test, rg): pass +# Testcase @try_manual def call_scenario(test, rg): setup(test, rg) @@ -229,18 +419,24 @@ def call_scenario(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_put(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__applicationgroups_get(test, rg) + step__applicationgroups_patch(test, rg) + step__applicationgroups_delete(test, rg) + step__msiximages_post_msiximage_expand(test, rg) + step__msixpackages_put_msixpackage_create(test, rg) + step__msixpackages_get_msixpackage_get(test, rg) + step__msixpackages_get_msixpackage_list(test, rg) + step__msixpackages_patch_msixpackage_update(test, rg) + step__msixpackages_delete_msixpackage_delete(test, rg) + step__hostpools_delete_hostpool_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) @@ -259,8 +455,10 @@ def test_desktopvirtualization(self, rg): self.kwargs.update({ 'myWorkspace': 'workspace1', 'myHostPool': 'hostPool1', + 'myHostPool2': 'hostpool1', 'myApplicationGroup': 'applicationGroup1', }) 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..e0d641fb815 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 = "2020-11-02-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..4880f764828 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 @@ -20,7 +20,6 @@ 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 @@ -28,7 +27,8 @@ from .operations import HostPoolOperations from .operations import UserSessionOperations from .operations import SessionHostOperations -from .operations import ActiveApplicationOperations +from .operations import MsixPackageOperations +from .operations import MsixImageOperations from . import models @@ -39,8 +39,6 @@ class DesktopVirtualizationAPIClient(object): :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 @@ -55,14 +53,15 @@ class DesktopVirtualizationAPIClient(object): :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 msix_package: MsixPackageOperations operations + :vartype msix_package: desktop_virtualization_api_client.operations.MsixPackageOperations + :ivar msix_image: MsixImageOperations operations + :vartype msix_image: desktop_virtualization_api_client.operations.MsixImageOperations :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__( @@ -86,8 +85,6 @@ def __init__( 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( @@ -102,7 +99,9 @@ def __init__( 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.msix_package = MsixPackageOperations( + self._client, self._config, self._serialize, self._deserialize) + self.msix_image = MsixImageOperations( 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..95f4517d3cd 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 = "2020-11-02-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_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client.py similarity index 72% rename from src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client_async.py rename to src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/_desktop_virtualization_api_client.py index 481123f11c0..200184b1049 100644 --- 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.py @@ -15,18 +15,18 @@ # 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 ._configuration import DesktopVirtualizationAPIClientConfiguration +from .operations import OperationOperations +from .operations import WorkspaceOperations +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 MsixPackageOperations +from .operations import MsixImageOperations from .. import models @@ -34,33 +34,32 @@ class DesktopVirtualizationAPIClient(object): """DesktopVirtualizationAPIClient. :ivar operation: OperationOperations operations - :vartype operation: desktop_virtualization_api_client.aio.operations_async.OperationOperations + :vartype operation: desktop_virtualization_api_client.aio.operations.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 + :vartype workspace: desktop_virtualization_api_client.aio.operations.WorkspaceOperations :ivar application_group: ApplicationGroupOperations operations - :vartype application_group: desktop_virtualization_api_client.aio.operations_async.ApplicationGroupOperations + :vartype application_group: desktop_virtualization_api_client.aio.operations.ApplicationGroupOperations :ivar start_menu_item: StartMenuItemOperations operations - :vartype start_menu_item: desktop_virtualization_api_client.aio.operations_async.StartMenuItemOperations + :vartype start_menu_item: desktop_virtualization_api_client.aio.operations.StartMenuItemOperations :ivar application: ApplicationOperations operations - :vartype application: desktop_virtualization_api_client.aio.operations_async.ApplicationOperations + :vartype application: desktop_virtualization_api_client.aio.operations.ApplicationOperations :ivar desktop: DesktopOperations operations - :vartype desktop: desktop_virtualization_api_client.aio.operations_async.DesktopOperations + :vartype desktop: desktop_virtualization_api_client.aio.operations.DesktopOperations :ivar host_pool: HostPoolOperations operations - :vartype host_pool: desktop_virtualization_api_client.aio.operations_async.HostPoolOperations + :vartype host_pool: desktop_virtualization_api_client.aio.operations.HostPoolOperations :ivar user_session: UserSessionOperations operations - :vartype user_session: desktop_virtualization_api_client.aio.operations_async.UserSessionOperations + :vartype user_session: desktop_virtualization_api_client.aio.operations.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 + :vartype session_host: desktop_virtualization_api_client.aio.operations.SessionHostOperations + :ivar msix_package: MsixPackageOperations operations + :vartype msix_package: desktop_virtualization_api_client.aio.operations.MsixPackageOperations + :ivar msix_image: MsixImageOperations operations + :vartype msix_image: desktop_virtualization_api_client.aio.operations.MsixImageOperations :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__( @@ -83,8 +82,6 @@ def __init__( 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( @@ -99,7 +96,9 @@ def __init__( 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.msix_package = MsixPackageOperations( + self._client, self._config, self._serialize, self._deserialize) + self.msix_image = MsixImageOperations( self._client, self._config, self._serialize, self._deserialize) async def close(self) -> None: 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..4df0516c3e3 --- /dev/null +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/__init__.py @@ -0,0 +1,33 @@ +# 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 import OperationOperations +from ._workspace_operations import WorkspaceOperations +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 ._msix_package_operations import MsixPackageOperations +from ._msix_image_operations import MsixImageOperations + +__all__ = [ + 'OperationOperations', + 'WorkspaceOperations', + 'ApplicationGroupOperations', + 'StartMenuItemOperations', + 'ApplicationOperations', + 'DesktopOperations', + 'HostPoolOperations', + 'UserSessionOperations', + 'SessionHostOperations', + 'MsixPackageOperations', + 'MsixImageOperations', +] 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_group_operations.py similarity index 87% 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_group_operations.py index 67d6e2fb3eb..167af5e495f 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_group_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 @@ -59,9 +59,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -133,12 +135,15 @@ async def create_or_update( :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" + 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 = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -156,14 +161,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 +174,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,9 +204,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -221,8 +226,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 @@ -263,12 +268,15 @@ async def update( :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" + application_group = models.ApplicationGroupPatch(tags=tags, description=description, friendly_name=friendly_name) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -286,17 +294,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 +329,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 +337,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 = "2020-11-02-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 +363,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 +402,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 +410,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 = "2020-11-02-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 +435,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/_application_operations.py similarity index 83% 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/_application_operations.py index 2d106a34c43..2a2aba898f2 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/_application_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 @@ -62,9 +62,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -110,6 +112,9 @@ async def create_or_update( 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, "models.RemoteApplicationType"]] = None, command_line_arguments: Optional[str] = None, show_in_portal: Optional[bool] = None, icon_path: Optional[str] = None, @@ -134,6 +139,12 @@ async def create_or_update( :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. + :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType :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 @@ -149,12 +160,15 @@ async def create_or_update( :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" + application = models.Application(description=description, friendly_name=friendly_name, file_path=file_path, msix_package_family_name=msix_package_family_name, msix_package_application_id=msix_package_application_id, application_type=application_type, 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 = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -173,14 +187,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 +200,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,9 +233,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -242,8 +256,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 @@ -271,6 +285,9 @@ async def update( 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, "models.RemoteApplicationType"]] = None, **kwargs ) -> "models.Application": """Update an application. @@ -302,18 +319,27 @@ async def update( :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. + :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType :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" + 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, msix_package_family_name=msix_package_family_name, msix_package_application_id=msix_package_application_id, application_type=application_type) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -332,17 +358,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,11 +400,18 @@ 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 = "2020-11-02-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 @@ -394,15 +425,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/_desktop_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_desktop_operations.py similarity index 89% 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/_desktop_operations.py index 22bfcf90da0..9c289f440ff 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/_desktop_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 @@ -61,9 +61,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -130,12 +132,15 @@ async def update( :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" + desktop = models.DesktopPatch(tags=tags, description=description, friendly_name=friendly_name) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -154,17 +159,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,9 +201,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -217,9 +223,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_pool_operations.py similarity index 76% 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_pool_operations.py index 1c297620523..9b775894ea7 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_pool_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 @@ -59,9 +59,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -103,11 +105,12 @@ async def create_or_update( 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"], + preferred_app_group_type: Union[str, "models.PreferredAppGroupType"], tags: Optional[Dict[str, str]] = None, friendly_name: Optional[str] = None, description: Optional[str] = None, + personal_desktop_assignment_type: Optional[Union[str, "models.PersonalDesktopAssignmentType"]] = None, custom_rdp_property: Optional[str] = None, max_session_limit: Optional[int] = None, ring: Optional[int] = None, @@ -115,6 +118,11 @@ async def create_or_update( registration_info: Optional["models.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, "models.SsoSecretType"]] = None, + start_vm_on_connect: Optional[bool] = None, **kwargs ) -> "models.HostPool": """Create or update a host pool. @@ -127,16 +135,19 @@ async def create_or_update( :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 preferred_app_group_type: The type of preferred application group type, default to + Desktop Application Group. + :type preferred_app_group_type: str or ~desktop_virtualization_api_client.models.PreferredAppGroupType :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 personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. + :type personal_desktop_assignment_type: str or ~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType :param custom_rdp_property: Custom rdp property of HostPool. :type custom_rdp_property: str :param max_session_limit: The max session limit of HostPool. @@ -151,18 +162,33 @@ async def create_or_update( :type vm_template: 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. + :type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType + :param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature. + :type start_vm_on_connect: bool :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" + 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, ssoadfs_authority=ssoadfs_authority, sso_client_id=sso_client_id, sso_client_secret_key_vault_path=sso_client_secret_key_vault_path, sso_secret_type=sso_secret_type, preferred_app_group_type=preferred_app_group_type, start_vm_on_connect=start_vm_on_connect) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -180,14 +206,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 +219,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,9 +252,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -250,8 +276,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 @@ -279,7 +305,14 @@ async def update( ring: Optional[int] = None, validation_environment: Optional[bool] = None, registration_info: Optional["models.RegistrationInfoPatch"] = 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, "models.SsoSecretType"]] = None, + preferred_app_group_type: Optional[Union[str, "models.PreferredAppGroupType"]] = None, + start_vm_on_connect: Optional[bool] = None, **kwargs ) -> "models.HostPool": """Update a host pool. @@ -308,20 +341,40 @@ async def update( :type validation_environment: bool :param registration_info: The registration info of HostPool. :type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfoPatch + :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 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. + :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. + :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 :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" + 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, vm_template=vm_template, sso_context=sso_context, ssoadfs_authority=ssoadfs_authority, sso_client_id=sso_client_id, sso_client_secret_key_vault_path=sso_client_secret_key_vault_path, sso_secret_type=sso_secret_type, preferred_app_group_type=preferred_app_group_type, start_vm_on_connect=start_vm_on_connect) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -339,17 +392,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 +431,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 = "2020-11-02-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 +455,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 +498,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 = "2020-11-02-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 +521,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/_active_application_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_image_operations.py similarity index 66% 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_image_operations.py index 481d74f208d..c0bdb715f04 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_image_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 MsixImageOperations: + """MsixImageOperations 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,70 @@ 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, + uri: Optional[str] = None, **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 uri: URI to Image. + :type uri: str :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" + msix_image_uri = models.MsixImageUri(uri=uri) + api_version = "2020-11-02-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), } 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 +125,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_package_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_package_operations.py new file mode 100644 index 00000000000..c67b7ab4457 --- /dev/null +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_msix_package_operations.py @@ -0,0 +1,430 @@ +# 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. +# -------------------------------------------------------------------------- +import datetime +from typing import Any, AsyncIterable, Callable, Dict, Generic, List, 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 MsixPackageOperations: + """MsixPackageOperations 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 = "2020-11-02-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), + '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, + 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["models.MsixPackageDependencies"]] = None, + version: Optional[str] = None, + last_updated: Optional[datetime.datetime] = None, + package_applications: Optional[List["models.MsixPackageApplications"]] = None, + **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 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] + :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', {})) + + msix_package = models.MsixPackage(image_path=image_path, package_name=package_name, package_family_name=package_family_name, display_name=display_name, package_relative_path=package_relative_path, is_regular_registration=is_regular_registration, is_active=is_active, package_dependencies=package_dependencies, version=version, last_updated=last_updated, package_applications=package_applications) + api_version = "2020-11-02-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), + '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 = "2020-11-02-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), + '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, + is_active: Optional[bool] = None, + is_regular_registration: Optional[bool] = None, + display_name: Optional[str] = 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 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 + :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', {})) + + msix_package = models.MsixPackagePatch(is_active=is_active, is_regular_registration=is_regular_registration, display_name=display_name) + api_version = "2020-11-02-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), + '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 = "2020-11-02-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), + } + 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/_operation_operations.py similarity index 89% 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/_operation_operations.py index 2cf37ab408a..1b4f22acd2d 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/_operation_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 @@ -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 = "2020-11-02-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_async/_session_host_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_session_host_operations.py similarity index 89% 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_host_operations.py index a6afd849923..e0ed549dd48 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_host_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 @@ -62,9 +62,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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,9 +127,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -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 @@ -189,12 +194,15 @@ async def update( :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" + session_host = models.SessionHostPatch(allow_new_session=allow_new_session, assigned_user=assigned_user) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -213,17 +221,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,11 +263,18 @@ 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 = "2020-11-02-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 @@ -275,15 +288,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/_start_menu_item_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_start_menu_item_operations.py similarity index 89% 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_item_operations.py index 2bd7b9faa4d..8c17d5565ac 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_item_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 @@ -59,11 +59,18 @@ 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 = "2020-11-02-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 @@ -77,15 +84,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/_user_session_operations_async.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/aio/operations/_user_session_operations.py similarity index 89% 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_session_operations.py index 1b3fb3c181c..0f90b4a103f 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_session_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 @@ -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,11 +63,18 @@ 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 = "2020-11-02-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 @@ -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,9 +145,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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,9 +214,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -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,11 +276,18 @@ 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 = "2020-11-02-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 @@ -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,9 +357,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.disconnect.metadata['url'] # type: ignore @@ -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 @@ -412,12 +426,15 @@ async def send_message( :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" + send_message = models.SendMessage(message_title=message_title, message_body=message_body) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.send_message.metadata['url'] # type: ignore @@ -437,16 +454,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/_workspace_operations.py similarity index 87% 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/_workspace_operations.py index 9a611f38f55..d32a8aad84e 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/_workspace_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 @@ -59,9 +59,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -130,12 +132,15 @@ async def create_or_update( :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" + workspace = models.Workspace(tags=tags, location=location, description=description, friendly_name=friendly_name, application_group_references=application_group_references) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -153,14 +158,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 +171,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,9 +201,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -218,8 +223,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 @@ -263,12 +268,15 @@ async def update( :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" + workspace = models.WorkspacePatch(tags=tags, description=description, friendly_name=friendly_name, application_group_references=application_group_references) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -286,17 +294,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 +333,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 = "2020-11-02-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 +357,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 +400,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 = "2020-11-02-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 +423,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..0cb33341148 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/__init__.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/models/__init__.py @@ -13,12 +13,21 @@ 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 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 RegistrationInfo from ._models_py3 import RegistrationInfoPatch from ._models_py3 import Resource @@ -44,12 +53,21 @@ 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 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 RegistrationInfo # type: ignore from ._models import RegistrationInfoPatch # type: ignore from ._models import Resource # type: ignore @@ -76,8 +94,11 @@ HostPoolType, LoadBalancerType, PersonalDesktopAssignmentType, + PreferredAppGroupType, RegistrationTokenOperation, + RemoteApplicationType, SessionState, + SsoSecretType, Status, UpdateState, ) @@ -89,12 +110,21 @@ 'ApplicationGroupPatch', 'ApplicationList', 'ApplicationPatch', + 'CloudErrorProperties', 'Desktop', 'DesktopList', 'DesktopPatch', + 'ExpandMsixImage', + 'ExpandMsixImageList', 'HostPool', 'HostPoolList', 'HostPoolPatch', + 'MsixImageUri', + 'MsixPackage', + 'MsixPackageApplications', + 'MsixPackageDependencies', + 'MsixPackageList', + 'MsixPackagePatch', 'RegistrationInfo', 'RegistrationInfoPatch', 'Resource', @@ -119,8 +149,11 @@ 'HostPoolType', 'LoadBalancerType', 'PersonalDesktopAssignmentType', + 'PreferredAppGroupType', 'RegistrationTokenOperation', + 'RemoteApplicationType', 'SessionState', + 'SsoSecretType', 'Status', '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..83f39457bb7 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,132 @@ # 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 HostPoolType(str, Enum): +class HostPoolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """HostPool type for desktop. """ - personal = "Personal" - pooled = "Pooled" + PERSONAL = "Personal" + POOLED = "Pooled" -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 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 SessionState(str, Enum): +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 SsoSecretType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of single sign on Secret Type. + """ + + SHARED_KEY = "SharedKey" + CERTIFICATE = "Certificate" + SHARED_KEY_IN_KEY_VAULT = "SharedKeyInKeyVault" + CERTIFICATE_IN_KEY_VAULT = "CertificateInKeyVault" -class Status(str, Enum): +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" + UNAVAILABLE = "Unavailable" + SHUTDOWN = "Shutdown" + DISCONNECTED = "Disconnected" + UPGRADING = "Upgrading" + UPGRADE_FAILED = "UpgradeFailed" -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..a08c8e38f64 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,13 +53,13 @@ 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 :param description: Description of Application. :type description: str @@ -67,6 +67,13 @@ class Application(Resource): :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", @@ -103,6 +110,9 @@ class Application(Resource): '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'}, @@ -120,6 +130,9 @@ def __init__( 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) @@ -130,19 +143,19 @@ def __init__( class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] @@ -181,13 +194,13 @@ class ApplicationGroup(TrackedResource): 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] @@ -276,13 +289,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 +384,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 +403,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 +422,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,13 +455,13 @@ 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 :param description: Description of Desktop. :type description: str @@ -509,6 +558,124 @@ def __init__( self.friendly_name = kwargs.get('friendly_name', None) +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(TrackedResource): """Represents a HostPool definition. @@ -516,13 +683,13 @@ class HostPool(TrackedResource): 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] @@ -535,8 +702,8 @@ class HostPool(TrackedResource): :param host_pool_type: Required. HostPool type for desktop. Possible values include: "Personal", "Pooled". :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. @@ -558,6 +725,24 @@ class HostPool(TrackedResource): :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 """ _validation = { @@ -566,9 +751,9 @@ class HostPool(TrackedResource): 'type': {'readonly': True}, 'location': {'required': 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}, } _attribute_map = { @@ -590,6 +775,12 @@ class HostPool(TrackedResource): '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'}, } def __init__( @@ -600,7 +791,7 @@ def __init__( 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'] @@ -610,6 +801,12 @@ def __init__( 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) class HostPoolList(msrest.serialization.Model): @@ -646,13 +843,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 +874,27 @@ 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 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 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 +917,14 @@ class HostPoolPatch(Resource): 'ring': {'key': 'properties.ring', 'type': 'int'}, 'validation_environment': {'key': 'properties.validationEnvironment', 'type': 'bool'}, 'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfoPatch'}, + 'vm_template': {'key': 'properties.vmTemplate', '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'}, } def __init__( @@ -719,7 +942,260 @@ 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.vm_template = kwargs.get('vm_template', 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.get('preferred_app_group_type', None) + self.start_vm_on_connect = kwargs.get('start_vm_on_connect', None) + + +class MsixImageUri(msrest.serialization.Model): + """Represents URI referring to MSIX Image. + + :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 = { + '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(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 MsixPackageDependencies(msrest.serialization.Model): + """Schema for MSIX Package Dependencies properties. + + :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 = { + 'dependency_name': {'key': 'dependencyName', 'type': 'str'}, + 'publisher': {'key': 'publisher', 'type': 'str'}, + 'min_version': {'key': 'minVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + 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 MsixPackageList(msrest.serialization.Model): + """List of MSIX Package definitions. + + 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 = { + 'value': {'key': 'value', 'type': '[MsixPackage]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MsixPackageList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +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 - + /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 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, + **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 RegistrationInfo(msrest.serialization.Model): @@ -877,13 +1353,13 @@ class SessionHost(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 last_heart_beat: Last heart beat from SessionHost. :type last_heart_beat: ~datetime.datetime @@ -893,6 +1369,10 @@ class SessionHost(Resource): :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", @@ -917,6 +1397,8 @@ class SessionHost(Resource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, + 'virtual_machine_id': {'readonly': True}, + 'resource_id': {'readonly': True}, 'status_timestamp': {'readonly': True}, 'last_update_time': {'readonly': True}, } @@ -929,6 +1411,8 @@ class SessionHost(Resource): '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'}, @@ -948,6 +1432,8 @@ def __init__( 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 @@ -992,13 +1478,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,13 +1520,13 @@ 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 @@ -1121,13 +1607,13 @@ 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 :param user_principal_name: The user principal name. :type user_principal_name: str @@ -1208,13 +1694,13 @@ class Workspace(TrackedResource): 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] 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..11cbf4ff9de 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,13 +58,13 @@ 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 :param description: Description of Application. :type description: str @@ -72,6 +72,13 @@ class Application(Resource): :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", @@ -108,6 +115,9 @@ class Application(Resource): '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 +134,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, @@ -134,6 +147,9 @@ def __init__( 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 @@ -144,19 +160,19 @@ def __init__( class TrackedResource(Resource): - """The resource model definition for a ARM tracked top level resource. + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] @@ -198,13 +214,13 @@ class ApplicationGroup(TrackedResource): 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] @@ -302,13 +318,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 +419,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 +438,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 +455,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 +470,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,13 +506,13 @@ 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 :param description: Description of Desktop. :type description: str @@ -560,6 +618,140 @@ def __init__( self.friendly_name = friendly_name +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(TrackedResource): """Represents a HostPool definition. @@ -567,13 +759,13 @@ class HostPool(TrackedResource): 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] @@ -586,8 +778,8 @@ class HostPool(TrackedResource): :param host_pool_type: Required. HostPool type for desktop. Possible values include: "Personal", "Pooled". :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. @@ -609,6 +801,24 @@ class HostPool(TrackedResource): :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 """ _validation = { @@ -617,9 +827,9 @@ class HostPool(TrackedResource): 'type': {'readonly': True}, 'location': {'required': 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}, } _attribute_map = { @@ -641,6 +851,12 @@ class HostPool(TrackedResource): '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'}, } def __init__( @@ -648,11 +864,12 @@ def __init__( *, 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"], tags: Optional[Dict[str, str]] = 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, @@ -660,6 +877,11 @@ def __init__( 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, **kwargs ): super(HostPool, self).__init__(tags=tags, location=location, **kwargs) @@ -676,6 +898,12 @@ def __init__( 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 class HostPoolList(msrest.serialization.Model): @@ -714,13 +942,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 +973,27 @@ 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 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 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 +1016,14 @@ class HostPoolPatch(Resource): 'ring': {'key': 'properties.ring', 'type': 'int'}, 'validation_environment': {'key': 'properties.validationEnvironment', 'type': 'bool'}, 'registration_info': {'key': 'properties.registrationInfo', 'type': 'RegistrationInfoPatch'}, + 'vm_template': {'key': 'properties.vmTemplate', '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'}, } def __init__( @@ -785,7 +1039,14 @@ def __init__( ring: Optional[int] = None, validation_environment: Optional[bool] = None, registration_info: Optional["RegistrationInfoPatch"] = 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, + preferred_app_group_type: Optional[Union[str, "PreferredAppGroupType"]] = None, + start_vm_on_connect: Optional[bool] = None, **kwargs ): super(HostPoolPatch, self).__init__(**kwargs) @@ -799,7 +1060,292 @@ def __init__( self.ring = ring self.validation_environment = validation_environment self.registration_info = registration_info + self.vm_template = vm_template 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 + + +class MsixImageUri(msrest.serialization.Model): + """Represents URI referring to MSIX Image. + + :param uri: URI to Image. + :type uri: str + """ + + _attribute_map = { + 'uri': {'key': 'uri', 'type': 'str'}, + } + + def __init__( + self, + *, + uri: Optional[str] = None, + **kwargs + ): + super(MsixImageUri, self).__init__(**kwargs) + self.uri = uri + + +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, + *, + 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 = { + '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, + *, + 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(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 MsixPackageDependencies(msrest.serialization.Model): + """Schema for MSIX Package Dependencies properties. + + :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 = { + 'dependency_name': {'key': 'dependencyName', 'type': 'str'}, + 'publisher': {'key': 'publisher', 'type': 'str'}, + 'min_version': {'key': 'minVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + dependency_name: Optional[str] = None, + publisher: Optional[str] = None, + min_version: Optional[str] = None, + **kwargs + ): + super(MsixPackageDependencies, self).__init__(**kwargs) + self.dependency_name = dependency_name + self.publisher = publisher + self.min_version = min_version + + +class MsixPackageList(msrest.serialization.Model): + """List of MSIX Package definitions. + + 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 = { + 'value': {'key': 'value', 'type': '[MsixPackage]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["MsixPackage"]] = None, + **kwargs + ): + super(MsixPackageList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +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 - + /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 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 RegistrationInfo(msrest.serialization.Model): @@ -977,13 +1523,13 @@ class SessionHost(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 last_heart_beat: Last heart beat from SessionHost. :type last_heart_beat: ~datetime.datetime @@ -993,6 +1539,10 @@ class SessionHost(Resource): :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", @@ -1017,6 +1567,8 @@ class SessionHost(Resource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, + 'virtual_machine_id': {'readonly': True}, + 'resource_id': {'readonly': True}, 'status_timestamp': {'readonly': True}, 'last_update_time': {'readonly': True}, } @@ -1029,6 +1581,8 @@ class SessionHost(Resource): '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'}, @@ -1059,6 +1613,8 @@ def __init__( 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 @@ -1105,13 +1661,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,13 +1706,13 @@ 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 @@ -1246,13 +1802,13 @@ 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 :param user_principal_name: The user principal name. :type user_principal_name: str @@ -1341,13 +1897,13 @@ class Workspace(TrackedResource): 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 tags: A set of tags. Resource tags. :type tags: dict[str, str] 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..4df0516c3e3 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/__init__.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/__init__.py @@ -8,7 +8,6 @@ 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 @@ -16,12 +15,12 @@ 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 ._msix_package_operations import MsixPackageOperations +from ._msix_image_operations import MsixImageOperations __all__ = [ 'OperationOperations', 'WorkspaceOperations', - 'ApplicationGroupAssignmentOperations', 'ApplicationGroupOperations', 'StartMenuItemOperations', 'ApplicationOperations', @@ -29,5 +28,6 @@ 'HostPoolOperations', 'UserSessionOperations', 'SessionHostOperations', - 'ActiveApplicationOperations', + 'MsixPackageOperations', + 'MsixImageOperations', ] 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_group_operations.py index 7ab3e5b6dec..cc9bc027049 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_group_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 @@ -64,9 +64,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -139,12 +141,15 @@ def create_or_update( :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" + 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 = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -162,14 +167,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 +180,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,9 +211,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -228,8 +233,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 @@ -271,12 +276,15 @@ def update( :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" + application_group = models.ApplicationGroupPatch(tags=tags, description=description, friendly_name=friendly_name) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -294,17 +302,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 +338,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 +346,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 = "2020-11-02-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 +372,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 +412,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 +420,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 = "2020-11-02-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 +445,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/_application_operations.py index aa4c4afcc2b..ce286442c63 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_application_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 @@ -67,9 +67,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -115,6 +117,9 @@ def create_or_update( description=None, # type: Optional[str] friendly_name=None, # type: Optional[str] file_path=None, # type: Optional[str] + msix_package_family_name=None, # type: Optional[str] + msix_package_application_id=None, # type: Optional[str] + application_type=None, # type: Optional[Union[str, "models.RemoteApplicationType"]] command_line_arguments=None, # type: Optional[str] show_in_portal=None, # type: Optional[bool] icon_path=None, # type: Optional[str] @@ -140,6 +145,12 @@ def create_or_update( :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. + :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType :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 @@ -155,12 +166,15 @@ def create_or_update( :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" + application = models.Application(description=description, friendly_name=friendly_name, file_path=file_path, msix_package_family_name=msix_package_family_name, msix_package_application_id=msix_package_application_id, application_type=application_type, 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 = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -179,14 +193,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 +206,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,9 +240,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -249,8 +263,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 @@ -278,6 +292,9 @@ def update( show_in_portal=None, # type: Optional[bool] icon_path=None, # type: Optional[str] icon_index=None, # type: Optional[int] + msix_package_family_name=None, # type: Optional[str] + msix_package_application_id=None, # type: Optional[str] + application_type=None, # type: Optional[Union[str, "models.RemoteApplicationType"]] **kwargs # type: Any ): # type: (...) -> "models.Application" @@ -310,18 +327,27 @@ def update( :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. + :type application_type: str or ~desktop_virtualization_api_client.models.RemoteApplicationType :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" + 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, msix_package_family_name=msix_package_family_name, msix_package_application_id=msix_package_application_id, application_type=application_type) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -340,17 +366,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,11 +409,18 @@ 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 = "2020-11-02-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 @@ -403,15 +434,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/operations/_desktop_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktop_operations.py index 0d844be1080..36481f035c6 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktop_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_desktop_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 @@ -66,9 +66,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -136,12 +138,15 @@ def update( :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" + desktop = models.DesktopPatch(tags=tags, description=description, friendly_name=friendly_name) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -160,17 +165,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,9 +208,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -224,9 +230,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_pool_operations.py index 855d0c0470d..971fee8d498 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pool_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_host_pool_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 @@ -64,9 +64,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -108,11 +110,12 @@ def create_or_update( 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"] + preferred_app_group_type, # type: Union[str, "models.PreferredAppGroupType"] tags=None, # type: Optional[Dict[str, str]] friendly_name=None, # type: Optional[str] description=None, # type: Optional[str] + personal_desktop_assignment_type=None, # type: Optional[Union[str, "models.PersonalDesktopAssignmentType"]] custom_rdp_property=None, # type: Optional[str] max_session_limit=None, # type: Optional[int] ring=None, # type: Optional[int] @@ -120,6 +123,11 @@ def create_or_update( registration_info=None, # type: Optional["models.RegistrationInfo"] vm_template=None, # type: Optional[str] sso_context=None, # type: Optional[str] + ssoadfs_authority=None, # type: Optional[str] + sso_client_id=None, # type: Optional[str] + sso_client_secret_key_vault_path=None, # type: Optional[str] + sso_secret_type=None, # type: Optional[Union[str, "models.SsoSecretType"]] + start_vm_on_connect=None, # type: Optional[bool] **kwargs # type: Any ): # type: (...) -> "models.HostPool" @@ -133,16 +141,19 @@ def create_or_update( :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 preferred_app_group_type: The type of preferred application group type, default to + Desktop Application Group. + :type preferred_app_group_type: str or ~desktop_virtualization_api_client.models.PreferredAppGroupType :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 personal_desktop_assignment_type: PersonalDesktopAssignment type for HostPool. + :type personal_desktop_assignment_type: str or ~desktop_virtualization_api_client.models.PersonalDesktopAssignmentType :param custom_rdp_property: Custom rdp property of HostPool. :type custom_rdp_property: str :param max_session_limit: The max session limit of HostPool. @@ -157,18 +168,33 @@ def create_or_update( :type vm_template: 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. + :type sso_secret_type: str or ~desktop_virtualization_api_client.models.SsoSecretType + :param start_vm_on_connect: The flag to turn on/off StartVMOnConnect feature. + :type start_vm_on_connect: bool :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" + 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, ssoadfs_authority=ssoadfs_authority, sso_client_id=sso_client_id, sso_client_secret_key_vault_path=sso_client_secret_key_vault_path, sso_secret_type=sso_secret_type, preferred_app_group_type=preferred_app_group_type, start_vm_on_connect=start_vm_on_connect) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -186,14 +212,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 +225,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,9 +259,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -257,8 +283,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 @@ -286,7 +312,14 @@ def update( ring=None, # type: Optional[int] validation_environment=None, # type: Optional[bool] registration_info=None, # type: Optional["models.RegistrationInfoPatch"] + vm_template=None, # type: Optional[str] sso_context=None, # type: Optional[str] + ssoadfs_authority=None, # type: Optional[str] + sso_client_id=None, # type: Optional[str] + sso_client_secret_key_vault_path=None, # type: Optional[str] + sso_secret_type=None, # type: Optional[Union[str, "models.SsoSecretType"]] + preferred_app_group_type=None, # type: Optional[Union[str, "models.PreferredAppGroupType"]] + start_vm_on_connect=None, # type: Optional[bool] **kwargs # type: Any ): # type: (...) -> "models.HostPool" @@ -316,20 +349,40 @@ def update( :type validation_environment: bool :param registration_info: The registration info of HostPool. :type registration_info: ~desktop_virtualization_api_client.models.RegistrationInfoPatch + :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 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. + :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. + :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 :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" + 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, vm_template=vm_template, sso_context=sso_context, ssoadfs_authority=ssoadfs_authority, sso_client_id=sso_client_id, sso_client_secret_key_vault_path=sso_client_secret_key_vault_path, sso_secret_type=sso_secret_type, preferred_app_group_type=preferred_app_group_type, start_vm_on_connect=start_vm_on_connect) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -347,17 +400,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 +440,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 = "2020-11-02-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 +464,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 +508,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 = "2020-11-02-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 +531,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/operations/_active_application_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_image_operations.py similarity index 66% 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_image_operations.py index 59f1de40ddf..1e5c8c1410a 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_active_application_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_image_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 MsixImageOperations(object): + """MsixImageOperations 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,71 @@ 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] + uri=None, # type: Optional[str] **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 uri: URI to Image. + :type uri: str :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" + msix_image_uri = models.MsixImageUri(uri=uri) + api_version = "2020-11-02-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), } 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 +130,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_package_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_package_operations.py new file mode 100644 index 00000000000..796b2c1bb83 --- /dev/null +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_msix_package_operations.py @@ -0,0 +1,439 @@ +# 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. +# -------------------------------------------------------------------------- +import datetime +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, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class MsixPackageOperations(object): + """MsixPackageOperations 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 = "2020-11-02-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), + '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 + image_path=None, # type: Optional[str] + package_name=None, # type: Optional[str] + package_family_name=None, # type: Optional[str] + display_name=None, # type: Optional[str] + package_relative_path=None, # type: Optional[str] + is_regular_registration=None, # type: Optional[bool] + is_active=None, # type: Optional[bool] + package_dependencies=None, # type: Optional[List["models.MsixPackageDependencies"]] + version=None, # type: Optional[str] + last_updated=None, # type: Optional[datetime.datetime] + package_applications=None, # type: Optional[List["models.MsixPackageApplications"]] + **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 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] + :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', {})) + + msix_package = models.MsixPackage(image_path=image_path, package_name=package_name, package_family_name=package_family_name, display_name=display_name, package_relative_path=package_relative_path, is_regular_registration=is_regular_registration, is_active=is_active, package_dependencies=package_dependencies, version=version, last_updated=last_updated, package_applications=package_applications) + api_version = "2020-11-02-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), + '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 = "2020-11-02-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), + '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 + is_active=None, # type: Optional[bool] + is_regular_registration=None, # type: Optional[bool] + display_name=None, # type: Optional[str] + **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 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 + :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', {})) + + msix_package = models.MsixPackagePatch(is_active=is_active, is_regular_registration=is_regular_registration, display_name=display_name) + api_version = "2020-11-02-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), + '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 = "2020-11-02-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), + } + 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/_operation_operations.py index 7fbcd6b267d..f2ca033bb41 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operation_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_operation_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 @@ -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 = "2020-11-02-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/_session_host_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_host_operations.py index 4faae4be2b6..3804af6e119 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_host_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_session_host_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 @@ -67,9 +67,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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,9 +133,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -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 @@ -196,12 +201,15 @@ def update( :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" + session_host = models.SessionHostPatch(allow_new_session=allow_new_session, assigned_user=assigned_user) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -220,17 +228,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,11 +271,18 @@ 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 = "2020-11-02-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 @@ -283,15 +296,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/operations/_start_menu_item_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_start_menu_item_operations.py index 815e7e5139e..8da4d6f8d0f 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_item_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 @@ -64,11 +64,18 @@ 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 = "2020-11-02-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 @@ -82,15 +89,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/operations/_user_session_operations.py b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_session_operations.py index 47cebe6695e..ab64c0ea1ff 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_session_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_user_session_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 @@ -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,11 +68,18 @@ 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 = "2020-11-02-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 @@ -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,9 +151,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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,9 +221,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -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,11 +284,18 @@ 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 = "2020-11-02-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 @@ -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,9 +366,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.disconnect.metadata['url'] # type: ignore @@ -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 @@ -422,12 +436,15 @@ def send_message( :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" + send_message = models.SendMessage(message_title=message_title, message_body=message_body) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.send_message.metadata['url'] # type: ignore @@ -447,16 +464,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/_workspace_operations.py index 821e5c5e7d4..0b75219746a 100644 --- a/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspace_operations.py +++ b/src/desktopvirtualization/azext_desktopvirtualization/vendored_sdks/desktopvirtualization/operations/_workspace_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 @@ -64,9 +64,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -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 @@ -136,12 +138,15 @@ def create_or_update( :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" + workspace = models.Workspace(tags=tags, location=location, description=description, friendly_name=friendly_name, application_group_references=application_group_references) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.create_or_update.metadata['url'] # type: ignore @@ -159,14 +164,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 +177,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,9 +208,12 @@ 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 = "2020-11-02-preview" + accept = "application/json" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -225,8 +230,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 @@ -271,12 +276,15 @@ def update( :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" + workspace = models.WorkspacePatch(tags=tags, description=description, friendly_name=friendly_name, application_group_references=application_group_references) + api_version = "2020-11-02-preview" content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL url = self.update.metadata['url'] # type: ignore @@ -294,17 +302,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 +342,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 = "2020-11-02-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 +366,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 +410,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 = "2020-11-02-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 +433,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..81a8bd458fd 100644 --- a/src/desktopvirtualization/report.md +++ b/src/desktopvirtualization/report.md @@ -1,164 +1,451 @@ # 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 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)| + +### 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 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" --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| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--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| +|**--tags**|dictionary|Resource tags.|tags|tags| +|**--description**|string|Description of ApplicationGroup.|description|description| +|**--friendly-name**|string|Friendly name of ApplicationGroup.|friendly_name|friendlyName| + +#### 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 \ +--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-context "KeyVaultPath" --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| +|**--location**|string|The geo-location where the resource lives|location|location| +|**--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| +|**--tags**|dictionary|Resource tags.|tags|tags| +|**--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| +|**--sso-context**|string|Path to keyvault containing ssoContext secret.|sso_context|ssoContext| +|**--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| + +#### 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-context "KeyVaultPath" --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| +|**--sso-context**|string|Path to keyvault containing ssoContext secret.|sso_context|ssoContext| +|**--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| + +### 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 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| +|**--tags**|dictionary|Resource tags.|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 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