Skip to content

Commit f883320

Browse files
author
SDKAuto
committed
CodeGen from PR 22071 in Azure/azure-rest-api-specs
Merge 7a423b713a6cbb9405e20016bb48354430b8457a into 3dae9445631a0e27d743c1355f8cb82391d1634f
1 parent ca6a318 commit f883320

File tree

44 files changed

+5872
-4271
lines changed

Some content is hidden

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

44 files changed

+5872
-4271
lines changed

sdk/resourcemanager/dataprotection/armdataprotection/CHANGELOG.md

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

3+
## 2.0.0 (2023-01-05)
4+
### Breaking Changes
5+
6+
- Function `*ResourceGuardsClient.Patch` parameter(s) have been changed from `(context.Context, string, string, PatchResourceRequestInput, *ResourceGuardsClientPatchOptions)` to `(context.Context, string, string, PatchResourceGuardInput, *ResourceGuardsClientPatchOptions)`
7+
- Const `StorageSettingStoreTypesSnapshotStore` from type alias `StorageSettingStoreTypes` has been removed
8+
- Struct `CloudError` has been removed
9+
- Field `Identity` of struct `ResourceGuardResource` has been removed
10+
11+
### Features Added
12+
13+
- New value `SourceDataStoreTypeOperationalStore` added to type alias `SourceDataStoreType`
14+
- New value `StorageSettingStoreTypesOperationalStore` added to type alias `StorageSettingStoreTypes`
15+
- New value `StorageSettingTypesZoneRedundant` added to type alias `StorageSettingTypes`
16+
- New type alias `CrossSubscriptionRestoreState` with values `CrossSubscriptionRestoreStateDisabled`, `CrossSubscriptionRestoreStateEnabled`, `CrossSubscriptionRestoreStatePermanentlyDisabled`
17+
- New type alias `ImmutabilityState` with values `ImmutabilityStateDisabled`, `ImmutabilityStateLocked`, `ImmutabilityStateUnlocked`
18+
- New type alias `SoftDeleteState` with values `SoftDeleteStateAlwaysOn`, `SoftDeleteStateOff`, `SoftDeleteStateOn`
19+
- New function `NewDeletedBackupInstancesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DeletedBackupInstancesClient, error)`
20+
- New function `*DeletedBackupInstancesClient.Get(context.Context, string, string, string, *DeletedBackupInstancesClientGetOptions) (DeletedBackupInstancesClientGetResponse, error)`
21+
- New function `*DeletedBackupInstancesClient.NewListPager(string, string, *DeletedBackupInstancesClientListOptions) *runtime.Pager[DeletedBackupInstancesClientListResponse]`
22+
- New function `*DeletedBackupInstancesClient.BeginUndelete(context.Context, string, string, string, *DeletedBackupInstancesClientBeginUndeleteOptions) (*runtime.Poller[DeletedBackupInstancesClientUndeleteResponse], error)`
23+
- New struct `CrossSubscriptionRestoreSettings`
24+
- New struct `DeletedBackupInstance`
25+
- New struct `DeletedBackupInstanceResource`
26+
- New struct `DeletedBackupInstanceResourceList`
27+
- New struct `DeletedBackupInstancesClient`
28+
- New struct `DeletedBackupInstancesClientListResponse`
29+
- New struct `DeletedBackupInstancesClientUndeleteResponse`
30+
- New struct `DeletionInfo`
31+
- New struct `DppBaseTrackedResource`
32+
- New struct `DppProxyResource`
33+
- New struct `FeatureSettings`
34+
- New struct `ImmutabilitySettings`
35+
- New struct `PatchResourceGuardInput`
36+
- New struct `SecuritySettings`
37+
- New struct `SoftDeleteSettings`
38+
- New field `ExpiryTime` in struct `AzureBackupDiscreteRecoveryPoint`
39+
- New field `Tags` in struct `BackupInstanceResource`
40+
- New field `FeatureSettings` in struct `BackupVault`
41+
- New field `IsVaultProtectedByResourceGuard` in struct `BackupVault`
42+
- New field `SecuritySettings` in struct `BackupVault`
43+
- New field `FeatureSettings` in struct `PatchBackupVaultInput`
44+
- New field `SecuritySettings` in struct `PatchBackupVaultInput`
45+
- New field `TargetResourceArmID` in struct `TargetDetails`
46+
47+
348
## 1.0.0 (2022-05-18)
449

550
The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.

sdk/resourcemanager/dataprotection/armdataprotection/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/dataprotection/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/dataprotection/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/dataprotection/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/dataprotection/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.0.0
11+
module-version: 2.0.0
1212
```
Lines changed: 76 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)