Skip to content

Commit 6472ad5

Browse files
author
SDKAuto
committed
CodeGen from PR 23482 in Azure/azure-rest-api-specs
Merge 116f64d385c1a9076b23673974e3082af05723f6 into 84113e300ebbd2e804f000b73b522ffd8acedd4a
1 parent af68cae commit 6472ad5

15 files changed

+462
-429
lines changed

sdk/resourcemanager/resources/armsubscriptions/CHANGELOG.md

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

3+
## 2.0.0 (2023-04-25)
4+
### Breaking Changes
5+
6+
- Function `NewClient` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)`
7+
- Function `*Client.CheckZonePeers` parameter(s) have been changed from `(context.Context, string, CheckZonePeersRequest, *ClientCheckZonePeersOptions)` to `(context.Context, CheckZonePeersRequest, *ClientCheckZonePeersOptions)`
8+
- Function `*Client.Get` parameter(s) have been changed from `(context.Context, string, *ClientGetOptions)` to `(context.Context, *ClientGetOptions)`
9+
- Function `*Client.NewListLocationsPager` parameter(s) have been changed from `(string, *ClientListLocationsOptions)` to `(*ClientListLocationsOptions)`
10+
- Function `NewClientFactory` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)`
11+
12+
### Features Added
13+
14+
- New enum type `ActionType` with values `ActionTypeInternal`
15+
- New enum type `Origin` with values `OriginSystem`, `OriginUser`, `OriginUserSystem`
16+
- New function `*ClientFactory.NewOperationsClient() *OperationsClient`
17+
- New function `NewOperationsClient(azcore.TokenCredential, *arm.ClientOptions) (*OperationsClient, error)`
18+
- New function `*OperationsClient.NewListPager(*OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]`
19+
- New struct `AvailabilityZoneMappings`
20+
- New struct `OperationAutoGenerated`
21+
- New struct `OperationDisplayAutoGenerated`
22+
- New struct `OperationListResultAutoGenerated`
23+
- New field `AvailabilityZoneMappings` in struct `Location`
24+
- New field `Geography` in struct `LocationMetadata`
25+
- New field `ActionType`, `IsDataAction`, `Origin` in struct `Operation`
26+
27+
328
## 1.1.1 (2023-04-14)
429
### Bug Fixes
530

sdk/resourcemanager/resources/armsubscriptions/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.1.1
11+
module-version: 2.0.0
1212
package-subscriptions: true
1313
```

sdk/resourcemanager/resources/armsubscriptions/client.go

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

0 commit comments

Comments
 (0)