Skip to content

Commit 4421685

Browse files
author
SDKAuto
committed
CodeGen from PR 3476 in test-repo-billy/azure-rest-api-specs
Merge 152ba9e50258d8fd737c4965f37bafe391c26273 into 7287b054bc3863f8fe7c1e3818243277440694e4
1 parent fdfd924 commit 4421685

Some content is hidden

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

51 files changed

+2554
-4953
lines changed

sdk/resourcemanager/mongocluster/armmongocluster/CHANGELOG.md

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

3+
## 0.2.0 (2024-08-14)
4+
### Breaking Changes
5+
6+
- Type of `Properties.ClusterStatus` has been changed from `*MongoClusterStatus` to `*Status`
7+
- Enum `MongoClusterStatus` has been removed
8+
9+
### Features Added
10+
11+
- New value `CreateModeGeoReplica`, `CreateModeReplica` added to enum type `CreateMode`
12+
- New enum type `PreviewFeature` with values `PreviewFeatureGeoReplicas`
13+
- New enum type `PromoteMode` with values `PromoteModeSwitchover`
14+
- New enum type `PromoteOption` with values `PromoteOptionForced`
15+
- New enum type `ReplicationRole` with values `ReplicationRoleAsyncReplica`, `ReplicationRoleGeoAsyncReplica`, `ReplicationRolePrimary`
16+
- New enum type `ReplicationState` with values `ReplicationStateActive`, `ReplicationStateBroken`, `ReplicationStateCatchup`, `ReplicationStateProvisioning`, `ReplicationStateReconfiguring`, `ReplicationStateUpdating`
17+
- New enum type `Status` with values `StatusDropping`, `StatusProvisioning`, `StatusReady`, `StatusStarting`, `StatusStopped`, `StatusStopping`, `StatusUpdating`
18+
- New function `*ClientFactory.NewReplicasClient() *ReplicasClient`
19+
- New function `*MongoClustersClient.BeginPromote(context.Context, string, string, PromoteReplicaRequest, *MongoClustersClientBeginPromoteOptions) (*runtime.Poller[MongoClustersClientPromoteResponse], error)`
20+
- New function `NewReplicasClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ReplicasClient, error)`
21+
- New function `*ReplicasClient.NewListByParentPager(string, string, *ReplicasClientListByParentOptions) *runtime.Pager[ReplicasClientListByParentResponse]`
22+
- New struct `PromoteReplicaRequest`
23+
- New struct `Replica`
24+
- New struct `ReplicaListResult`
25+
- New struct `ReplicaParameters`
26+
- New struct `ReplicationProperties`
27+
- New field `InfrastructureVersion`, `PreviewFeatures`, `Replica`, `ReplicaParameters` in struct `Properties`
28+
- New field `PreviewFeatures` in struct `UpdateProperties`
29+
30+
331
## 0.1.0 (2024-07-05)
432
### Other Changes
533

sdk/resourcemanager/mongocluster/armmongocluster/client_factory.go

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

sdk/resourcemanager/mongocluster/armmongocluster/constants.go

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

sdk/resourcemanager/mongocluster/armmongocluster/fake/mongoclusters_server.go

Lines changed: 56 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)