Skip to content

Commit

Permalink
CodeGen from PR 31567 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6133e0bb6f388cefb8d43b800391c0343ef60ab0 into 6724a3287abf1c9cd539084d2d47b4df53df1309
  • Loading branch information
SDKAuto committed Nov 15, 2024
1 parent 3ebd0d4 commit 69fe9e7
Show file tree
Hide file tree
Showing 40 changed files with 1,343 additions and 2,652 deletions.
64 changes: 64 additions & 0 deletions sdk/resourcemanager/chaos/armchaos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,69 @@
# Release History

## 2.0.0 (2024-11-15)
### Breaking Changes

- Function `*CapabilitiesClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, string, string, string, Capability, *CapabilitiesClientCreateOrUpdateOptions)` to `(context.Context, string, string, string, Capability, *CapabilitiesClientCreateOrUpdateOptions)`
- Function `*CapabilitiesClient.Delete` parameter(s) have been changed from `(context.Context, string, string, string, string, string, string, *CapabilitiesClientDeleteOptions)` to `(context.Context, string, string, string, *CapabilitiesClientDeleteOptions)`
- Function `*CapabilitiesClient.Get` parameter(s) have been changed from `(context.Context, string, string, string, string, string, string, *CapabilitiesClientGetOptions)` to `(context.Context, string, string, string, *CapabilitiesClientGetOptions)`
- Function `*CapabilitiesClient.NewListPager` parameter(s) have been changed from `(string, string, string, string, string, *CapabilitiesClientListOptions)` to `(string, string, *CapabilitiesClientListOptions)`
- Function `*ExperimentsClient.BeginCancel` parameter(s) have been changed from `(context.Context, string, string, *ExperimentsClientBeginCancelOptions)` to `(context.Context, *ExperimentsClientBeginCancelOptions)`
- Function `*ExperimentsClient.BeginStart` parameter(s) have been changed from `(context.Context, string, string, *ExperimentsClientBeginStartOptions)` to `(context.Context, *ExperimentsClientBeginStartOptions)`
- Function `*TargetsClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, string, string, Target, *TargetsClientCreateOrUpdateOptions)` to `(context.Context, string, string, Target, *TargetsClientCreateOrUpdateOptions)`
- Function `*TargetsClient.Delete` parameter(s) have been changed from `(context.Context, string, string, string, string, string, *TargetsClientDeleteOptions)` to `(context.Context, string, string, *TargetsClientDeleteOptions)`
- Function `*TargetsClient.Get` parameter(s) have been changed from `(context.Context, string, string, string, string, string, *TargetsClientGetOptions)` to `(context.Context, string, string, *TargetsClientGetOptions)`
- Function `*TargetsClient.NewListPager` parameter(s) have been changed from `(string, string, string, string, *TargetsClientListOptions)` to `(string, *TargetsClientListOptions)`
- Type of `ContinuousAction.Type` has been changed from `*string` to `*ExperimentActionType`
- Type of `DelayAction.Type` has been changed from `*string` to `*ExperimentActionType`
- Type of `DiscreteAction.Type` has been changed from `*string` to `*ExperimentActionType`
- Type of `Experiment.Identity` has been changed from `*ResourceIdentity` to `*ManagedServiceIdentity`
- Type of `ExperimentAction.Type` has been changed from `*string` to `*ExperimentActionType`
- Type of `ExperimentUpdate.Identity` has been changed from `*ResourceIdentity` to `*ManagedServiceIdentityUpdate`
- Enum `ResourceIdentityType` has been removed
- Function `*ClientFactory.NewOperationStatusesClient` has been removed
- Function `*ExperimentsClient.ExecutionDetails` has been removed
- Function `*ExperimentsClient.GetExecution` has been removed
- Function `*ExperimentsClient.NewListAllExecutionsPager` has been removed
- Function `*ExperimentsClient.NewListAllPager` has been removed
- Function `*ExperimentsClient.NewListPager` has been removed
- Function `NewOperationStatusesClient` has been removed
- Function `*OperationStatusesClient.Get` has been removed
- Function `*OperationsClient.NewListAllPager` has been removed
- Struct `OperationStatus` has been removed
- Struct `ResourceIdentity` has been removed
- Field `Location` of struct `CapabilityType` has been removed
- Field `Location` of struct `Target` has been removed
- Field `Location` of struct `TargetType` has been removed

### Features Added

- New enum type `ExperimentActionType` with values `ExperimentActionTypeContinuous`, `ExperimentActionTypeDelay`, `ExperimentActionTypeDiscrete`
- New enum type `ManagedServiceIdentityType` with values `ManagedServiceIdentityTypeNone`, `ManagedServiceIdentityTypeSystemAssigned`, `ManagedServiceIdentityTypeSystemAssignedUserAssigned`, `ManagedServiceIdentityTypeUserAssigned`
- New function `*ClientFactory.NewExperimentExecutionsClient() *ExperimentExecutionsClient`
- New function `NewExperimentExecutionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ExperimentExecutionsClient, error)`
- New function `*ExperimentExecutionsClient.Details(context.Context, string, string, string, *ExperimentExecutionsClientDetailsOptions) (ExperimentExecutionsClientDetailsResponse, error)`
- New function `*ExperimentExecutionsClient.Get(context.Context, string, string, string, *ExperimentExecutionsClientGetOptions) (ExperimentExecutionsClientGetResponse, error)`
- New function `*ExperimentExecutionsClient.NewListPager(string, string, *ExperimentExecutionsClientListOptions) *runtime.Pager[ExperimentExecutionsClientListResponse]`
- New function `*ExperimentsClient.NewListByResourceGroupPager(string, *ExperimentsClientListByResourceGroupOptions) *runtime.Pager[ExperimentsClientListByResourceGroupResponse]`
- New function `*ExperimentsClient.NewListBySubscriptionPager(*ExperimentsClientListBySubscriptionOptions) *runtime.Pager[ExperimentsClientListBySubscriptionResponse]`
- New function `*OperationsClient.NewListPager(*OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]`
- New struct `ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties`
- New struct `ManagedServiceIdentity`
- New struct `ManagedServiceIdentityUpdate`
- New struct `PostActionResponse`
- New struct `ProxyResource`
- New field `ProvisioningState` in struct `CapabilityProperties`
- New field `ProvisioningState` in struct `CapabilityTypeProperties`
- New field `SystemData` in struct `ExperimentExecution`
- New field `ProvisioningState` in struct `ExperimentExecutionDetailsProperties`
- New field `ProvisioningState` in struct `ExperimentExecutionProperties`
- New anonymous field `PostActionResponse` in struct `ExperimentsClientCancelResponse`
- New anonymous field `PostActionResponse` in struct `ExperimentsClientStartResponse`
- New field `SystemData` in struct `Resource`
- New field `ProvisioningState` in struct `TargetTypeProperties`
- New field `SystemData` in struct `TrackedResource`


## 1.1.0 (2024-03-22)
### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/chaos/armchaos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
Install the Azure Chaos module:

```sh
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/chaos/armchaos
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/chaos/armchaos/v2
```

## Authorization
Expand Down
7 changes: 3 additions & 4 deletions sdk/resourcemanager/chaos/armchaos/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/e4009d2f8d3bf0271757e522c7d1c1997e193d44/specification/chaos/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/e4009d2f8d3bf0271757e522c7d1c1997e193d44/specification/chaos/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/chaos/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/chaos/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.1.0
tag: package-2024-01
module-version: 2.0.0
```
Loading

0 comments on commit 69fe9e7

Please sign in to comment.