Skip to content

Commit

Permalink
Preannouncement of DesktopVirtualization Upcoming Breaking Changes (#…
Browse files Browse the repository at this point in the history
…26269)

* Preannouncement of DesktopVirtualization Upcoming Breaking Changes

* Address review comments

* polish expression

* Update upcoming-breaking-changes-desktopvirtualization.md

---------

Co-authored-by: alecbaird <[email protected]>
Co-authored-by: Yeming Liu <[email protected]>
  • Loading branch information
3 people authored Oct 23, 2024
1 parent 30ef772 commit 5e39fe2
Showing 1 changed file with 86 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Upcoming breaking changes in Az.DesktopVirtualization module

The following breaking changes are caused by upgrading the generation tool (autorest.powershell). The affected cmdlets are listed below:
- **Get-AzWvdApplication**
- **Get-AzWvdApplicationGroup**
- **Get-AzWvdDesktop**
- **Get-AzWvdHostPool**
- **Get-AzWvdHostPoolRegistrationInfo**
- **Get-AzWvdMsixPackage**
- **Get-AzWvdPrivateEndpointConnection**
- **Get-AzWvdRegistrationInfo**
- **Get-AzWvdScalingPlan**
- **Get-AzWvdScalingPlanPersonalSchedule**
- **Get-AzWvdScalingPlanPooledSchedule**
- **Get-AzWvdSessionHost**
- **Get-AzWvdUserSession**
- **Get-AzWvdWorkspace**
- **New-AzWvdApplication**
- **New-AzWvdApplicationGroup**
- **New-AzWvdHostPool**
- **New-AzWvdMsixPackage**
- **New-AzWvdRegistraionInfo**
- **New-AzWvdScalingPlan**
- **New-AzWvdScalingPlanPersonalSchedule**
- **New-AzWvdScalingPlanPooledSchedule**
- **New-AzWvdWorkspace**
- **Register-AzWvdApplicationGroup**
- **Send-AzWvdUserSessionMessage**
- **Unregister-AzWvdApplicationGroup**
- **Update-AzWvdApplication**
- **Update-AzWvdApplicationGroup**
- **Update-AzWvdDesktop**
- **Update-AzWvdHostpool**
- **Update-AzWvdMsixPackage**
- **Update-AzWvdScalingPlan**
- **Update-AzWvdScalingPlanPersonalSchedule**
- **Update-AzWvdScalingPlanPooledSchedule**
- **Update-AzWvdSessionHost**
- **Update-AzWvdWorkspace**

## The breaking changes in details

### Use primitive types for enum instead of struct

Details can be found [here](https://learn.microsoft.com/powershell/azure/breaking-changes-generated-modules?#use-primitive-types-for-enum-instead-of-struct)

The following enums have been converted to strings:
- CommandLineSetting
- ApplicationType
- ApplicationGroupType
- IdentityType
- HostPoolType
- LoadBalancerType
- PreferredAppGroupType
- AgentUpdateType
- IdentityType
- PersonalDesktopAssignmentType
- PublicNetworkAccess
- RegistrationTokenOperation
- SkuTier
- SsoSecretType
- ScalingHostPoolType
- ResourceIdentityType
- SessionHandlingOperation
- SetStartVmOnConnect
- StartupBehavior
- SessionHostLoadBalancingAlogrithm
- StopHostsWhen
- RemoteApplicationType
- SessionHostComponentUpdateType
- LoadBalancerType
- PersonalDesktopAssignmentType
- PreferredAppGroupType
- DaysOfWeek

The following properties have changed from struct to string:
- SystemDataLastModifiedByType
- SystemDataCreatedByType
- SystemDataCreatedAt
- SystemDataLastModifiedAt
- SystemDataLastModifiedBy
- SystemDataCreatedBy

### Array replaced by List

Details can be found [here](https://learn.microsoft.com/powershell/azure/breaking-changes-generated-modules?#list-replaces-array-in-generated-c-classes)

0 comments on commit 5e39fe2

Please sign in to comment.