Skip to content

Commit b382dc2

Browse files
author
SDKAuto
committed
CodeGen from PR 21661 in Azure/azure-rest-api-specs
Merge ebaab4d34a63213e03e7e1586fba24ef697f3200 into a80de12c16d6d9c3545bdc3e2b6c1d4ca6739876
1 parent 0799479 commit b382dc2

File tree

44 files changed

+5699
-4016
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

+5699
-4016
lines changed

sdk/resourcemanager/dataprotection/armdataprotection/CHANGELOG.md

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

3+
## 2.0.0 (2022-11-30)
4+
### Breaking Changes
5+
6+
- Const `StorageSettingStoreTypesSnapshotStore` has been removed
7+
- Struct `CloudError` has been removed
8+
9+
### Features Added
10+
11+
- New const `CrossSubscriptionRestoreStateDisabled`
12+
- New const `CrossSubscriptionRestoreStateEnabled`
13+
- New const `CrossSubscriptionRestoreStatePermanentlyDisabled`
14+
- New const `ImmutabilityStateDisabled`
15+
- New const `ImmutabilityStateLocked`
16+
- New const `ImmutabilityStateUnlocked`
17+
- New const `SoftDeleteStateAlwaysOn`
18+
- New const `SoftDeleteStateOff`
19+
- New const `SoftDeleteStateOn`
20+
- New const `StorageSettingStoreTypesOperationalStore`
21+
- New const `StorageSettingTypesZoneRedundant`
22+
- New type alias `CrossSubscriptionRestoreState`
23+
- New type alias `ImmutabilityState`
24+
- New type alias `SoftDeleteState`
25+
- New function `NewDeletedBackupInstancesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DeletedBackupInstancesClient, error)`
26+
- New function `*DeletedBackupInstancesClient.Get(context.Context, string, string, string, *DeletedBackupInstancesClientGetOptions) (DeletedBackupInstancesClientGetResponse, error)`
27+
- New function `*DeletedBackupInstancesClient.NewListPager(string, string, *DeletedBackupInstancesClientListOptions) *runtime.Pager[DeletedBackupInstancesClientListResponse]`
28+
- New function `*DeletedBackupInstancesClient.BeginUndelete(context.Context, string, string, string, *DeletedBackupInstancesClientBeginUndeleteOptions) (*runtime.Poller[DeletedBackupInstancesClientUndeleteResponse], error)`
29+
- New function `PossibleCrossSubscriptionRestoreStateValues() []CrossSubscriptionRestoreState`
30+
- New function `PossibleImmutabilityStateValues() []ImmutabilityState`
31+
- New function `PossibleSoftDeleteStateValues() []SoftDeleteState`
32+
- New struct `CrossSubscriptionRestoreSettings`
33+
- New struct `DeletedBackupInstance`
34+
- New struct `DeletedBackupInstanceResource`
35+
- New struct `DeletedBackupInstanceResourceList`
36+
- New struct `DeletedBackupInstancesClient`
37+
- New struct `DeletedBackupInstancesClientBeginUndeleteOptions`
38+
- New struct `DeletedBackupInstancesClientGetOptions`
39+
- New struct `DeletedBackupInstancesClientGetResponse`
40+
- New struct `DeletedBackupInstancesClientListOptions`
41+
- New struct `DeletedBackupInstancesClientListResponse`
42+
- New struct `DeletedBackupInstancesClientUndeleteResponse`
43+
- New struct `DeletionInfo`
44+
- New struct `DppProxyResource`
45+
- New struct `FeatureSettings`
46+
- New struct `ImmutabilitySettings`
47+
- New struct `SecuritySettings`
48+
- New struct `SoftDeleteSettings`
49+
- New field `ExpiryTime` in struct `AzureBackupDiscreteRecoveryPoint`
50+
- New field `Tags` in struct `BackupInstanceResource`
51+
- New field `FeatureSettings` in struct `BackupVault`
52+
- New field `IsVaultProtectedByResourceGuard` in struct `BackupVault`
53+
- New field `SecuritySettings` in struct `BackupVault`
54+
- New field `FeatureSettings` in struct `PatchBackupVaultInput`
55+
- New field `SecuritySettings` in struct `PatchBackupVaultInput`
56+
- New field `TargetResourceArmID` in struct `TargetDetails`
57+
58+
359
## 1.0.0 (2022-05-18)
460

561
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
```

sdk/resourcemanager/dataprotection/armdataprotection/zz_generated_backupinstances_client.go renamed to sdk/resourcemanager/dataprotection/armdataprotection/backupinstances_client.go

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

sdk/resourcemanager/dataprotection/armdataprotection/zz_generated_backuppolicies_client.go renamed to sdk/resourcemanager/dataprotection/armdataprotection/backuppolicies_client.go

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

sdk/resourcemanager/dataprotection/armdataprotection/zz_generated_backupvaultoperationresults_client.go renamed to sdk/resourcemanager/dataprotection/armdataprotection/backupvaultoperationresults_client.go

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

sdk/resourcemanager/dataprotection/armdataprotection/zz_generated_backupvaults_client.go renamed to sdk/resourcemanager/dataprotection/armdataprotection/backupvaults_client.go

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

sdk/resourcemanager/dataprotection/armdataprotection/zz_generated_client.go renamed to sdk/resourcemanager/dataprotection/armdataprotection/client.go

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

0 commit comments

Comments
 (0)