Skip to content

Commit 467ebaf

Browse files
azure-powershell-botLei Jin
andauthored
Migrate DesktopVirtualization from generation-DesktopVirtualization-preview to Az.DesktopVirtualization-preview (#24208)
* Move DesktopVirtualization to Az.DesktopVirtualization-preview * Fix help issue manually * Remove UX data for Invoke-AzWvdControlSessionHostUpdate --------- Co-authored-by: Lei Jin <[email protected]>
1 parent c7768c2 commit 467ebaf

File tree

1,252 files changed

+125710
-23877
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,252 files changed

+125710
-23877
lines changed

src/DesktopVirtualization/DesktopVirtualization.Autorest/Az.DesktopVirtualization.format.ps1xml

Lines changed: 2961 additions & 1235 deletions
Large diffs are not rendered by default.

src/DesktopVirtualization/DesktopVirtualization.Autorest/Az.DesktopVirtualization.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.DesktopVirtualization.private.dll'
1313
FormatsToProcess = './Az.DesktopVirtualization.format.ps1xml'
14-
FunctionsToExport = 'Disconnect-AzWvdUserSession', 'Expand-AzWvdMsixImage', 'Get-AzWvdApplication', 'Get-AzWvdApplicationGroup', 'Get-AzWvdDesktop', 'Get-AzWvdHostPool', 'Get-AzWvdHostPoolRegistrationToken', 'Get-AzWvdMsixPackage', 'Get-AzWvdPrivateEndpointConnection', 'Get-AzWvdPrivateLinkResource', 'Get-AzWvdRegistrationInfo', 'Get-AzWvdScalingPlan', 'Get-AzWvdScalingPlanPersonalSchedule', 'Get-AzWvdScalingPlanPooledSchedule', 'Get-AzWvdSessionHost', 'Get-AzWvdStartMenuItem', 'Get-AzWvdUserSession', 'Get-AzWvdWorkspace', 'New-AzWvdApplication', 'New-AzWvdApplicationGroup', 'New-AzWvdHostPool', 'New-AzWvdMsixPackage', 'New-AzWvdRegistrationInfo', 'New-AzWvdScalingPlan', 'New-AzWvdScalingPlanPersonalSchedule', 'New-AzWvdScalingPlanPooledSchedule', 'New-AzWvdWorkspace', 'Register-AzWvdApplicationGroup', 'Remove-AzWvdApplication', 'Remove-AzWvdApplicationGroup', 'Remove-AzWvdHostPool', 'Remove-AzWvdMsixPackage', 'Remove-AzWvdPrivateEndpointConnection', 'Remove-AzWvdRegistrationInfo', 'Remove-AzWvdScalingPlan', 'Remove-AzWvdScalingPlanPersonalSchedule', 'Remove-AzWvdScalingPlanPooledSchedule', 'Remove-AzWvdSessionHost', 'Remove-AzWvdUserSession', 'Remove-AzWvdWorkspace', 'Send-AzWvdUserSessionMessage', 'Unregister-AzWvdApplicationGroup', 'Update-AzWvdApplication', 'Update-AzWvdApplicationGroup', 'Update-AzWvdDesktop', 'Update-AzWvdHostPool', 'Update-AzWvdMsixPackage', 'Update-AzWvdScalingPlan', 'Update-AzWvdScalingPlanPersonalSchedule', 'Update-AzWvdScalingPlanPooledSchedule', 'Update-AzWvdSessionHost', 'Update-AzWvdWorkspace', '*'
14+
FunctionsToExport = 'Disconnect-AzWvdUserSession', 'Expand-AzWvdMsixImage', 'Get-AzWvdActiveSessionHostConfiguration', 'Get-AzWvdAppAttachPackage', 'Get-AzWvdApplication', 'Get-AzWvdApplicationGroup', 'Get-AzWvdDesktop', 'Get-AzWvdHostPool', 'Get-AzWvdHostPoolRegistrationToken', 'Get-AzWvdMsixPackage', 'Get-AzWvdPrivateEndpointConnection', 'Get-AzWvdPrivateLinkResource', 'Get-AzWvdRegistrationInfo', 'Get-AzWvdScalingPlan', 'Get-AzWvdScalingPlanPersonalSchedule', 'Get-AzWvdScalingPlanPooledSchedule', 'Get-AzWvdSessionHost', 'Get-AzWvdSessionHostConfiguration', 'Get-AzWvdSessionHostConfigurationsOperationStatus', 'Get-AzWvdSessionHostManagement', 'Get-AzWvdSessionHostManagementsOperationStatus', 'Get-AzWvdStartMenuItem', 'Get-AzWvdUserSession', 'Get-AzWvdWorkspace', 'Import-AzWvdAppAttachPackageInfo', 'Invoke-AzWvdControlSessionHostUpdate', 'Invoke-AzWvdInitiateSessionHostUpdate', 'Invoke-AzWvdRetrySessionHostProvisioning', 'New-AzWvdAppAttachPackage', 'New-AzWvdApplication', 'New-AzWvdApplicationGroup', 'New-AzWvdHostPool', 'New-AzWvdMsixPackage', 'New-AzWvdRegistrationInfo', 'New-AzWvdScalingPlan', 'New-AzWvdScalingPlanPersonalSchedule', 'New-AzWvdScalingPlanPooledSchedule', 'New-AzWvdSessionHostConfiguration', 'New-AzWvdSessionHostManagement', 'New-AzWvdWorkspace', 'Register-AzWvdApplicationGroup', 'Remove-AzWvdAppAttachPackage', 'Remove-AzWvdApplication', 'Remove-AzWvdApplicationGroup', 'Remove-AzWvdHostPool', 'Remove-AzWvdMsixPackage', 'Remove-AzWvdPrivateEndpointConnection', 'Remove-AzWvdRegistrationInfo', 'Remove-AzWvdScalingPlan', 'Remove-AzWvdScalingPlanPersonalSchedule', 'Remove-AzWvdScalingPlanPooledSchedule', 'Remove-AzWvdSessionHost', 'Remove-AzWvdUserSession', 'Remove-AzWvdWorkspace', 'Send-AzWvdUserSessionMessage', 'Unregister-AzWvdApplicationGroup', 'Update-AzWvdAppAttachPackage', 'Update-AzWvdApplication', 'Update-AzWvdApplicationGroup', 'Update-AzWvdDesktop', 'Update-AzWvdHostPool', 'Update-AzWvdMsixPackage', 'Update-AzWvdScalingPlan', 'Update-AzWvdScalingPlanPersonalSchedule', 'Update-AzWvdScalingPlanPooledSchedule', 'Update-AzWvdSessionHost', 'Update-AzWvdSessionHostConfiguration', 'Update-AzWvdSessionHostManagement', 'Update-AzWvdWorkspace', '*'
1515
AliasesToExport = '*'
1616
PrivateData = @{
1717
PSData = @{

src/DesktopVirtualization/DesktopVirtualization.Autorest/README.md

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
This directory contains the PowerShell module for the DesktopVirtualization service.
44

55
---
6-
## Status
7-
[![Az.DesktopVirtualization](https://img.shields.io/powershellgallery/v/Az.DesktopVirtualization.svg?style=flat-square&label=Az.DesktopVirtualization "Az.DesktopVirtualization")](https://www.powershellgallery.com/packages/Az.DesktopVirtualization/)
8-
96
## Info
107
- Modifiable: yes
118
- Generated: all
@@ -47,13 +44,13 @@ In this directory, run AutoRest:
4744
> see https://aka.ms/autorest
4845
4946
``` yaml
50-
commit: 50175f111e9c899249e79eb082a75fb8a7aba0e2
47+
commit: 301696d1ba960be2f6e21dc6a73ee2dc1c59027d
5148
require:
5249
- $(this-folder)/../../readme.azure.noprofile.md
5350
sanitize-names: true
5451
subject-prefix: 'Wvd'
5552
input-file:
56-
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2023-09-05/desktopvirtualization.json
53+
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/desktopvirtualization.json
5754

5855
module-version: 2.1.0
5956
title: DesktopVirtualizationClient
@@ -103,4 +100,43 @@ directive:
103100
parameter-name: Force
104101
set:
105102
parameter-description: 'Specify to force userSession deletion.'
103+
- where:
104+
parameter-name: ProgressSessionHostsInProgress
105+
set:
106+
parameter-name: SessionHostsInProgress
107+
- where:
108+
verb: Get
109+
subject: AppAttachPackage
110+
set:
111+
preview-announcement:
112+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
113+
estimated-ga-date: 2024-04-01
114+
- where:
115+
verb: Import
116+
subject: AppAttachPackageInfo
117+
set:
118+
preview-announcement:
119+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
120+
estimated-ga-date: 2024-04-01
121+
- where:
122+
verb: New
123+
subject: AppAttachPackage
124+
set:
125+
preview-announcement:
126+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
127+
estimated-ga-date: 2024-04-01
128+
- where:
129+
verb: Remove
130+
subject: AppAttachPackage
131+
set:
132+
preview-announcement:
133+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
134+
estimated-ga-date: 2024-04-01
135+
- where:
136+
verb: Update
137+
subject: AppAttachPackage
138+
set:
139+
preview-announcement:
140+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
141+
estimated-ga-date: 2024-04-01
106142
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"resourceType": "appAttachPackages",
3+
"apiVersion": "2023-11-01-preview",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzWvdAppAttachPackage",
10+
"description": "Get an app attach package.",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization/get-azwvdappattachpackage"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-Name <String>",
20+
"-ResourceGroupName <String>",
21+
"[-SubscriptionId <String[]>]"
22+
]
23+
}
24+
]
25+
},
26+
"examples": [
27+
{
28+
"description": "Get an app attach package.",
29+
"parameters": [
30+
{
31+
"name": "-Name",
32+
"value": "[Path.appAttachPackageName]"
33+
},
34+
{
35+
"name": "-ResourceGroupName",
36+
"value": "[Path.resourceGroupName]"
37+
},
38+
{
39+
"name": "-SubscriptionId",
40+
"value": "[Path.subscriptionId]"
41+
}
42+
]
43+
}
44+
]
45+
}
46+
]
47+
}

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/applicationGroups-applications.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "applicationGroups/applications",
3-
"apiVersion": "2023-09-05",
3+
"apiVersion": "2023-11-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/applicationGroups-desktops.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "applicationGroups/desktops",
3-
"apiVersion": "2023-09-05",
3+
"apiVersion": "2023-11-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/applicationGroups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "applicationGroups",
3-
"apiVersion": "2023-09-05",
3+
"apiVersion": "2023-11-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/hostPools-msixPackages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "hostPools/msixPackages",
3-
"apiVersion": "2023-09-05",
3+
"apiVersion": "2023-11-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"resourceType": "hostPools/operationStatuses",
3+
"apiVersion": "2023-11-01-preview",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzWvdSessionHostConfigurationsOperationStatus",
10+
"description": "Get Operation status for SessionHostManagement",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default/operationStatuses/{operationId}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization/get-azwvdsessionhostconfigurationsoperationstatus"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-HostPoolName <String>",
20+
"-OperationId <String>",
21+
"-ResourceGroupName <String>",
22+
"[-SubscriptionId <String[]>]"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Get Operation status for SessionHostManagement",
30+
"parameters": [
31+
{
32+
"name": "-HostPoolName",
33+
"value": "[Path.hostPoolName]"
34+
},
35+
{
36+
"name": "-OperationId",
37+
"value": "[Path.operationId]"
38+
},
39+
{
40+
"name": "-ResourceGroupName",
41+
"value": "[Path.resourceGroupName]"
42+
},
43+
{
44+
"name": "-SubscriptionId",
45+
"value": "[Path.subscriptionId]"
46+
}
47+
]
48+
}
49+
]
50+
},
51+
{
52+
"name": "Get-AzWvdSessionHostManagementsOperationStatus",
53+
"description": "Get Operation status for SessionHostManagement",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostManagements/default/operationStatuses/{operationId}",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization/get-azwvdsessionhostmanagementsoperationstatus"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-HostPoolName <String>",
63+
"-OperationId <String>",
64+
"-ResourceGroupName <String>",
65+
"[-SubscriptionId <String[]>]"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Get Operation status for SessionHostManagement",
73+
"parameters": [
74+
{
75+
"name": "-HostPoolName",
76+
"value": "[Path.hostPoolName]"
77+
},
78+
{
79+
"name": "-OperationId",
80+
"value": "[Path.operationId]"
81+
},
82+
{
83+
"name": "-ResourceGroupName",
84+
"value": "[Path.resourceGroupName]"
85+
},
86+
{
87+
"name": "-SubscriptionId",
88+
"value": "[Path.subscriptionId]"
89+
}
90+
]
91+
}
92+
]
93+
}
94+
]
95+
}

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/hostPools-privateEndpointConnections.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "hostPools/privateEndpointConnections",
3-
"apiVersion": "2023-09-05",
3+
"apiVersion": "2023-11-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

0 commit comments

Comments
 (0)