Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ In this directory, run AutoRest:
> see https://aka.ms/autorest

``` yaml
commit: 0feca76719343b0cb1e6a9d6064c7037827706ca
commit: 7910c370daefac65d619a7cc0c0c5575b5665060
require:
- $(this-folder)/../../readme.azure.noprofile.md
sanitize-names: true
subject-prefix: 'Wvd'
input-file:
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/desktopvirtualization.json
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/DesktopVirtualization/stable/2025-10-10/desktopvirtualization.json

module-version: 2.1.0
title: DesktopVirtualizationClient
Expand Down Expand Up @@ -105,3 +105,8 @@ directive:
parameter-name: Force
set:
parameter-description: 'Specify to force userSession deletion.'
# remove Update-AzWvdPrivateEndpointConnection, Finally, we need to remove all private endpoint connection related cmdlets and implement them in Az.Network. Please see https://github.com/Azure/azure-powershell/blob/main/documentation/development-docs/examples/private-link-resource-example.md for details.
- where:
verb: Update
subject: PrivateEndpointConnection
remove: true
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "appAttachPackages",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "applicationGroups/applications",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "applicationGroups/desktops",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "applicationGroups",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"resourceType": "hostPools/msixPackages",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
"commands": [
{
"name": "Get-AzWvdMsixPackage",
"description": "Get a msixpackage.",
"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization/get-azwvdmsixpackage"
Expand Down Expand Up @@ -51,7 +51,7 @@
{
"name": "Remove-AzWvdMsixPackage",
"description": "Remove an MSIX Package.",
"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization/remove-azwvdmsixpackage"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "hostPools/privateEndpointConnections",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "hostPools/sessionHosts/userSessions",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "hostPools/sessionHosts",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "hostPools",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "scalingPlans/personalSchedules",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "scalingPlans/pooledSchedules",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "scalingPlans",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "workspaces/privateEndpointConnections",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "workspaces",
"apiVersion": "2024-04-03",
"apiVersion": "2025-10-10",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,9 @@ function New-AzWvdRegistrationInfo {
process {
$saveExpirationTime = $PSBoundParameters["ExpirationTime"]
$null = $PSBoundParameters.Remove("ExpirationTime")
$hostpool = Az.DesktopVirtualization\Get-AzWvdHostPool @PSBoundParameters
$hostpool = Az.DesktopVirtualization\New-AzWvdHostPool @PSBoundParameters `
-Location $hostpool.Location `
-HostPoolType $hostpool.HostPoolType `
-LoadBalancerType $hostpool.LoadBalancerType `
-RegistrationTokenOperation "Update" `
-ExpirationTime $saveExpirationTime `
-Description $hostpool.Description `
-FriendlyName $hostpool.FriendlyName `
-MaxSessionLimit $hostpool.MaxSessionLimit `
-VMTemplate $hostpool.VMTemplate `
-CustomRdpProperty $hostpool.CustomRdpProperty `
-Ring $hostpool.Ring `
-ValidationEnvironment:$hostpool.ValidationEnvironment `
-PreferredAppGroupType $hostpool.PreferredAppGroupType
$hostpool = Az.DesktopVirtualization\Update-AzWvdHostPool @PSBoundParameters `
-RegistrationInfoRegistrationTokenOperation "Update" `
-RegistrationInfoExpirationTime $saveExpirationTime
New-Object -TypeName 'Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.RegistrationInfo' `
-Property @{ `
ExpirationTime = $hostpool.RegistrationInfoExpirationTime; `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,7 @@ function Remove-AzWvdRegistrationInfo {
)

process {
$hostpool = Az.DesktopVirtualization\Get-AzWvdHostPool @PSBoundParameters
Az.DesktopVirtualization\New-AzWvdHostPool @PSBoundParameters `
-Location $hostpool.Location `
-HostPoolType $hostpool.HostPoolType `
-LoadBalancerType $hostpool.LoadBalancerType `
-RegistrationTokenOperation "Delete" `
-Description $hostpool.Description `
-FriendlyName $hostpool.FriendlyName `
-MaxSessionLimit $hostpool.MaxSessionLimit `
-VMTemplate $hostpool.VMTemplate `
-CustomRdpProperty $hostpool.CustomRdpProperty `
-Ring $hostpool.Ring `
-ValidationEnvironment:$hostpool.ValidationEnvironment `
-PreferredAppGroupType $hostpool.PreferredAppGroupType
Az.DesktopVirtualization\Update-AzWvdHostPool @PSBoundParameters `
-RegistrationInfoRegistrationTokenOperation "Delete"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.DesktopVirtualization
Module Guid: 4620ab8f-4164-48c8-a04f-53872bce762e
Module Guid: 23090a50-c247-4784-860c-db6a0e507631
Download Help Link: https://learn.microsoft.com/powershell/module/az.desktopvirtualization
Help Version: 1.0.0.0
Locale: en-US
Expand Down Expand Up @@ -72,34 +72,34 @@ Get a workspace.
Gets information from a package given the path to the package.

### [New-AzWvdAppAttachPackage](New-AzWvdAppAttachPackage.md)
create an App Attach package.
Create an App Attach package.

### [New-AzWvdApplication](New-AzWvdApplication.md)
create an application.
Create an application.

### [New-AzWvdApplicationGroup](New-AzWvdApplicationGroup.md)
create an applicationGroup.
Create an applicationGroup.

### [New-AzWvdHostPool](New-AzWvdHostPool.md)
create a host pool.
Create a host pool.

### [New-AzWvdMsixPackage](New-AzWvdMsixPackage.md)
create a MSIX package.
Create a MSIX package.

### [New-AzWvdRegistrationInfo](New-AzWvdRegistrationInfo.md)
Create Windows virtual desktop registration info.

### [New-AzWvdScalingPlan](New-AzWvdScalingPlan.md)
create a scaling plan.
Create a scaling plan.

### [New-AzWvdScalingPlanPersonalSchedule](New-AzWvdScalingPlanPersonalSchedule.md)
create a ScalingPlanPersonalSchedule.
Create a ScalingPlanPersonalSchedule.

### [New-AzWvdScalingPlanPooledSchedule](New-AzWvdScalingPlanPooledSchedule.md)
create a ScalingPlanPooledSchedule.
Create a ScalingPlanPooledSchedule.

### [New-AzWvdWorkspace](New-AzWvdWorkspace.md)
create a workspace.
Create a workspace.

### [Register-AzWvdApplicationGroup](Register-AzWvdApplicationGroup.md)
Register a Windows virtual desktop application group.
Expand Down Expand Up @@ -150,35 +150,35 @@ Send a message to a user.
Unregister the Windows virtual desktop application group.

### [Update-AzWvdAppAttachPackage](Update-AzWvdAppAttachPackage.md)
update an App Attach Package
Update an App Attach Package

### [Update-AzWvdApplication](Update-AzWvdApplication.md)
update an application.
Update an application.

### [Update-AzWvdApplicationGroup](Update-AzWvdApplicationGroup.md)
update an applicationGroup.
Update an applicationGroup.

### [Update-AzWvdDesktop](Update-AzWvdDesktop.md)
update a desktop.
Update a desktop.

### [Update-AzWvdHostPool](Update-AzWvdHostPool.md)
update a host pool.
Update a host pool.

### [Update-AzWvdMsixPackage](Update-AzWvdMsixPackage.md)
update an MSIX Package.
Update an MSIX Package.

### [Update-AzWvdScalingPlan](Update-AzWvdScalingPlan.md)
update a scaling plan.
Update a scaling plan.

### [Update-AzWvdScalingPlanPersonalSchedule](Update-AzWvdScalingPlanPersonalSchedule.md)
update a ScalingPlanPersonalSchedule.
Update a ScalingPlanPersonalSchedule.

### [Update-AzWvdScalingPlanPooledSchedule](Update-AzWvdScalingPlanPooledSchedule.md)
update a ScalingPlanPooledSchedule.
Update a ScalingPlanPooledSchedule.

### [Update-AzWvdSessionHost](Update-AzWvdSessionHost.md)
update a session host.
Update a session host.

### [Update-AzWvdWorkspace](Update-AzWvdWorkspace.md)
update a workspace.
Update a workspace.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzWvdAppAttachPackage

## SYNOPSIS
create an App Attach package.
Create an App Attach package.

## SYNTAX

Expand Down Expand Up @@ -47,7 +47,7 @@ New-AzWvdAppAttachPackage [-AppAttachPackage] <AppAttachPackage> -Name <String>
```

## DESCRIPTION
create an App Attach package.
Create an App Attach package.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzWvdApplication

## SYNOPSIS
create an application.
Create an application.

## SYNTAX

Expand Down Expand Up @@ -41,7 +41,7 @@ New-AzWvdApplication -GroupName <String> -Name <String> -ResourceGroupName <Stri
```

## DESCRIPTION
create an application.
Create an application.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema: 2.0.0
# New-AzWvdApplicationGroup

## SYNOPSIS
create an applicationGroup.
Create an applicationGroup.

## SYNTAX

Expand All @@ -35,7 +35,7 @@ New-AzWvdApplicationGroup -Name <String> -ResourceGroupName <String> -JsonString
```

## DESCRIPTION
create an applicationGroup.
Create an applicationGroup.

## EXAMPLES

Expand Down Expand Up @@ -158,7 +158,7 @@ Accept wildcard characters: False
```

### -IdentityType
The identity type.
Type of managed service identity (either system assigned, or none).

```yaml
Type: System.String
Expand Down Expand Up @@ -203,8 +203,7 @@ Accept wildcard characters: False
```

### -Kind
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
E.g.
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.
ApiApps are a kind of Microsoft.Web/sites type.
If supported, the resource provider must validate and persist this value.

Expand Down
Loading
Loading