Skip to content

Commit 165c25d

Browse files
author
SDKAuto
committed
CodeGen from PR 33822 in Azure/azure-rest-api-specs
Merge b7a2d80b6600289bfbff62bb6d078e5a26412407 into 37a849b656ecfb33424822b9f245aebff2ae994f
1 parent b429a1d commit 165c25d

File tree

87 files changed

+9941
-8370
lines changed

Some content is hidden

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

87 files changed

+9941
-8370
lines changed

sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization/CHANGELOG.md

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,153 @@
11
# Release History
22

3+
## 3.0.0-beta.1 (2025-05-12)
4+
### Breaking Changes
5+
6+
- Type of `ApplicationGroup.Identity` has been changed from `*ResourceModelWithAllowedPropertySetIdentity` to `*ManagedServiceIdentity`
7+
- Type of `ApplicationGroup.Plan` has been changed from `*ResourceModelWithAllowedPropertySetPlan` to `*Plan`
8+
- Type of `ApplicationGroup.SKU` has been changed from `*ResourceModelWithAllowedPropertySetSKU` to `*SKU`
9+
- Type of `HostPool.Identity` has been changed from `*ResourceModelWithAllowedPropertySetIdentity` to `*ManagedServiceIdentity`
10+
- Type of `HostPool.Plan` has been changed from `*ResourceModelWithAllowedPropertySetPlan` to `*Plan`
11+
- Type of `HostPool.SKU` has been changed from `*ResourceModelWithAllowedPropertySetSKU` to `*SKU`
12+
- Type of `ScalingPlan.Identity` has been changed from `*ResourceModelWithAllowedPropertySetIdentity` to `*ManagedServiceIdentity`
13+
- Type of `ScalingPlan.Plan` has been changed from `*ResourceModelWithAllowedPropertySetPlan` to `*Plan`
14+
- Type of `ScalingPlan.SKU` has been changed from `*ResourceModelWithAllowedPropertySetSKU` to `*SKU`
15+
- Type of `ScalingPlanPersonalSchedulePatch.Properties` has been changed from `*ScalingPlanPersonalScheduleProperties` to `*ScalingPlanPersonalSchedulePatchProperties`
16+
- Type of `ScalingPlanPooledSchedulePatch.Properties` has been changed from `*ScalingPlanPooledScheduleProperties` to `*ScalingPlanPooledSchedulePatchProperties`
17+
- Type of `ScalingSchedule.DaysOfWeek` has been changed from `[]*ScalingScheduleDaysOfWeekItem` to `[]*DayOfWeek`
18+
- Type of `Workspace.Identity` has been changed from `*ResourceModelWithAllowedPropertySetIdentity` to `*ManagedServiceIdentity`
19+
- Type of `Workspace.Plan` has been changed from `*ResourceModelWithAllowedPropertySetPlan` to `*Plan`
20+
- Type of `Workspace.SKU` has been changed from `*ResourceModelWithAllowedPropertySetSKU` to `*SKU`
21+
- Enum `ScalingScheduleDaysOfWeekItem` has been removed
22+
- Struct `ResourceModelWithAllowedPropertySetIdentity` has been removed
23+
- Struct `ResourceModelWithAllowedPropertySetPlan` has been removed
24+
- Struct `ResourceModelWithAllowedPropertySetSKU` has been removed
25+
26+
### Features Added
27+
28+
- New value `LoadBalancerTypeMultiplePersistent` added to enum type `LoadBalancerType`
29+
- New value `ScalingHostPoolTypePersonal` added to enum type `ScalingHostPoolType`
30+
- New enum type `CanaryPolicy` with values `CanaryPolicyAlways`, `CanaryPolicyAuto`, `CanaryPolicyNever`
31+
- New enum type `DiffDiskOption` with values `DiffDiskOptionLocal`
32+
- New enum type `DiffDiskPlacement` with values `DiffDiskPlacementCacheDisk`, `DiffDiskPlacementResourceDisk`
33+
- New enum type `DirectUDP` with values `DirectUDPDefault`, `DirectUDPDisabled`, `DirectUDPEnabled`
34+
- New enum type `DomainJoinType` with values `DomainJoinTypeActiveDirectory`, `DomainJoinTypeAzureActiveDirectory`
35+
- New enum type `FailedSessionHostCleanupPolicySHC` with values `FailedSessionHostCleanupPolicySHCKeepAll`, `FailedSessionHostCleanupPolicySHCKeepNone`, `FailedSessionHostCleanupPolicySHCKeepOne`
36+
- New enum type `HostPoolProvisioningAction` with values `HostPoolProvisioningActionCancel`
37+
- New enum type `HostPoolUpdateAction` with values `HostPoolUpdateActionCancel`, `HostPoolUpdateActionPause`, `HostPoolUpdateActionResume`, `HostPoolUpdateActionRetry`, `HostPoolUpdateActionStart`
38+
- New enum type `ManagedPrivateUDP` with values `ManagedPrivateUDPDefault`, `ManagedPrivateUDPDisabled`, `ManagedPrivateUDPEnabled`
39+
- New enum type `ManagedServiceIdentityType` with values `ManagedServiceIdentityTypeNone`, `ManagedServiceIdentityTypeSystemAssigned`, `ManagedServiceIdentityTypeSystemAssignedUserAssigned`, `ManagedServiceIdentityTypeUserAssigned`
40+
- New enum type `ManagementType` with values `ManagementTypeAutomated`, `ManagementTypeStandard`
41+
- New enum type `ProvisioningStateSHC` with values `ProvisioningStateSHCCanceled`, `ProvisioningStateSHCFailed`, `ProvisioningStateSHCProvisioning`, `ProvisioningStateSHCSucceeded`
42+
- New enum type `PublicUDP` with values `PublicUDPDefault`, `PublicUDPDisabled`, `PublicUDPEnabled`
43+
- New enum type `RelayUDP` with values `RelayUDPDefault`, `RelayUDPDisabled`, `RelayUDPEnabled`
44+
- New enum type `ScalingMethod` with values `ScalingMethodCreateDeletePowerManage`, `ScalingMethodPowerManage`
45+
- New enum type `Type` with values `TypeCustom`, `TypeMarketplace`
46+
- New enum type `VirtualMachineDiskType` with values `VirtualMachineDiskTypePremiumLRS`, `VirtualMachineDiskTypeStandardLRS`, `VirtualMachineDiskTypeStandardSSDLRS`
47+
- New enum type `VirtualMachineSecurityType` with values `VirtualMachineSecurityTypeConfidentialVM`, `VirtualMachineSecurityTypeStandard`, `VirtualMachineSecurityTypeTrustedLaunch`
48+
- New function `NewActiveSessionHostConfigurationsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ActiveSessionHostConfigurationsClient, error)`
49+
- New function `*ActiveSessionHostConfigurationsClient.Get(context.Context, string, string, *ActiveSessionHostConfigurationsClientGetOptions) (ActiveSessionHostConfigurationsClientGetResponse, error)`
50+
- New function `*ActiveSessionHostConfigurationsClient.NewListByHostPoolPager(string, string, *ActiveSessionHostConfigurationsClientListByHostPoolOptions) *runtime.Pager[ActiveSessionHostConfigurationsClientListByHostPoolResponse]`
51+
- New function `*ClientFactory.NewActiveSessionHostConfigurationsClient() *ActiveSessionHostConfigurationsClient`
52+
- New function `*ClientFactory.NewControlSessionHostProvisioningClient() *ControlSessionHostProvisioningClient`
53+
- New function `*ClientFactory.NewControlSessionHostUpdateClient() *ControlSessionHostUpdateClient`
54+
- New function `*ClientFactory.NewInitiateSessionHostUpdateClient() *InitiateSessionHostUpdateClient`
55+
- New function `*ClientFactory.NewSessionHostClient() *SessionHostClient`
56+
- New function `*ClientFactory.NewSessionHostConfigurationsClient() *SessionHostConfigurationsClient`
57+
- New function `*ClientFactory.NewSessionHostManagementsClient() *SessionHostManagementsClient`
58+
- New function `*ClientFactory.NewSessionHostManagementsUpdateStatusClient() *SessionHostManagementsUpdateStatusClient`
59+
- New function `*ClientFactory.NewSessionHostProvisioningStatusesClient() *SessionHostProvisioningStatusesClient`
60+
- New function `NewControlSessionHostProvisioningClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ControlSessionHostProvisioningClient, error)`
61+
- New function `*ControlSessionHostProvisioningClient.BeginPost(context.Context, string, string, HostPoolProvisioningControlParameter, *ControlSessionHostProvisioningClientBeginPostOptions) (*runtime.Poller[ControlSessionHostProvisioningClientPostResponse], error)`
62+
- New function `NewControlSessionHostUpdateClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ControlSessionHostUpdateClient, error)`
63+
- New function `*ControlSessionHostUpdateClient.BeginPost(context.Context, string, string, HostPoolUpdateControlParameter, *ControlSessionHostUpdateClientBeginPostOptions) (*runtime.Poller[ControlSessionHostUpdateClientPostResponse], error)`
64+
- New function `NewInitiateSessionHostUpdateClient(string, azcore.TokenCredential, *arm.ClientOptions) (*InitiateSessionHostUpdateClient, error)`
65+
- New function `*InitiateSessionHostUpdateClient.Post(context.Context, string, string, *InitiateSessionHostUpdateClientPostOptions) (InitiateSessionHostUpdateClientPostResponse, error)`
66+
- New function `NewSessionHostClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SessionHostClient, error)`
67+
- New function `*SessionHostClient.RetryProvisioning(context.Context, string, string, string, *SessionHostClientRetryProvisioningOptions) (SessionHostClientRetryProvisioningResponse, error)`
68+
- New function `NewSessionHostConfigurationsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SessionHostConfigurationsClient, error)`
69+
- New function `*SessionHostConfigurationsClient.BeginCreateOrUpdate(context.Context, string, string, SessionHostConfiguration, *SessionHostConfigurationsClientBeginCreateOrUpdateOptions) (*runtime.Poller[SessionHostConfigurationsClientCreateOrUpdateResponse], error)`
70+
- New function `*SessionHostConfigurationsClient.Get(context.Context, string, string, *SessionHostConfigurationsClientGetOptions) (SessionHostConfigurationsClientGetResponse, error)`
71+
- New function `*SessionHostConfigurationsClient.NewListByHostPoolPager(string, string, *SessionHostConfigurationsClientListByHostPoolOptions) *runtime.Pager[SessionHostConfigurationsClientListByHostPoolResponse]`
72+
- New function `*SessionHostConfigurationsClient.BeginUpdate(context.Context, string, string, *SessionHostConfigurationsClientBeginUpdateOptions) (*runtime.Poller[SessionHostConfigurationsClientUpdateResponse], error)`
73+
- New function `NewSessionHostManagementsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SessionHostManagementsClient, error)`
74+
- New function `*SessionHostManagementsClient.CreateOrUpdate(context.Context, string, string, SessionHostManagement, *SessionHostManagementsClientCreateOrUpdateOptions) (SessionHostManagementsClientCreateOrUpdateResponse, error)`
75+
- New function `*SessionHostManagementsClient.Get(context.Context, string, string, *SessionHostManagementsClientGetOptions) (SessionHostManagementsClientGetResponse, error)`
76+
- New function `*SessionHostManagementsClient.NewListByHostPoolPager(string, string, *SessionHostManagementsClientListByHostPoolOptions) *runtime.Pager[SessionHostManagementsClientListByHostPoolResponse]`
77+
- New function `*SessionHostManagementsClient.Update(context.Context, string, string, *SessionHostManagementsClientUpdateOptions) (SessionHostManagementsClientUpdateResponse, error)`
78+
- New function `NewSessionHostManagementsUpdateStatusClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SessionHostManagementsUpdateStatusClient, error)`
79+
- New function `*SessionHostManagementsUpdateStatusClient.Get(context.Context, string, string, *SessionHostManagementsUpdateStatusClientGetOptions) (SessionHostManagementsUpdateStatusClientGetResponse, error)`
80+
- New function `NewSessionHostProvisioningStatusesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SessionHostProvisioningStatusesClient, error)`
81+
- New function `*SessionHostProvisioningStatusesClient.Get(context.Context, string, string, *SessionHostProvisioningStatusesClientGetOptions) (SessionHostProvisioningStatusesClientGetResponse, error)`
82+
- New struct `ActiveDirectoryInfoPatchProperties`
83+
- New struct `ActiveDirectoryInfoProperties`
84+
- New struct `ActiveSessionHostConfiguration`
85+
- New struct `ActiveSessionHostConfigurationList`
86+
- New struct `ActiveSessionHostConfigurationProperties`
87+
- New struct `AzureActiveDirectoryInfoProperties`
88+
- New struct `BootDiagnosticsInfoPatchProperties`
89+
- New struct `BootDiagnosticsInfoProperties`
90+
- New struct `CreateDeleteProperties`
91+
- New struct `CustomInfoPatchProperties`
92+
- New struct `CustomInfoProperties`
93+
- New struct `DiffDiskProperties`
94+
- New struct `DiskInfoProperties`
95+
- New struct `DomainInfoPatchProperties`
96+
- New struct `DomainInfoProperties`
97+
- New struct `ErrorAdditionalInfo`
98+
- New struct `ErrorDetail`
99+
- New struct `HostPoolProvisioningControlParameter`
100+
- New struct `HostPoolUpdateConfigurationPatchProperties`
101+
- New struct `HostPoolUpdateConfigurationProperties`
102+
- New struct `HostPoolUpdateControlParameter`
103+
- New struct `ImageInfoPatchProperties`
104+
- New struct `ImageInfoProperties`
105+
- New struct `KeyVaultCredentialsPatchProperties`
106+
- New struct `KeyVaultCredentialsProperties`
107+
- New struct `ManagedDiskProperties`
108+
- New struct `ManagedServiceIdentity`
109+
- New struct `MarketplaceInfoPatchProperties`
110+
- New struct `MarketplaceInfoProperties`
111+
- New struct `NetworkInfoPatchProperties`
112+
- New struct `NetworkInfoProperties`
113+
- New struct `Plan`
114+
- New struct `SKU`
115+
- New struct `ScalingPlanPersonalSchedulePatchProperties`
116+
- New struct `ScalingPlanPooledSchedulePatchProperties`
117+
- New struct `SecurityInfoPatchProperties`
118+
- New struct `SecurityInfoProperties`
119+
- New struct `SessionHostConfiguration`
120+
- New struct `SessionHostConfigurationList`
121+
- New struct `SessionHostConfigurationPatch`
122+
- New struct `SessionHostConfigurationPatchProperties`
123+
- New struct `SessionHostConfigurationProperties`
124+
- New struct `SessionHostManagement`
125+
- New struct `SessionHostManagementList`
126+
- New struct `SessionHostManagementOperationProgress`
127+
- New struct `SessionHostManagementPatch`
128+
- New struct `SessionHostManagementPatchProperties`
129+
- New struct `SessionHostManagementProperties`
130+
- New struct `SessionHostManagementProvisioningOperationProgress`
131+
- New struct `SessionHostManagementProvisioningStatus`
132+
- New struct `SessionHostManagementProvisioningStatusProperties`
133+
- New struct `SessionHostManagementUpdateStatus`
134+
- New struct `SessionHostManagementUpdateStatusProperties`
135+
- New struct `SessionHostProvisioningConfigurationPatchProperties`
136+
- New struct `SessionHostProvisioningConfigurationProperties`
137+
- New struct `UpdateSessionHostsRequestBody`
138+
- New struct `UserAssignedIdentity`
139+
- New field `Force` in struct `AppAttachPackageClientDeleteOptions`
140+
- New field `Tags` in struct `AppAttachPackagePatch`
141+
- New field `CustomData`, `PackageLookbackURL` in struct `AppAttachPackagePatchProperties`
142+
- New field `CustomData`, `PackageLookbackURL`, `PackageOwnerName` in struct `AppAttachPackageProperties`
143+
- New field `DirectUDP`, `ManagedPrivateUDP`, `PublicUDP`, `RelayUDP` in struct `HostPoolPatchProperties`
144+
- New field `DirectUDP`, `ManagedPrivateUDP`, `ManagementType`, `PublicUDP`, `RelayUDP` in struct `HostPoolProperties`
145+
- New field `CreateDelete`, `Name`, `ScalingMethod` in struct `ScalingPlanPooledScheduleProperties`
146+
- New field `CreateDelete`, `ScalingMethod` in struct `ScalingSchedule`
147+
- New field `ActiveSessions`, `DisconnectedSessions`, `LastSessionHostUpdateTime`, `PendingSessions`, `SessionHostConfiguration` in struct `SessionHostProperties`
148+
- New field `VMPath` in struct `SessionHostsClientListOptions`
149+
150+
3151
## 2.3.0 (2024-09-24)
4152
### Features Added
5153

sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
1818
Install the Azure Virtual Desktop module:
1919

2020
```sh
21-
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization/v2
21+
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization/v3
2222
```
2323

2424
## Authorization
@@ -55,7 +55,7 @@ clientFactory, err := armdesktopvirtualization.NewClientFactory(<subscription ID
5555
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.
5656

5757
```go
58-
client := clientFactory.NewAppAttachPackageClient()
58+
client := clientFactory.NewActiveSessionHostConfigurationsClient()
5959
```
6060

6161
## Fakes

0 commit comments

Comments
 (0)