Skip to content

Commit 859791d

Browse files
author
SDKAuto
committed
CodeGen from PR 33838 in Azure/azure-rest-api-specs
Merge d94265a53625255b6698f46368bdb2da266c27eb into d851eaf017961d36e354b15147664660e537a196
1 parent 19bf188 commit 859791d

38 files changed

+4896
-1655
lines changed

sdk/resourcemanager/containerservicefleet/armcontainerservicefleet/CHANGELOG.md

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

3+
## 2.0.0 (2025-04-09)
4+
### Breaking Changes
5+
6+
- Type of `ErrorAdditionalInfo.Info` has been changed from `any` to `*ErrorAdditionalInfoInfo`
7+
- `ManagedServiceIdentityTypeSystemAssignedUserAssigned` from enum `ManagedServiceIdentityType` has been removed
8+
- Function `*FleetMembersClient.BeginUpdate` has been removed
9+
- Function `*FleetsClient.BeginCreateOrUpdate` has been removed
10+
- Function `*FleetsClient.BeginUpdate` has been removed
11+
12+
### Features Added
13+
14+
- New value `ManagedServiceIdentityTypeSystemAndUserAssigned` added to enum type `ManagedServiceIdentityType`
15+
- New value `NodeImageSelectionTypeCustom` added to enum type `NodeImageSelectionType`
16+
- New enum type `AutoUpgradeLastTriggerStatus` with values `AutoUpgradeLastTriggerStatusFailed`, `AutoUpgradeLastTriggerStatusSucceeded`
17+
- New enum type `AutoUpgradeNodeImageSelectionType` with values `AutoUpgradeNodeImageSelectionTypeConsistent`, `AutoUpgradeNodeImageSelectionTypeLatest`
18+
- New enum type `AutoUpgradeProfileProvisioningState` with values `AutoUpgradeProfileProvisioningStateCanceled`, `AutoUpgradeProfileProvisioningStateFailed`, `AutoUpgradeProfileProvisioningStateSucceeded`
19+
- New enum type `UpgradeChannel` with values `UpgradeChannelNodeImage`, `UpgradeChannelRapid`, `UpgradeChannelStable`
20+
- New function `NewAutoUpgradeProfileOperationsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*AutoUpgradeProfileOperationsClient, error)`
21+
- New function `*AutoUpgradeProfileOperationsClient.BeginGenerateUpdateRun(context.Context, string, string, string, *AutoUpgradeProfileOperationsClientBeginGenerateUpdateRunOptions) (*runtime.Poller[AutoUpgradeProfileOperationsClientGenerateUpdateRunResponse], error)`
22+
- New function `NewAutoUpgradeProfilesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*AutoUpgradeProfilesClient, error)`
23+
- New function `*AutoUpgradeProfilesClient.BeginCreateOrUpdate(context.Context, string, string, string, AutoUpgradeProfile, *AutoUpgradeProfilesClientBeginCreateOrUpdateOptions) (*runtime.Poller[AutoUpgradeProfilesClientCreateOrUpdateResponse], error)`
24+
- New function `*AutoUpgradeProfilesClient.BeginDelete(context.Context, string, string, string, *AutoUpgradeProfilesClientBeginDeleteOptions) (*runtime.Poller[AutoUpgradeProfilesClientDeleteResponse], error)`
25+
- New function `*AutoUpgradeProfilesClient.Get(context.Context, string, string, string, *AutoUpgradeProfilesClientGetOptions) (AutoUpgradeProfilesClientGetResponse, error)`
26+
- New function `*AutoUpgradeProfilesClient.NewListByFleetPager(string, string, *AutoUpgradeProfilesClientListByFleetOptions) *runtime.Pager[AutoUpgradeProfilesClientListByFleetResponse]`
27+
- New function `*ClientFactory.NewAutoUpgradeProfileOperationsClient() *AutoUpgradeProfileOperationsClient`
28+
- New function `*ClientFactory.NewAutoUpgradeProfilesClient() *AutoUpgradeProfilesClient`
29+
- New function `*FleetMembersClient.BeginUpdateAsync(context.Context, string, string, string, FleetMemberUpdate, *FleetMembersClientBeginUpdateAsyncOptions) (*runtime.Poller[FleetMembersClientUpdateAsyncResponse], error)`
30+
- New function `*FleetsClient.BeginCreate(context.Context, string, string, Fleet, *FleetsClientBeginCreateOptions) (*runtime.Poller[FleetsClientCreateResponse], error)`
31+
- New function `*FleetsClient.BeginUpdateAsync(context.Context, string, string, FleetPatch, *FleetsClientBeginUpdateAsyncOptions) (*runtime.Poller[FleetsClientUpdateAsyncResponse], error)`
32+
- New struct `AutoUpgradeNodeImageSelection`
33+
- New struct `AutoUpgradeProfile`
34+
- New struct `AutoUpgradeProfileListResult`
35+
- New struct `AutoUpgradeProfileProperties`
36+
- New struct `AutoUpgradeProfileStatus`
37+
- New struct `ErrorAdditionalInfoInfo`
38+
- New struct `FleetMemberStatus`
39+
- New struct `FleetStatus`
40+
- New field `EnableVnetIntegration`, `SubnetID` in struct `APIServerAccessProfile`
41+
- New field `Status` in struct `FleetMemberProperties`
42+
- New field `Status` in struct `FleetProperties`
43+
- New field `CustomNodeImageVersions` in struct `NodeImageSelection`
44+
- New field `AutoUpgradeProfileID` in struct `UpdateRunProperties`
45+
46+
347
## 1.3.0-beta.1 (2024-10-25)
448
### Features Added
549

sdk/resourcemanager/containerservicefleet/armcontainerservicefleet/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 Kubernetes Fleet module:
1919

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

2424
## Authorization
@@ -55,7 +55,7 @@ clientFactory, err := armcontainerservicefleet.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.NewAutoUpgradeProfilesClient()
58+
client := clientFactory.NewAutoUpgradeProfileOperationsClient()
5959
```
6060

6161
## Fakes

sdk/resourcemanager/containerservicefleet/armcontainerservicefleet/autorest.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

sdk/resourcemanager/containerservicefleet/armcontainerservicefleet/autoupgradeprofileoperations_client.go

Lines changed: 122 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/containerservicefleet/armcontainerservicefleet/autoupgradeprofileoperations_client_example_test.go

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)