Skip to content

Commit f6d2547

Browse files
author
SDKAuto
committed
CodeGen from PR 22350 in Azure/azure-rest-api-specs
Merge 13c5f0c89fa27c5ebcf23deba83dfb9265ded141 into 18e83e24c36eed85a240103b476de0220ace7f84
1 parent cfc268e commit f6d2547

File tree

48 files changed

+997
-3884
lines changed

Some content is hidden

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

48 files changed

+997
-3884
lines changed

sdk/resourcemanager/dataprotection/armdataprotection/CHANGELOG.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,61 @@
11
# Release History
22

3-
## 2.0.0-beta.1 (2023-01-13)
3+
## 2.0.0 (2023-01-30)
44
### Breaking Changes
55

6-
- Type of `ResourceGuard.ProvisioningState` has been changed from `*ProvisioningState` to `*ResourceGuardProvisioningState`
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+
- Operation `*BackupVaultsClient.Delete` has been changed to LRO, use `*BackupVaultsClient.BeginDelete` instead.
9+
- Struct `CloudError` has been removed
10+
- Field `Identity` of struct `ResourceGuardResource` has been removed
711

812
### Features Added
913

14+
- New value `SourceDataStoreTypeOperationalStore` added to type alias `SourceDataStoreType`
15+
- New value `StorageSettingStoreTypesOperationalStore` added to type alias `StorageSettingStoreTypes`
1016
- New value `StorageSettingTypesZoneRedundant` added to type alias `StorageSettingTypes`
17+
- New type alias `CrossSubscriptionRestoreState` with values `CrossSubscriptionRestoreStateDisabled`, `CrossSubscriptionRestoreStateEnabled`, `CrossSubscriptionRestoreStatePermanentlyDisabled`
1118
- New type alias `ExistingResourcePolicy` with values `ExistingResourcePolicyPatch`, `ExistingResourcePolicySkip`
1219
- New type alias `ImmutabilityState` with values `ImmutabilityStateDisabled`, `ImmutabilityStateLocked`, `ImmutabilityStateUnlocked`
1320
- New type alias `PersistentVolumeRestoreMode` with values `PersistentVolumeRestoreModeRestoreWithVolumeData`, `PersistentVolumeRestoreModeRestoreWithoutVolumeData`
14-
- New type alias `ResourceGuardProvisioningState` with values `ResourceGuardProvisioningStateFailed`, `ResourceGuardProvisioningStateProvisioning`, `ResourceGuardProvisioningStateSucceeded`, `ResourceGuardProvisioningStateUnknown`, `ResourceGuardProvisioningStateUpdating`
1521
- New type alias `SoftDeleteState` with values `SoftDeleteStateAlwaysOn`, `SoftDeleteStateOff`, `SoftDeleteStateOn`
1622
- New function `*BackupDatasourceParameters.GetBackupDatasourceParameters() *BackupDatasourceParameters`
17-
- New function `NewBackupInstancesExtensionRoutingClient(azcore.TokenCredential, *arm.ClientOptions) (*BackupInstancesExtensionRoutingClient, error)`
18-
- New function `*BackupInstancesExtensionRoutingClient.NewListPager(string, *BackupInstancesExtensionRoutingClientListOptions) *runtime.Pager[BackupInstancesExtensionRoutingClientListResponse]`
1923
- New function `*BlobBackupDatasourceParameters.GetBackupDatasourceParameters() *BackupDatasourceParameters`
2024
- New function `NewDeletedBackupInstancesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DeletedBackupInstancesClient, error)`
2125
- New function `*DeletedBackupInstancesClient.Get(context.Context, string, string, string, *DeletedBackupInstancesClientGetOptions) (DeletedBackupInstancesClientGetResponse, error)`
2226
- New function `*DeletedBackupInstancesClient.NewListPager(string, string, *DeletedBackupInstancesClientListOptions) *runtime.Pager[DeletedBackupInstancesClientListResponse]`
2327
- New function `*DeletedBackupInstancesClient.BeginUndelete(context.Context, string, string, string, *DeletedBackupInstancesClientBeginUndeleteOptions) (*runtime.Poller[DeletedBackupInstancesClientUndeleteResponse], error)`
24-
- New function `NewDppResourceGuardProxyClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DppResourceGuardProxyClient, error)`
25-
- New function `*DppResourceGuardProxyClient.Delete(context.Context, string, string, string, *DppResourceGuardProxyClientDeleteOptions) (DppResourceGuardProxyClientDeleteResponse, error)`
26-
- New function `*DppResourceGuardProxyClient.Get(context.Context, string, string, string, *DppResourceGuardProxyClientGetOptions) (DppResourceGuardProxyClientGetResponse, error)`
27-
- New function `*DppResourceGuardProxyClient.NewListPager(string, string, *DppResourceGuardProxyClientListOptions) *runtime.Pager[DppResourceGuardProxyClientListResponse]`
28-
- New function `*DppResourceGuardProxyClient.Put(context.Context, string, string, string, ResourceGuardProxyBaseResource, *DppResourceGuardProxyClientPutOptions) (DppResourceGuardProxyClientPutResponse, error)`
29-
- New function `*DppResourceGuardProxyClient.UnlockDelete(context.Context, string, string, string, UnlockDeleteRequest, *DppResourceGuardProxyClientUnlockDeleteOptions) (DppResourceGuardProxyClientUnlockDeleteResponse, error)`
3028
- New function `*ItemPathBasedRestoreCriteria.GetItemLevelRestoreCriteria() *ItemLevelRestoreCriteria`
3129
- New function `*KubernetesClusterBackupDatasourceParameters.GetBackupDatasourceParameters() *BackupDatasourceParameters`
3230
- New function `*KubernetesClusterRestoreCriteria.GetItemLevelRestoreCriteria() *ItemLevelRestoreCriteria`
33-
- New struct `BackupInstancesExtensionRoutingClient`
34-
- New struct `BackupInstancesExtensionRoutingClientListResponse`
3531
- New struct `BlobBackupDatasourceParameters`
32+
- New struct `CrossSubscriptionRestoreSettings`
3633
- New struct `DeletedBackupInstance`
3734
- New struct `DeletedBackupInstanceResource`
3835
- New struct `DeletedBackupInstanceResourceList`
3936
- New struct `DeletedBackupInstancesClient`
4037
- New struct `DeletedBackupInstancesClientListResponse`
4138
- New struct `DeletedBackupInstancesClientUndeleteResponse`
4239
- New struct `DeletionInfo`
40+
- New struct `DppBaseTrackedResource`
4341
- New struct `DppProxyResource`
44-
- New struct `DppResourceGuardProxyClient`
45-
- New struct `DppResourceGuardProxyClientListResponse`
42+
- New struct `FeatureSettings`
4643
- New struct `ImmutabilitySettings`
4744
- New struct `ItemPathBasedRestoreCriteria`
4845
- New struct `KubernetesClusterBackupDatasourceParameters`
4946
- New struct `KubernetesClusterRestoreCriteria`
50-
- New struct `ResourceGuardOperationDetail`
51-
- New struct `ResourceGuardProxyBase`
52-
- New struct `ResourceGuardProxyBaseResource`
53-
- New struct `ResourceGuardProxyBaseResourceList`
47+
- New struct `PatchResourceGuardInput`
5448
- New struct `SecuritySettings`
5549
- New struct `SoftDeleteSettings`
56-
- New struct `UnlockDeleteRequest`
57-
- New struct `UnlockDeleteResponse`
50+
- New field `ExpiryTime` in struct `AzureBackupDiscreteRecoveryPoint`
5851
- New field `Tags` in struct `BackupInstanceResource`
52+
- New field `FeatureSettings` in struct `BackupVault`
5953
- New field `IsVaultProtectedByResourceGuard` in struct `BackupVault`
6054
- New field `SecuritySettings` in struct `BackupVault`
55+
- New field `FeatureSettings` in struct `PatchBackupVaultInput`
6156
- New field `SecuritySettings` in struct `PatchBackupVaultInput`
6257
- New field `BackupDatasourceParametersList` in struct `PolicyParameters`
58+
- New field `TargetResourceArmID` in struct `TargetDetails`
6359

6460

6561
## 1.0.0 (2022-05-18)

sdk/resourcemanager/dataprotection/armdataprotection/autorest.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/3f36931e7edfce60595fd5558a722e0230a44eb1/specification/dataprotection/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/3f36931e7edfce60595fd5558a722e0230a44eb1/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: 2.0.0-beta.1
12-
tag: package-preview-2022-11
11+
module-version: 2.0.0
1312
```

0 commit comments

Comments
 (0)