Skip to content

Commit

Permalink
CodeGen from PR 25708 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 1574be2c470d7e90f47b079947d53d7323528728 into 1d7059db3c66d17d75e325d15c597ebbecfc60f4
  • Loading branch information
SDKAuto committed Sep 22, 2023
1 parent 0a1ed18 commit 90b8a64
Show file tree
Hide file tree
Showing 24 changed files with 952 additions and 1,992 deletions.
54 changes: 54 additions & 0 deletions sdk/resourcemanager/chaos/armchaos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# Release History

## 0.8.0 (2023-09-22)
### Breaking Changes

- Type of `ExperimentProperties.Selectors` has been changed from `[]SelectorClassification` to `[]TargetSelectorClassification`
- Type of `ExperimentProperties.Steps` has been changed from `[]*Step` to `[]*ExperimentStep`
- Function `*Action.GetAction` has been removed
- Function `*ContinuousAction.GetAction` has been removed
- Function `*DelayAction.GetAction` has been removed
- Function `*DiscreteAction.GetAction` has been removed
- Function `*Filter.GetFilter` has been removed
- Function `*ListSelector.GetSelector` has been removed
- Function `*QuerySelector.GetSelector` has been removed
- Function `*Selector.GetSelector` has been removed
- Function `*SimpleFilter.GetFilter` has been removed
- Operation `*ExperimentsClient.Cancel` has been changed to LRO, use `*ExperimentsClient.BeginCancel` instead.
- Operation `*ExperimentsClient.CreateOrUpdate` has been changed to LRO, use `*ExperimentsClient.BeginCreateOrUpdate` instead.
- Operation `*ExperimentsClient.Delete` has been changed to LRO, use `*ExperimentsClient.BeginDelete` instead.
- Operation `*ExperimentsClient.Start` has been changed to LRO, use `*ExperimentsClient.BeginStart` instead.
- Operation `*ExperimentsClient.Update` has been changed to LRO, use `*ExperimentsClient.BeginUpdate` instead.
- Struct `Branch` has been removed
- Struct `ExperimentCancelOperationResult` has been removed
- Struct `ExperimentStartOperationResult` has been removed
- Struct `ListSelector` has been removed
- Struct `QuerySelector` has been removed
- Struct `SimpleFilter` has been removed
- Struct `SimpleFilterParameters` has been removed
- Struct `Step` has been removed
- Field `StartOnCreation` of struct `ExperimentProperties` has been removed

### Features Added

- New enum type `ProvisioningState` with values `ProvisioningStateCanceled`, `ProvisioningStateCreating`, `ProvisioningStateDeleting`, `ProvisioningStateFailed`, `ProvisioningStateSucceeded`, `ProvisioningStateUpdating`
- New function `*ClientFactory.NewOperationStatusesClient() *OperationStatusesClient`
- New function `*ContinuousAction.GetExperimentAction() *ExperimentAction`
- New function `*DelayAction.GetExperimentAction() *ExperimentAction`
- New function `*DiscreteAction.GetExperimentAction() *ExperimentAction`
- New function `*ExperimentAction.GetExperimentAction() *ExperimentAction`
- New function `NewOperationStatusesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*OperationStatusesClient, error)`
- New function `*OperationStatusesClient.Get(context.Context, string, string, *OperationStatusesClientGetOptions) (OperationStatusesClientGetResponse, error)`
- New function `*TargetFilter.GetTargetFilter() *TargetFilter`
- New function `*TargetListSelector.GetTargetSelector() *TargetSelector`
- New function `*TargetQuerySelector.GetTargetSelector() *TargetSelector`
- New function `*TargetSelector.GetTargetSelector() *TargetSelector`
- New function `*TargetSimpleFilter.GetTargetFilter() *TargetFilter`
- New struct `ExperimentBranch`
- New struct `ExperimentStep`
- New struct `OperationStatus`
- New struct `TargetListSelector`
- New struct `TargetQuerySelector`
- New struct `TargetSimpleFilter`
- New struct `TargetSimpleFilterParameters`
- New field `ProvisioningState` in struct `Experiment`


## 0.7.0 (2023-08-25)
### Breaking Changes

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/4cd95123fb961c68740565a1efcaa5e43bd35802/specification/chaos/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/4cd95123fb961c68740565a1efcaa5e43bd35802/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: 0.7.0
tag: package-2023-04-15-preview
module-version: 0.8.0
```
16 changes: 8 additions & 8 deletions sdk/resourcemanager/chaos/armchaos/capabilities_client.go

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

153 changes: 0 additions & 153 deletions sdk/resourcemanager/chaos/armchaos/capabilities_client_example_test.go

This file was deleted.

8 changes: 4 additions & 4 deletions sdk/resourcemanager/chaos/armchaos/capabilitytypes_client.go

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

Loading

0 comments on commit 90b8a64

Please sign in to comment.