Skip to content

Commit

Permalink
CodeGen from PR 23292 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge ebe59c92d393d8ad56343995fc588b84584ed14e into 4637adf8aac277915fad37135dc4d11d34e166b9
  • Loading branch information
SDKAuto committed Apr 12, 2023
1 parent bb7585a commit 13e01f9
Show file tree
Hide file tree
Showing 15 changed files with 462 additions and 427 deletions.
27 changes: 27 additions & 0 deletions sdk/resourcemanager/resources/armsubscriptions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Release History

## 2.0.0 (2023-04-12)
### Breaking Changes

- Function `NewClient` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)`
- Function `*Client.CheckZonePeers` parameter(s) have been changed from `(context.Context, string, CheckZonePeersRequest, *ClientCheckZonePeersOptions)` to `(context.Context, CheckZonePeersRequest, *ClientCheckZonePeersOptions)`
- Function `*Client.Get` parameter(s) have been changed from `(context.Context, string, *ClientGetOptions)` to `(context.Context, *ClientGetOptions)`
- Function `*Client.NewListLocationsPager` parameter(s) have been changed from `(string, *ClientListLocationsOptions)` to `(*ClientListLocationsOptions)`
- Function `NewClientFactory` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)`

### Features Added

- New enum type `ActionType` with values `ActionTypeInternal`
- New enum type `Origin` with values `OriginSystem`, `OriginUser`, `OriginUserSystem`
- New function `*ClientFactory.NewOperationsClient() *OperationsClient`
- New function `NewOperationsClient(azcore.TokenCredential, *arm.ClientOptions) (*OperationsClient, error)`
- New function `*OperationsClient.NewListPager(*OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]`
- New struct `AvailabilityZoneMappings`
- New struct `OperationAutoGenerated`
- New struct `OperationDisplayAutoGenerated`
- New struct `OperationListResultAutoGenerated`
- New field `AvailabilityZoneMappings` in struct `Location`
- New field `Geography` in struct `LocationMetadata`
- New field `ActionType` in struct `Operation`
- New field `IsDataAction` in struct `Operation`
- New field `Origin` in struct `Operation`


## 1.1.0 (2023-03-27)
### Features Added

Expand Down
6 changes: 3 additions & 3 deletions sdk/resourcemanager/resources/armsubscriptions/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/0cc5e2efd6ffccf30e80d1e150b488dd87198b94/specification/resources/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.1.0
module-version: 2.0.0
package-subscriptions: true
```
62 changes: 26 additions & 36 deletions sdk/resourcemanager/resources/armsubscriptions/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 13e01f9

Please sign in to comment.