Skip to content

Commit be5f0df

Browse files
azure-sdkmsyycChenxiJiang333
authored
[AutoPR azure-mgmt-dataprotection]-generated-from-SDK Generation - Python-6095330 (#46064)
* Configurations: 'specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/tspconfig.yaml', API Version: 2026_03_01, SDK Release Type: beta, and CommitSHA: '32ab0a3f798fed9517cb4026e47144251ea9331e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6095330 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update pyproject.toml * Configurations: 'specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/tspconfig.yaml', API Version: 2026_03_01, SDK Release Type: beta, and CommitSHA: '5b8c01eed693ebeb0e8677310b649901fac47314' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6115159 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update --------- Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
1 parent c067a29 commit be5f0df

122 files changed

Lines changed: 3105 additions & 573 deletions

File tree

Some content is hidden

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

sdk/dataprotection/azure-mgmt-dataprotection/CHANGELOG.md

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

3+
## 2.1.0b1 (2026-04-07)
4+
5+
### Features Added
6+
7+
- Client `DataProtectionMgmtClient` added operation group `deleted_backup_vaults`
8+
- Added model `AdlsBlobBackupDatasourceParametersForAutoProtection`
9+
- Added model `BlobBackupAutoProtectionRule`
10+
- Added model `BlobBackupAutoProtectionSettings`
11+
- Added model `BlobBackupDatasourceParametersForAutoProtection`
12+
- Added enum `BlobBackupPatternType`
13+
- Added model `BlobBackupRuleBasedAutoProtectionSettings`
14+
- Added enum `BlobBackupRuleMode`
15+
- Added model `DeletedBackupVault`
16+
- Added model `DeletedBackupVaultResource`
17+
- Added model `ResourceDeletionInfo`
18+
- Operation group `BackupVaultsOperations` added parameter `x_ms_deleted_vault_id` in method `begin_create_or_update`
19+
- Added operation group `DeletedBackupVaultsOperations`
20+
321
## 2.0.1 (2025-10-09)
422

523
### Bugs Fixed

sdk/dataprotection/azure-mgmt-dataprotection/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ With above configuration, client can be authenticated by following code:
3636

3737
```python
3838
from azure.identity import DefaultAzureCredential
39-
from azure.mgmt.dataprotection import DataProtectionClient
39+
from azure.mgmt.dataprotection import DataProtectionMgmtClient
4040
import os
4141

4242
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
43-
client = DataProtectionClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
43+
client = DataProtectionMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
4444
```
4545

4646
## Examples
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
2-
"apiVersion": "2025-07-01",
3-
"commit": "6ba5680f1a58735e8f4d64ddbf8965e750cff9ee",
2+
"apiVersion": "2026-03-01",
3+
"apiVersions": {
4+
"Microsoft.DataProtection": "2026-03-01"
5+
},
6+
"commit": "5b8c01eed693ebeb0e8677310b649901fac47314",
47
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
58
"typespec_src": "specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection",
6-
"emitterVersion": "0.50.0"
9+
"emitterVersion": "0.61.2"
710
}

sdk/dataprotection/azure-mgmt-dataprotection/apiview-properties.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"azure.mgmt.dataprotection.models.BackupDatasourceParameters": "Microsoft.DataProtection.BackupDatasourceParameters",
1212
"azure.mgmt.dataprotection.models.BlobBackupDatasourceParameters": "Microsoft.DataProtection.BlobBackupDatasourceParameters",
1313
"azure.mgmt.dataprotection.models.AdlsBlobBackupDatasourceParameters": "Microsoft.DataProtection.AdlsBlobBackupDatasourceParameters",
14+
"azure.mgmt.dataprotection.models.AdlsBlobBackupDatasourceParametersForAutoProtection": "Microsoft.DataProtection.AdlsBlobBackupDatasourceParametersForAutoProtection",
1415
"azure.mgmt.dataprotection.models.AuthCredentials": "Microsoft.DataProtection.AuthCredentials",
1516
"azure.mgmt.dataprotection.models.AzureBackupRecoveryPoint": "Microsoft.DataProtection.AzureBackupRecoveryPoint",
1617
"azure.mgmt.dataprotection.models.AzureBackupDiscreteRecoveryPoint": "Microsoft.DataProtection.AzureBackupDiscreteRecoveryPoint",
@@ -47,6 +48,10 @@
4748
"azure.mgmt.dataprotection.models.BackupVaultResource": "Microsoft.DataProtection.BackupVaultResource",
4849
"azure.mgmt.dataprotection.models.BaseBackupPolicyResource": "Microsoft.DataProtection.BaseBackupPolicyResource",
4950
"azure.mgmt.dataprotection.models.BaseResourceProperties": "Microsoft.DataProtection.BaseResourceProperties",
51+
"azure.mgmt.dataprotection.models.BlobBackupAutoProtectionRule": "Microsoft.DataProtection.BlobBackupAutoProtectionRule",
52+
"azure.mgmt.dataprotection.models.BlobBackupAutoProtectionSettings": "Microsoft.DataProtection.BlobBackupAutoProtectionSettings",
53+
"azure.mgmt.dataprotection.models.BlobBackupDatasourceParametersForAutoProtection": "Microsoft.DataProtection.BlobBackupDatasourceParametersForAutoProtection",
54+
"azure.mgmt.dataprotection.models.BlobBackupRuleBasedAutoProtectionSettings": "Microsoft.DataProtection.BlobBackupRuleBasedAutoProtectionSettings",
5055
"azure.mgmt.dataprotection.models.CheckNameAvailabilityRequest": "Microsoft.DataProtection.CheckNameAvailabilityRequest",
5156
"azure.mgmt.dataprotection.models.CheckNameAvailabilityResult": "Microsoft.DataProtection.CheckNameAvailabilityResult",
5257
"azure.mgmt.dataprotection.models.CloudError": "Microsoft.DataProtection.CloudError",
@@ -68,6 +73,8 @@
6873
"azure.mgmt.dataprotection.models.DefaultResourceProperties": "Microsoft.DataProtection.DefaultResourceProperties",
6974
"azure.mgmt.dataprotection.models.DeletedBackupInstance": "Microsoft.DataProtection.DeletedBackupInstance",
7075
"azure.mgmt.dataprotection.models.DeletedBackupInstanceResource": "Microsoft.DataProtection.DeletedBackupInstanceResource",
76+
"azure.mgmt.dataprotection.models.DeletedBackupVault": "Microsoft.DataProtection.DeletedBackupVault",
77+
"azure.mgmt.dataprotection.models.DeletedBackupVaultResource": "Microsoft.DataProtection.DeletedBackupVaultResource",
7178
"azure.mgmt.dataprotection.models.DeletionInfo": "Microsoft.DataProtection.DeletionInfo",
7279
"azure.mgmt.dataprotection.models.DppBaseResource": "Microsoft.DataProtection.DppBaseResource",
7380
"azure.mgmt.dataprotection.models.DppIdentityDetails": "Microsoft.DataProtection.DppIdentityDetails",
@@ -115,6 +122,7 @@
115122
"azure.mgmt.dataprotection.models.ProtectionStatusDetails": "Microsoft.DataProtection.ProtectionStatusDetails",
116123
"azure.mgmt.dataprotection.models.RangeBasedItemLevelRestoreCriteria": "Microsoft.DataProtection.RangeBasedItemLevelRestoreCriteria",
117124
"azure.mgmt.dataprotection.models.RecoveryPointDataStoreDetails": "Microsoft.DataProtection.RecoveryPointDataStoreDetails",
125+
"azure.mgmt.dataprotection.models.ResourceDeletionInfo": "Microsoft.DataProtection.ResourceDeletionInfo",
118126
"azure.mgmt.dataprotection.models.ResourceGuard": "Microsoft.DataProtection.ResourceGuard",
119127
"azure.mgmt.dataprotection.models.ResourceGuardOperation": "Microsoft.DataProtection.ResourceGuardOperation",
120128
"azure.mgmt.dataprotection.models.ResourceGuardOperationDetail": "Microsoft.DataProtection.ResourceGuardOperationDetail",
@@ -158,6 +166,8 @@
158166
"azure.mgmt.dataprotection.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
159167
"azure.mgmt.dataprotection.models.ResourcePropertiesObjectType": "Microsoft.DataProtection.ResourcePropertiesObjectType",
160168
"azure.mgmt.dataprotection.models.DataStoreTypes": "Microsoft.DataProtection.DataStoreTypes",
169+
"azure.mgmt.dataprotection.models.BlobBackupRuleMode": "Microsoft.DataProtection.BlobBackupRuleMode",
170+
"azure.mgmt.dataprotection.models.BlobBackupPatternType": "Microsoft.DataProtection.BlobBackupPatternType",
161171
"azure.mgmt.dataprotection.models.AKSVolumeTypes": "Microsoft.DataProtection.AKSVolumeTypes",
162172
"azure.mgmt.dataprotection.models.Status": "Microsoft.DataProtection.Status",
163173
"azure.mgmt.dataprotection.models.CurrentProtectionState": "Microsoft.DataProtection.CurrentProtectionState",
@@ -233,6 +243,10 @@
233243
"azure.mgmt.dataprotection.aio.operations.BackupInstancesOperations.begin_validate_cross_region_restore": "Microsoft.DataProtection.BackupInstancesOperationGroup.validateCrossRegionRestore",
234244
"azure.mgmt.dataprotection.operations.BackupVaultOperationResultsOperations.get": "Microsoft.DataProtection.BackupVaultOperationResults.get",
235245
"azure.mgmt.dataprotection.aio.operations.BackupVaultOperationResultsOperations.get": "Microsoft.DataProtection.BackupVaultOperationResults.get",
246+
"azure.mgmt.dataprotection.operations.DeletedBackupVaultsOperations.get": "Microsoft.DataProtection.DeletedBackupVaults.get",
247+
"azure.mgmt.dataprotection.aio.operations.DeletedBackupVaultsOperations.get": "Microsoft.DataProtection.DeletedBackupVaults.get",
248+
"azure.mgmt.dataprotection.operations.DeletedBackupVaultsOperations.list_by_location": "Microsoft.DataProtection.DeletedBackupVaults.listByLocation",
249+
"azure.mgmt.dataprotection.aio.operations.DeletedBackupVaultsOperations.list_by_location": "Microsoft.DataProtection.DeletedBackupVaults.listByLocation",
236250
"azure.mgmt.dataprotection.operations.ResourceGuardsOperations.get_default_delete_resource_guard_proxy_requests_object": "Microsoft.DataProtection.ResourceGuards.getDefaultDeleteResourceGuardProxyRequestsObject",
237251
"azure.mgmt.dataprotection.aio.operations.ResourceGuardsOperations.get_default_delete_resource_guard_proxy_requests_object": "Microsoft.DataProtection.ResourceGuards.getDefaultDeleteResourceGuardProxyRequestsObject",
238252
"azure.mgmt.dataprotection.operations.ResourceGuardsOperations.get_delete_resource_guard_proxy_requests_objects": "Microsoft.DataProtection.ResourceGuards.getDeleteResourceGuardProxyRequestsObjects",

sdk/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection/_client.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
DataProtectionOperations,
2929
DataProtectionOperationsOperations,
3030
DeletedBackupInstancesOperations,
31+
DeletedBackupVaultsOperations,
3132
DppResourceGuardProxyOperations,
3233
ExportJobsOperationResultOperations,
3334
ExportJobsOperations,
@@ -60,6 +61,9 @@ class DataProtectionMgmtClient: # pylint: disable=too-many-instance-attributes
6061
:ivar backup_vault_operation_results: BackupVaultOperationResultsOperations operations
6162
:vartype backup_vault_operation_results:
6263
azure.mgmt.dataprotection.operations.BackupVaultOperationResultsOperations
64+
:ivar deleted_backup_vaults: DeletedBackupVaultsOperations operations
65+
:vartype deleted_backup_vaults:
66+
azure.mgmt.dataprotection.operations.DeletedBackupVaultsOperations
6367
:ivar resource_guards: ResourceGuardsOperations operations
6468
:vartype resource_guards: azure.mgmt.dataprotection.operations.ResourceGuardsOperations
6569
:ivar backup_vaults: BackupVaultsOperations operations
@@ -119,8 +123,9 @@ class DataProtectionMgmtClient: # pylint: disable=too-many-instance-attributes
119123
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
120124
None.
121125
:paramtype cloud_setting: ~azure.core.AzureClouds
122-
:keyword api_version: The API version to use for this operation. Default value is "2025-07-01".
123-
Note that overriding this default value may result in unsupported behavior.
126+
:keyword api_version: The API version to use for this operation. Known values are "2026-03-01".
127+
Default value is "2026-03-01". Note that overriding this default value may result in
128+
unsupported behavior.
124129
:paramtype api_version: str
125130
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
126131
Retry-After header is present.
@@ -182,6 +187,9 @@ def __init__(
182187
self.backup_vault_operation_results = BackupVaultOperationResultsOperations(
183188
self._client, self._config, self._serialize, self._deserialize
184189
)
190+
self.deleted_backup_vaults = DeletedBackupVaultsOperations(
191+
self._client, self._config, self._serialize, self._deserialize
192+
)
185193
self.resource_guards = ResourceGuardsOperations(self._client, self._config, self._serialize, self._deserialize)
186194
self.backup_vaults = BackupVaultsOperations(self._client, self._config, self._serialize, self._deserialize)
187195
self.operation_status_backup_vault_context = OperationStatusBackupVaultContextOperations(

sdk/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection/_configuration.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ class DataProtectionMgmtClientConfiguration: # pylint: disable=too-many-instanc
3333
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
3434
None.
3535
:type cloud_setting: ~azure.core.AzureClouds
36-
:keyword api_version: The API version to use for this operation. Default value is "2025-07-01".
37-
Note that overriding this default value may result in unsupported behavior.
36+
:keyword api_version: The API version to use for this operation. Known values are "2026-03-01".
37+
Default value is "2026-03-01". Note that overriding this default value may result in
38+
unsupported behavior.
3839
:paramtype api_version: str
3940
"""
4041

@@ -46,7 +47,7 @@ def __init__(
4647
cloud_setting: Optional["AzureClouds"] = None,
4748
**kwargs: Any
4849
) -> None:
49-
api_version: str = kwargs.pop("api_version", "2025-07-01")
50+
api_version: str = kwargs.pop("api_version", "2026-03-01")
5051

5152
if credential is None:
5253
raise ValueError("Parameter 'credential' must not be None.")

0 commit comments

Comments
 (0)