|
| 1 | +# Upcoming breaking changes in Az.DesktopVirtualization module |
| 2 | + |
| 3 | +The following breaking changes are caused by upgrading the generation tool (autorest.powershell). The affected cmdlets are listed below: |
| 4 | +- **Get-AzWvdApplication** |
| 5 | +- **Get-AzWvdApplicationGroup** |
| 6 | +- **Get-AzWvdDesktop** |
| 7 | +- **Get-AzWvdHostPool** |
| 8 | +- **Get-AzWvdHostPoolRegistrationInfo** |
| 9 | +- **Get-AzWvdMsixPackage** |
| 10 | +- **Get-AzWvdPrivateEndpointConnection** |
| 11 | +- **Get-AzWvdRegistrationInfo** |
| 12 | +- **Get-AzWvdScalingPlan** |
| 13 | +- **Get-AzWvdScalingPlanPersonalSchedule** |
| 14 | +- **Get-AzWvdScalingPlanPooledSchedule** |
| 15 | +- **Get-AzWvdSessionHost** |
| 16 | +- **Get-AzWvdUserSession** |
| 17 | +- **Get-AzWvdWorkspace** |
| 18 | +- **New-AzWvdApplication** |
| 19 | +- **New-AzWvdApplicationGroup** |
| 20 | +- **New-AzWvdHostPool** |
| 21 | +- **New-AzWvdMsixPackage** |
| 22 | +- **New-AzWvdRegistraionInfo** |
| 23 | +- **New-AzWvdScalingPlan** |
| 24 | +- **New-AzWvdScalingPlanPersonalSchedule** |
| 25 | +- **New-AzWvdScalingPlanPooledSchedule** |
| 26 | +- **New-AzWvdWorkspace** |
| 27 | +- **Register-AzWvdApplicationGroup** |
| 28 | +- **Send-AzWvdUserSessionMessage** |
| 29 | +- **Unregister-AzWvdApplicationGroup** |
| 30 | +- **Update-AzWvdApplication** |
| 31 | +- **Update-AzWvdApplicationGroup** |
| 32 | +- **Update-AzWvdDesktop** |
| 33 | +- **Update-AzWvdHostpool** |
| 34 | +- **Update-AzWvdMsixPackage** |
| 35 | +- **Update-AzWvdScalingPlan** |
| 36 | +- **Update-AzWvdScalingPlanPersonalSchedule** |
| 37 | +- **Update-AzWvdScalingPlanPooledSchedule** |
| 38 | +- **Update-AzWvdSessionHost** |
| 39 | +- **Update-AzWvdWorkspace** |
| 40 | + |
| 41 | +## The breaking changes in details |
| 42 | + |
| 43 | +### Use primitive types for enum instead of struct |
| 44 | + |
| 45 | +Details can be found [here](https://learn.microsoft.com/powershell/azure/breaking-changes-generated-modules?#use-primitive-types-for-enum-instead-of-struct) |
| 46 | + |
| 47 | +The following enums have been converted to strings: |
| 48 | +- CommandLineSetting |
| 49 | +- ApplicationType |
| 50 | +- ApplicationGroupType |
| 51 | +- IdentityType |
| 52 | +- HostPoolType |
| 53 | +- LoadBalancerType |
| 54 | +- PreferredAppGroupType |
| 55 | +- AgentUpdateType |
| 56 | +- IdentityType |
| 57 | +- PersonalDesktopAssignmentType |
| 58 | +- PublicNetworkAccess |
| 59 | +- RegistrationTokenOperation |
| 60 | +- SkuTier |
| 61 | +- SsoSecretType |
| 62 | +- ScalingHostPoolType |
| 63 | +- ResourceIdentityType |
| 64 | +- SessionHandlingOperation |
| 65 | +- SetStartVmOnConnect |
| 66 | +- StartupBehavior |
| 67 | +- SessionHostLoadBalancingAlogrithm |
| 68 | +- StopHostsWhen |
| 69 | +- RemoteApplicationType |
| 70 | +- SessionHostComponentUpdateType |
| 71 | +- LoadBalancerType |
| 72 | +- PersonalDesktopAssignmentType |
| 73 | +- PreferredAppGroupType |
| 74 | +- DaysOfWeek |
| 75 | + |
| 76 | +The following properties have changed from struct to string: |
| 77 | +- SystemDataLastModifiedByType |
| 78 | +- SystemDataCreatedByType |
| 79 | +- SystemDataCreatedAt |
| 80 | +- SystemDataLastModifiedAt |
| 81 | +- SystemDataLastModifiedBy |
| 82 | +- SystemDataCreatedBy |
| 83 | + |
| 84 | +### Array replaced by List |
| 85 | + |
| 86 | +Details can be found [here](https://learn.microsoft.com/powershell/azure/breaking-changes-generated-modules?#list-replaces-array-in-generated-c-classes) |
0 commit comments