Skip to content

Commit aa9ba61

Browse files
author
SDKAuto
committed
CodeGen from PR 22071 in Azure/azure-rest-api-specs
Merge a9c3971e195742d29cdf44df0d0f4ebc7309cbf9 into 0e20dd2e4e2a40e83840c30cce2efc4847fd9cb9
1 parent 2a983c9 commit aa9ba61

File tree

48 files changed

+997
-3883
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
-3883
lines changed

sdk/resourcemanager/dataprotection/armdataprotection/CHANGELOG.md

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

3-
## 2.0.0-beta.1 (2023-01-13)
3+
## 2.0.0 (2023-01-18)
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+
- Type of `ErrorAdditionalInfo.Info` has been changed from `interface{}` to `any`
8+
- Const `StorageSettingStoreTypesSnapshotStore` from type alias `StorageSettingStoreTypes` has been removed
9+
- Operation `*BackupVaultsClient.Delete` has been changed to LRO, use `*BackupVaultsClient.BeginDelete` instead.
10+
- Struct `CloudError` has been removed
11+
- Field `Identity` of struct `ResourceGuardResource` has been removed
712

813
### Features Added
914

15+
- New value `SourceDataStoreTypeOperationalStore` added to type alias `SourceDataStoreType`
16+
- New value `StorageSettingStoreTypesOperationalStore` added to type alias `StorageSettingStoreTypes`
1017
- New value `StorageSettingTypesZoneRedundant` added to type alias `StorageSettingTypes`
18+
- New type alias `CrossSubscriptionRestoreState` with values `CrossSubscriptionRestoreStateDisabled`, `CrossSubscriptionRestoreStateEnabled`, `CrossSubscriptionRestoreStatePermanentlyDisabled`
1119
- New type alias `ExistingResourcePolicy` with values `ExistingResourcePolicyPatch`, `ExistingResourcePolicySkip`
1220
- New type alias `ImmutabilityState` with values `ImmutabilityStateDisabled`, `ImmutabilityStateLocked`, `ImmutabilityStateUnlocked`
1321
- New type alias `PersistentVolumeRestoreMode` with values `PersistentVolumeRestoreModeRestoreWithVolumeData`, `PersistentVolumeRestoreModeRestoreWithoutVolumeData`
14-
- New type alias `ResourceGuardProvisioningState` with values `ResourceGuardProvisioningStateFailed`, `ResourceGuardProvisioningStateProvisioning`, `ResourceGuardProvisioningStateSucceeded`, `ResourceGuardProvisioningStateUnknown`, `ResourceGuardProvisioningStateUpdating`
1522
- New type alias `SoftDeleteState` with values `SoftDeleteStateAlwaysOn`, `SoftDeleteStateOff`, `SoftDeleteStateOn`
1623
- 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]`
1924
- New function `*BlobBackupDatasourceParameters.GetBackupDatasourceParameters() *BackupDatasourceParameters`
2025
- New function `NewDeletedBackupInstancesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*DeletedBackupInstancesClient, error)`
2126
- New function `*DeletedBackupInstancesClient.Get(context.Context, string, string, string, *DeletedBackupInstancesClientGetOptions) (DeletedBackupInstancesClientGetResponse, error)`
2227
- New function `*DeletedBackupInstancesClient.NewListPager(string, string, *DeletedBackupInstancesClientListOptions) *runtime.Pager[DeletedBackupInstancesClientListResponse]`
2328
- 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)`
3029
- New function `*ItemPathBasedRestoreCriteria.GetItemLevelRestoreCriteria() *ItemLevelRestoreCriteria`
3130
- New function `*KubernetesClusterBackupDatasourceParameters.GetBackupDatasourceParameters() *BackupDatasourceParameters`
3231
- New function `*KubernetesClusterRestoreCriteria.GetItemLevelRestoreCriteria() *ItemLevelRestoreCriteria`
33-
- New struct `BackupInstancesExtensionRoutingClient`
34-
- New struct `BackupInstancesExtensionRoutingClientListResponse`
3532
- New struct `BlobBackupDatasourceParameters`
33+
- New struct `CrossSubscriptionRestoreSettings`
3634
- New struct `DeletedBackupInstance`
3735
- New struct `DeletedBackupInstanceResource`
3836
- New struct `DeletedBackupInstanceResourceList`
3937
- New struct `DeletedBackupInstancesClient`
4038
- New struct `DeletedBackupInstancesClientListResponse`
4139
- New struct `DeletedBackupInstancesClientUndeleteResponse`
4240
- New struct `DeletionInfo`
41+
- New struct `DppBaseTrackedResource`
4342
- New struct `DppProxyResource`
44-
- New struct `DppResourceGuardProxyClient`
45-
- New struct `DppResourceGuardProxyClientListResponse`
43+
- New struct `FeatureSettings`
4644
- New struct `ImmutabilitySettings`
4745
- New struct `ItemPathBasedRestoreCriteria`
4846
- New struct `KubernetesClusterBackupDatasourceParameters`
4947
- New struct `KubernetesClusterRestoreCriteria`
50-
- New struct `ResourceGuardOperationDetail`
51-
- New struct `ResourceGuardProxyBase`
52-
- New struct `ResourceGuardProxyBaseResource`
53-
- New struct `ResourceGuardProxyBaseResourceList`
48+
- New struct `PatchResourceGuardInput`
5449
- New struct `SecuritySettings`
5550
- New struct `SoftDeleteSettings`
56-
- New struct `UnlockDeleteRequest`
57-
- New struct `UnlockDeleteResponse`
51+
- New field `ExpiryTime` in struct `AzureBackupDiscreteRecoveryPoint`
5852
- New field `Tags` in struct `BackupInstanceResource`
53+
- New field `FeatureSettings` in struct `BackupVault`
5954
- New field `IsVaultProtectedByResourceGuard` in struct `BackupVault`
6055
- New field `SecuritySettings` in struct `BackupVault`
56+
- New field `FeatureSettings` in struct `PatchBackupVaultInput`
6157
- New field `SecuritySettings` in struct `PatchBackupVaultInput`
6258
- New field `BackupDatasourceParametersList` in struct `PolicyParameters`
59+
- New field `TargetResourceArmID` in struct `TargetDetails`
6360

6461

6562
## 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)