Skip to content

Commit bc82aa6

Browse files
Migrate DesktopVirtualization from generation to main (Azure#23628)
* Move DesktopVirtualization to main * Update ChangeLog.md for DesktopVirtualization --------- Co-authored-by: Xiaogang <[email protected]>
1 parent 309523c commit bc82aa6

File tree

147 files changed

+18723
-605
lines changed

Some content is hidden

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

147 files changed

+18723
-605
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,183 +1,24 @@
1-
#
2-
# Module manifest for module 'Az.DesktopVirtualization'
3-
#
4-
# Generated by: Microsoft Corporation
5-
#
6-
# Generated on: 11/10/2023
7-
#
8-
91
@{
10-
11-
# Script module or binary module file associated with this manifest.
12-
RootModule = './Az.DesktopVirtualization.psm1'
13-
14-
# Version number of this module.
15-
ModuleVersion = '4.2.0'
16-
17-
# Supported PSEditions
18-
CompatiblePSEditions = 'Core', 'Desktop'
19-
20-
# ID used to uniquely identify this module
21-
GUID = '4cbade8e-48e0-42f8-a847-7872d0006d54'
22-
23-
# Author of this module
24-
Author = 'Microsoft Corporation'
25-
26-
# Company or vendor of this module
27-
CompanyName = 'Microsoft Corporation'
28-
29-
# Copyright statement for this module
30-
Copyright = 'Microsoft Corporation. All rights reserved.'
31-
32-
# Description of the functionality provided by this module
33-
Description = 'Microsoft Azure PowerShell: DesktopVirtualization cmdlets'
34-
35-
# Minimum version of the PowerShell engine required by this module
36-
PowerShellVersion = '5.1'
37-
38-
# Name of the PowerShell host required by this module
39-
# PowerShellHostName = ''
40-
41-
# Minimum version of the PowerShell host required by this module
42-
# PowerShellHostVersion = ''
43-
44-
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
45-
DotNetFrameworkVersion = '4.7.2'
46-
47-
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48-
# ClrVersion = ''
49-
50-
# Processor architecture (None, X86, Amd64) required by this module
51-
# ProcessorArchitecture = ''
52-
53-
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.13.2'; })
55-
56-
# Assemblies that must be loaded prior to importing this module
57-
RequiredAssemblies = './bin/Az.DesktopVirtualization.private.dll'
58-
59-
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60-
# ScriptsToProcess = @()
61-
62-
# Type files (.ps1xml) to be loaded when importing this module
63-
# TypesToProcess = @()
64-
65-
# Format files (.ps1xml) to be loaded when importing this module
66-
FormatsToProcess = './Az.DesktopVirtualization.format.ps1xml'
67-
68-
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
69-
# NestedModules = @()
70-
71-
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72-
FunctionsToExport = 'Disconnect-AzWvdUserSession', 'Expand-AzWvdMsixImage',
73-
'Get-AzWvdAppAttachPackage', 'Get-AzWvdApplication',
74-
'Get-AzWvdApplicationGroup', 'Get-AzWvdDesktop', 'Get-AzWvdHostPool',
75-
'Get-AzWvdHostPoolRegistrationToken', 'Get-AzWvdMsixPackage',
76-
'Get-AzWvdPrivateEndpointConnection',
77-
'Get-AzWvdPrivateLinkResource', 'Get-AzWvdRegistrationInfo',
78-
'Get-AzWvdScalingPlan', 'Get-AzWvdScalingPlanPersonalSchedule',
79-
'Get-AzWvdScalingPlanPooledSchedule', 'Get-AzWvdSessionHost',
80-
'Get-AzWvdStartMenuItem', 'Get-AzWvdUserSession',
81-
'Get-AzWvdWorkspace', 'Import-AzWvdAppAttachPackageInfo',
82-
'New-AzWvdAppAttachPackage', 'New-AzWvdApplication',
83-
'New-AzWvdApplicationGroup', 'New-AzWvdHostPool',
84-
'New-AzWvdMsixPackage', 'New-AzWvdRegistrationInfo',
85-
'New-AzWvdScalingPlan', 'New-AzWvdScalingPlanPersonalSchedule',
86-
'New-AzWvdScalingPlanPooledSchedule', 'New-AzWvdWorkspace',
87-
'Register-AzWvdApplicationGroup', 'Remove-AzWvdAppAttachPackage',
88-
'Remove-AzWvdApplication', 'Remove-AzWvdApplicationGroup',
89-
'Remove-AzWvdHostPool', 'Remove-AzWvdMsixPackage',
90-
'Remove-AzWvdPrivateEndpointConnection',
91-
'Remove-AzWvdRegistrationInfo', 'Remove-AzWvdScalingPlan',
92-
'Remove-AzWvdScalingPlanPersonalSchedule',
93-
'Remove-AzWvdScalingPlanPooledSchedule', 'Remove-AzWvdSessionHost',
94-
'Remove-AzWvdUserSession', 'Remove-AzWvdWorkspace',
95-
'Send-AzWvdUserSessionMessage', 'Unregister-AzWvdApplicationGroup',
96-
'Update-AzWvdAppAttachPackage', 'Update-AzWvdApplication',
97-
'Update-AzWvdApplicationGroup', 'Update-AzWvdDesktop',
98-
'Update-AzWvdHostPool', 'Update-AzWvdMsixPackage',
99-
'Update-AzWvdScalingPlan',
100-
'Update-AzWvdScalingPlanPersonalSchedule',
101-
'Update-AzWvdScalingPlanPooledSchedule', 'Update-AzWvdSessionHost',
102-
'Update-AzWvdWorkspace'
103-
104-
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
105-
CmdletsToExport = @()
106-
107-
# Variables to export from this module
108-
# VariablesToExport = @()
109-
110-
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
111-
AliasesToExport = '*'
112-
113-
# DSC resources to export from this module
114-
# DscResourcesToExport = @()
115-
116-
# List of all modules packaged with this module
117-
# ModuleList = @()
118-
119-
# List of all files packaged with this module
120-
# FileList = @()
121-
122-
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
123-
PrivateData = @{
124-
2+
GUID = '63b912a7-26b4-4755-9546-a11166cdd25d'
3+
RootModule = './Az.DesktopVirtualization.psm1'
4+
ModuleVersion = '2.1.0'
5+
CompatiblePSEditions = 'Core', 'Desktop'
6+
Author = 'Microsoft Corporation'
7+
CompanyName = 'Microsoft Corporation'
8+
Copyright = 'Microsoft Corporation. All rights reserved.'
9+
Description = 'Microsoft Azure PowerShell: DesktopVirtualization cmdlets'
10+
PowerShellVersion = '5.1'
11+
DotNetFrameworkVersion = '4.7.2'
12+
RequiredAssemblies = './bin/Az.DesktopVirtualization.private.dll'
13+
FormatsToProcess = './Az.DesktopVirtualization.format.ps1xml'
14+
FunctionsToExport = 'Disconnect-AzWvdUserSession', 'Expand-AzWvdMsixImage', '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-AzWvdStartMenuItem', 'Get-AzWvdUserSession', 'Get-AzWvdWorkspace', 'Import-AzWvdAppAttachPackageInfo', 'New-AzWvdAppAttachPackage', 'New-AzWvdApplication', 'New-AzWvdApplicationGroup', 'New-AzWvdHostPool', 'New-AzWvdMsixPackage', 'New-AzWvdRegistrationInfo', 'New-AzWvdScalingPlan', 'New-AzWvdScalingPlanPersonalSchedule', 'New-AzWvdScalingPlanPooledSchedule', '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-AzWvdWorkspace', '*'
15+
AliasesToExport = '*'
16+
PrivateData = @{
12517
PSData = @{
126-
127-
# Tags applied to this module. These help with module discovery in online galleries.
128-
Tags = 'Azure','ResourceManager','ARM','PSModule','DesktopVirtualization'
129-
130-
# A URL to the license for this module.
131-
LicenseUri = 'https://aka.ms/azps-license'
132-
133-
# A URL to the main website for this project.
134-
ProjectUri = 'https://github.com/Azure/azure-powershell'
135-
136-
# A URL to an icon representing this module.
137-
# IconUri = ''
138-
139-
# ReleaseNotes of this module
140-
ReleaseNotes = '* Added cmdlets:
141-
- ''Get-AzWvdAppAttachPackage''
142-
- ''Import-AzWvdAppAttachPackageInfo''
143-
- ''New-AzWvdAppAttachPackage''
144-
- ''Remove-AzWvdAppAttachPackage''
145-
- ''Update-AzWvdAppAttachPackage''
146-
* Added Private Link Cmdlets
147-
- ''Get-AzWvdPrivateEndpointConnection''
148-
- ''Get-AzWvdPrivateLinkResource''
149-
- ''Remove-AzWvdPrivateEndpointConnection''
150-
* Added Scaling Plan Personal Schedule cmdlets
151-
- ''Get-AzWvdScalingPlanPersonalSchedule''
152-
- ''New-AzWvdScalingPlanPersonalSchedule''
153-
- ''Remove-AzWvdScalingPlanPersonalSchedule''
154-
- ''Update-AzWvdScalingPlanPersonalSchedule''
155-
* Added Scaling Plan Pooled Schedule cmdlets
156-
- ''Get-AzWvdScalingPlanPooledSchedule''
157-
- ''New-AzWvdScalingPlanPooledSchedule''
158-
- ''Remove-AzWvdScalingPlanPooledSchedule''
159-
- ''Update-AzWvdScalingPlanPooledSchedule''
160-
* Updated rampDownCapacityThresholdPct minimum value from 0 to 1 on ScalingPlanPooledSchedule cmdlets
161-
* Added showInFeed property to ApplicationGroups'
162-
163-
# Prerelease string of this module
164-
# Prerelease = ''
165-
166-
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
167-
# RequireLicenseAcceptance = $false
168-
169-
# External dependent modules of this module
170-
# ExternalModuleDependencies = @()
171-
172-
} # End of PSData hashtable
173-
174-
} # End of PrivateData hashtable
175-
176-
# HelpInfo URI of this module
177-
# HelpInfoURI = ''
178-
179-
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
180-
# DefaultCommandPrefix = ''
181-
18+
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'DesktopVirtualization'
19+
LicenseUri = 'https://aka.ms/azps-license'
20+
ProjectUri = 'https://github.com/Azure/azure-powershell'
21+
ReleaseNotes = ''
22+
}
23+
}
18224
}
183-

src/DesktopVirtualization/DesktopVirtualization.Autorest/README.md

+41-2
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,20 @@ In this directory, run AutoRest:
4747
> see https://aka.ms/autorest
4848
4949
``` yaml
50-
branch: 50175f111e9c899249e79eb082a75fb8a7aba0e2
50+
commit: 50175f111e9c899249e79eb082a75fb8a7aba0e2
5151
require:
52-
- $(this-folder)/../readme.azure.noprofile.md
52+
- $(this-folder)/../../readme.azure.noprofile.md
5353
sanitize-names: true
5454
subject-prefix: 'Wvd'
5555
input-file:
5656
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-10-04-preview/desktopvirtualization.json
5757

5858
module-version: 2.1.0
5959
title: DesktopVirtualizationClient
60+
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
61+
use-extension:
62+
"@autorest/powershell": "3.x"
63+
6064
directive:
6165
- where:
6266
verb: New
@@ -99,4 +103,39 @@ directive:
99103
parameter-name: Force
100104
set:
101105
parameter-description: 'Specify to force userSession deletion.'
106+
- where:
107+
verb: Get
108+
subject: AppAttachPackage
109+
set:
110+
preview-announcement:
111+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
112+
estimated-ga-date: 2024-04-01
113+
- where:
114+
verb: Import
115+
subject: AppAttachPackageInfo
116+
set:
117+
preview-announcement:
118+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
119+
estimated-ga-date: 2024-04-01
120+
- where:
121+
verb: New
122+
subject: AppAttachPackage
123+
set:
124+
preview-announcement:
125+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
126+
estimated-ga-date: 2024-04-01
127+
- where:
128+
verb: Remove
129+
subject: AppAttachPackage
130+
set:
131+
preview-announcement:
132+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
133+
estimated-ga-date: 2024-04-01
134+
- where:
135+
verb: Update
136+
subject: AppAttachPackage
137+
set:
138+
preview-announcement:
139+
preview-message: This cmdlet is currently in preview, behavior is subject to change.
140+
estimated-ga-date: 2024-04-01
102141
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"resourceType": "appAttachPackages",
3+
"apiVersion": "2023-10-04-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+
}

0 commit comments

Comments
 (0)