Skip to content

Commit 9ad139e

Browse files
Migrate DesktopVirtualization from generation to Az.DesktopVirtualization-preview (#22780)
* Move DesktopVirtualization to Az.DesktopVirtualization-preview * Update ChangeLog.md --------- Co-authored-by: Beisi Zhou <[email protected]>
1 parent 2034f75 commit 9ad139e

File tree

754 files changed

+51156
-16041
lines changed

Some content is hidden

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

754 files changed

+51156
-16041
lines changed

src/DesktopVirtualization/Az.DesktopVirtualization.format.ps1xml

Lines changed: 636 additions & 150 deletions
Large diffs are not rendered by default.

src/DesktopVirtualization/Az.DesktopVirtualization.psd1

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2023/5/22
6+
# Generated on: 9/13/2023
77
#
88

99
@{
@@ -73,23 +73,28 @@ FunctionsToExport = 'Disconnect-AzWvdUserSession', 'Expand-AzWvdMsixImage',
7373
'Get-AzWvdApplication', 'Get-AzWvdApplicationGroup',
7474
'Get-AzWvdDesktop', 'Get-AzWvdHostPool',
7575
'Get-AzWvdHostPoolRegistrationToken', 'Get-AzWvdMsixPackage',
76-
'Get-AzWvdRegistrationInfo', 'Get-AzWvdScalingPlan',
76+
'Get-AzWvdPrivateEndpointConnection',
77+
'Get-AzWvdPrivateLinkResource', 'Get-AzWvdRegistrationInfo',
78+
'Get-AzWvdScalingPlan', 'Get-AzWvdScalingPlanPersonalSchedule',
7779
'Get-AzWvdScalingPlanPooledSchedule', 'Get-AzWvdSessionHost',
7880
'Get-AzWvdStartMenuItem', 'Get-AzWvdUserSession',
7981
'Get-AzWvdWorkspace', 'New-AzWvdApplication',
8082
'New-AzWvdApplicationGroup', 'New-AzWvdHostPool',
8183
'New-AzWvdMsixPackage', 'New-AzWvdRegistrationInfo',
82-
'New-AzWvdScalingPlan', 'New-AzWvdScalingPlanPooledSchedule',
83-
'New-AzWvdWorkspace', 'Register-AzWvdApplicationGroup',
84-
'Remove-AzWvdApplication', 'Remove-AzWvdApplicationGroup',
85-
'Remove-AzWvdHostPool', 'Remove-AzWvdMsixPackage',
84+
'New-AzWvdScalingPlan', 'New-AzWvdScalingPlanPersonalSchedule',
85+
'New-AzWvdScalingPlanPooledSchedule', 'New-AzWvdWorkspace',
86+
'Register-AzWvdApplicationGroup', 'Remove-AzWvdApplication',
87+
'Remove-AzWvdApplicationGroup', 'Remove-AzWvdHostPool',
88+
'Remove-AzWvdMsixPackage', 'Remove-AzWvdPrivateEndpointConnection',
8689
'Remove-AzWvdRegistrationInfo', 'Remove-AzWvdScalingPlan',
90+
'Remove-AzWvdScalingPlanPersonalSchedule',
8791
'Remove-AzWvdScalingPlanPooledSchedule', 'Remove-AzWvdSessionHost',
8892
'Remove-AzWvdUserSession', 'Remove-AzWvdWorkspace',
8993
'Send-AzWvdUserSessionMessage', 'Unregister-AzWvdApplicationGroup',
9094
'Update-AzWvdApplication', 'Update-AzWvdApplicationGroup',
9195
'Update-AzWvdDesktop', 'Update-AzWvdHostPool',
9296
'Update-AzWvdMsixPackage', 'Update-AzWvdScalingPlan',
97+
'Update-AzWvdScalingPlanPersonalSchedule',
9398
'Update-AzWvdScalingPlanPooledSchedule', 'Update-AzWvdSessionHost',
9499
'Update-AzWvdWorkspace'
95100

@@ -129,30 +134,7 @@ PrivateData = @{
129134
# IconUri = ''
130135

131136
# ReleaseNotes of this module
132-
ReleaseNotes = '* Upgraded API version to 2022-09-09
133-
* Added cmdlet:
134-
- ''Get-AzWvdScalingPlanPooledSchedule''
135-
- ''New-AzWvdScalingPlanPooledSchedule''
136-
- ''Remove-AzWvdScalingPlanPooledSchedule''
137-
- ''Update-AzWvdScalingPlanPooledSchedule''
138-
* Added parameters ''pageSize'', ''isDescending'' and ''initialSkip'' to:
139-
- ''Get-AzWvdApplication''
140-
- ''Get-AzWvdApplicationGroup''
141-
- ''Get-AzWvdDesktop''
142-
- ''Get-AzWvdHostPool''
143-
- ''Get-AzWvdMsixPackage''
144-
- ''Get-AzWvdScalingPlan''
145-
- ''Get-AzWvdSessionHost''
146-
- ''Get-AzWvdStartMenuItem''
147-
- ''Get-AzWvdUserSession''
148-
- ''Get-AzWvdWorkspace''
149-
* Added parameters ''AgentUpdateMaintenanceWindow'', ''AgentUpdateMaintenanceWindowTimeZone'', ''AgentUpdateType'', ''AgentUpdateUseSessionHostLocalTime'' to:
150-
- ''New-AzWvdHostPool''
151-
- ''Update-AzWvdHostPool''
152-
* Added parameter ''FriendlyName'' to:
153-
- ''New-AzWvdHostPool''
154-
- ''Update-AzWvdHostPool''
155-
- ''Update-AzWvdSessionHost'''
137+
# ReleaseNotes = ''
156138

157139
# Prerelease string of this module
158140
# Prerelease = ''

src/DesktopVirtualization/ChangeLog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Added cmdlet:
22+
- `Get-AzWvdScalingPlanPersonalSchedule`
23+
- `New-AzWvdScalingPlanPersonalSchedule`
24+
- `Remove-AzWvdScalingPlanPersonalSchedule`
25+
- `Update-AzWvdScalingPlanPersonalSchedule`
26+
* Added parameters `ShowInFeed` to:
27+
- `New-AzWvdApplicationGroup`
28+
- `Update-AzWvdApplicationGroup`
2129

2230
## Version 4.0.0
2331
* Upgraded API version to 2022-09-09

src/DesktopVirtualization/DesktopVirtualization.sln

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{E7C61A57-DD85-46E5-8AEF-6B5C78523278}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{BB7C65CA-3DCE-4204-B300-C77BA2C4A4A0}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{10721E9B-8EBF-4A01-AD56-D0AC17AD8170}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{205799C0-2F16-4079-9423-B4CB6A22AAEE}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{086F9EFE-9E06-4E4C-AB6A-E93A208DCE46}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{3F39FCFA-8233-4657-9643-C332FC43C4E5}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{381C6AE9-E153-4B0B-8E6C-E2B447FA95B1}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{B9FF8A1A-1304-4A04-87ED-293D255BC22B}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{367547A2-26C4-4169-BF69-DE37601CB686}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{C0F65DC6-89D9-4FC4-9C4C-B382BEF4C2E3}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{FA4095CA-110F-497C-A3FA-3C9499F07168}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{0C527944-F604-4B7C-9EB0-C3C9DBAF6692}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DesktopVirtualization", "Az.DesktopVirtualization.csproj", "{BFF28266-671F-4072-9C0C-51189A619EFC}"
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DesktopVirtualization", "Az.DesktopVirtualization.csproj", "{1AB17E59-B004-4B67-B56C-8DE58C867519}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,33 +26,33 @@ Global
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
2828
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{E7C61A57-DD85-46E5-8AEF-6B5C78523278}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{E7C61A57-DD85-46E5-8AEF-6B5C78523278}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{E7C61A57-DD85-46E5-8AEF-6B5C78523278}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{E7C61A57-DD85-46E5-8AEF-6B5C78523278}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{10721E9B-8EBF-4A01-AD56-D0AC17AD8170}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{10721E9B-8EBF-4A01-AD56-D0AC17AD8170}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{10721E9B-8EBF-4A01-AD56-D0AC17AD8170}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{10721E9B-8EBF-4A01-AD56-D0AC17AD8170}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{086F9EFE-9E06-4E4C-AB6A-E93A208DCE46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{086F9EFE-9E06-4E4C-AB6A-E93A208DCE46}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{086F9EFE-9E06-4E4C-AB6A-E93A208DCE46}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{086F9EFE-9E06-4E4C-AB6A-E93A208DCE46}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{381C6AE9-E153-4B0B-8E6C-E2B447FA95B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{381C6AE9-E153-4B0B-8E6C-E2B447FA95B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{381C6AE9-E153-4B0B-8E6C-E2B447FA95B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{381C6AE9-E153-4B0B-8E6C-E2B447FA95B1}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{367547A2-26C4-4169-BF69-DE37601CB686}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{367547A2-26C4-4169-BF69-DE37601CB686}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{367547A2-26C4-4169-BF69-DE37601CB686}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{367547A2-26C4-4169-BF69-DE37601CB686}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{FA4095CA-110F-497C-A3FA-3C9499F07168}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{FA4095CA-110F-497C-A3FA-3C9499F07168}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{FA4095CA-110F-497C-A3FA-3C9499F07168}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{FA4095CA-110F-497C-A3FA-3C9499F07168}.Release|Any CPU.Build.0 = Release|Any CPU
53-
{BFF28266-671F-4072-9C0C-51189A619EFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54-
{BFF28266-671F-4072-9C0C-51189A619EFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
55-
{BFF28266-671F-4072-9C0C-51189A619EFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
56-
{BFF28266-671F-4072-9C0C-51189A619EFC}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{BB7C65CA-3DCE-4204-B300-C77BA2C4A4A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{BB7C65CA-3DCE-4204-B300-C77BA2C4A4A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{BB7C65CA-3DCE-4204-B300-C77BA2C4A4A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{BB7C65CA-3DCE-4204-B300-C77BA2C4A4A0}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{205799C0-2F16-4079-9423-B4CB6A22AAEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{205799C0-2F16-4079-9423-B4CB6A22AAEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{205799C0-2F16-4079-9423-B4CB6A22AAEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{205799C0-2F16-4079-9423-B4CB6A22AAEE}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{3F39FCFA-8233-4657-9643-C332FC43C4E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{3F39FCFA-8233-4657-9643-C332FC43C4E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{3F39FCFA-8233-4657-9643-C332FC43C4E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{3F39FCFA-8233-4657-9643-C332FC43C4E5}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{B9FF8A1A-1304-4A04-87ED-293D255BC22B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{B9FF8A1A-1304-4A04-87ED-293D255BC22B}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{B9FF8A1A-1304-4A04-87ED-293D255BC22B}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{B9FF8A1A-1304-4A04-87ED-293D255BC22B}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{C0F65DC6-89D9-4FC4-9C4C-B382BEF4C2E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{C0F65DC6-89D9-4FC4-9C4C-B382BEF4C2E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{C0F65DC6-89D9-4FC4-9C4C-B382BEF4C2E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{C0F65DC6-89D9-4FC4-9C4C-B382BEF4C2E3}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{0C527944-F604-4B7C-9EB0-C3C9DBAF6692}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{0C527944-F604-4B7C-9EB0-C3C9DBAF6692}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{0C527944-F604-4B7C-9EB0-C3C9DBAF6692}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{0C527944-F604-4B7C-9EB0-C3C9DBAF6692}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{1AB17E59-B004-4B67-B56C-8DE58C867519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{1AB17E59-B004-4B67-B56C-8DE58C867519}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{1AB17E59-B004-4B67-B56C-8DE58C867519}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{1AB17E59-B004-4B67-B56C-8DE58C867519}.Release|Any CPU.Build.0 = Release|Any CPU
5757
EndGlobalSection
5858
EndGlobal

src/DesktopVirtualization/README.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ In this directory, run AutoRest:
4747
> see https://aka.ms/autorest
4848
4949
``` yaml
50-
branch: 45765fbbfd14084eb7a12ebd099aaeddb2a13173
50+
branch: d3edca94ae4ddb854e88142cba6a7337ef1a5eed
5151
require:
5252
- $(this-folder)/../readme.azure.noprofile.md
5353
sanitize-names: true
5454
subject-prefix: 'Wvd'
5555
input-file:
56-
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2022-09-09/desktopvirtualization.json
56+
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-07-07-preview/desktopvirtualization.json
5757

5858
module-version: 2.1.0
5959
title: DesktopVirtualizationClient
@@ -99,29 +99,4 @@ directive:
9999
parameter-name: Force
100100
set:
101101
parameter-description: 'Specify to force userSession deletion.'
102-
#breaking change warning
103-
- where:
104-
verb: New
105-
subject: ^ApplicationGroup$|^HostPool$
106-
parameter-name: MigrationRequestMigrationPath|MigrationRequestOperation
107-
set:
108-
breaking-change:
109-
deprecated-by-version: 4.0.0
110-
change-description: This is parameter will be deleted.
111-
- where:
112-
verb: New
113-
subject: ^ScalingPlan$
114-
parameter-name: HostPoolType
115-
set:
116-
breaking-change:
117-
deprecated-by-version: 4.0.0
118-
change-description: The allowed value of this parameter changed from 'BYODesktop, Personal, Pooled' to 'Pooled'
119-
- where:
120-
verb: Update
121-
subject: ^ScalingPlan$
122-
parameter-name: HostPoolType
123-
set:
124-
breaking-change:
125-
deprecated-by-version: 4.0.0
126-
change-description: This parameter will be deleted.
127102
```

src/DesktopVirtualization/custom/Get-AzWvdRegistrationInfo.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Get the Windows virtual desktop registration info.
2020
Get the Windows virtual desktop registration info.
2121
#>
2222
function Get-AzWvdRegistrationInfo {
23-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202209.RegistrationInfo')]
23+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202307Preview.RegistrationInfo')]
2424
[CmdletBinding(PositionalBinding=$false)]
2525
param(
2626
[Parameter()]

src/DesktopVirtualization/custom/New-AzWvdApplication_AppAlias.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function New-AzWvdApplication_AppAlias {
2-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202209.IApplication')]
2+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202307Preview.IApplication')]
33
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
44
param(
55
[Parameter()]

src/DesktopVirtualization/custom/New-AzWvdHostPool_FullSenerioCreate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function New-AzWvdHostPool_FullSenerioCreate {
2-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202209.IHostPool')]
2+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202307Preview.IHostPool')]
33
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
44
param(
55
[Parameter()]

src/DesktopVirtualization/custom/New-AzWvdMsixpackage_PackageAlias.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function New-AzWvdMsixPackage_PackageAlias {
22

3-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202209.IMsixPackage')]
3+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202307Preview.IMsixPackage')]
44
[CmdletBinding( PositionalBinding = $false, ConfirmImpact = 'Medium')]
55
param(
66
[Parameter()]

src/DesktopVirtualization/custom/New-AzWvdRegistrationInfo.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Create Windows virtual desktop registration info.
2020
Create Windows virtual desktop registration info.
2121
#>
2222
function New-AzWvdRegistrationInfo {
23-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202209.IRegistrationInfo')]
23+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202307Preview.IRegistrationInfo')]
2424
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2525
param(
2626
[Parameter()]
@@ -110,7 +110,7 @@ function New-AzWvdRegistrationInfo {
110110
-Ring $hostpool.Ring `
111111
-ValidationEnvironment:$hostpool.ValidationEnvironment `
112112
-PreferredAppGroupType $hostpool.PreferredAppGroupType
113-
New-Object -TypeName 'Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202209.RegistrationInfo' `
113+
New-Object -TypeName 'Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api202307Preview.RegistrationInfo' `
114114
-Property @{ `
115115
ExpirationTime = $hostpool.RegistrationInfoExpirationTime; `
116116
RegistrationTokenOperation = $hostpool.RegistrationInfoRegistrationTokenOperation; `

0 commit comments

Comments
 (0)