Skip to content

Commit 09e64c5

Browse files
[AutoRelease] t2-dataprotection-2025-09-22-46363(can only be merged by SDK owner) (#43083)
* code and test * update testcases * update testcases * Update CHANGELOG with breaking changes and migration info This version introduces new hybrid models with dual dictionary and model nature. Refer to the migration guide for details. --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent eec115c commit 09e64c5

File tree

216 files changed

+35801
-30148
lines changed

Some content is hidden

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

216 files changed

+35801
-30148
lines changed

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

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

3+
## 2.0.0 (2025-09-22)
4+
5+
### Features Added
6+
7+
- Model `DataProtectionMgmtClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `DataProtectionMgmtClient` added method `send_request`
9+
- Model `DppBaseResource` added property `system_data`
10+
- Model `ItemPathBasedRestoreCriteria` added property `rename_to`
11+
- Model `KubernetesClusterBackupDatasourceParameters` added property `included_volume_types`
12+
- Added enum `AKSVolumeTypes`
13+
- Added enum `ActionType`
14+
- Added model `AdlsBlobBackupDatasourceParameters`
15+
- Added model `CloudError`
16+
- Added model `Operation`
17+
- Added model `OperationDisplay`
18+
- Added enum `Origin`
19+
- Added model `ProxyResource`
20+
- Added model `Resource`
21+
- Added model `TrackedResource`
22+
- Added model `ValidateForModifyBackupRequest`
23+
- Model `BackupInstancesOperations` added method `begin_validate_for_modify_backup`
24+
25+
### Breaking Changes
26+
27+
- This version introduces new hybrid models which have dual dictionary and model nature. And please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
28+
- Deleted or renamed model `AzureBackupFindRestorableTimeRangesRequestResource`
29+
- Deleted or renamed model `AzureBackupJobResourceList`
30+
- Deleted or renamed model `AzureBackupRecoveryPointResourceList`
31+
- Deleted or renamed model `BackupInstanceResourceList`
32+
- Deleted or renamed model `BackupVaultResourceList`
33+
- Deleted or renamed model `BaseBackupPolicyResourceList`
34+
- Deleted or renamed model `ClientDiscoveryDisplay`
35+
- Deleted or renamed model `ClientDiscoveryForLogSpecification`
36+
- Deleted or renamed model `ClientDiscoveryForProperties`
37+
- Deleted or renamed model `ClientDiscoveryForServiceSpecification`
38+
- Deleted or renamed model `ClientDiscoveryResponse`
39+
- Deleted or renamed model `ClientDiscoveryValueForSingleApi`
40+
- Deleted or renamed model `DeletedBackupInstanceResourceList`
41+
- Deleted or renamed model `DppBaseResourceList`
42+
- Deleted or renamed model `DppBaseTrackedResource`
43+
- Deleted or renamed model `DppProxyResource`
44+
- Deleted or renamed model `DppTrackedResource`
45+
- Deleted or renamed model `DppWorkerRequest`
46+
- Deleted or renamed model `RecoveryPointsFilters`
47+
- Deleted or renamed model `ResourceGuardProxyBaseResourceList`
48+
- Deleted or renamed model `ResourceGuardResourceList`
49+
- Method `BackupInstancesOperations.begin_create_or_update` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
50+
- Method `BackupInstancesOperations.begin_delete` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
51+
- Method `BackupInstancesOperations.begin_stop_protection` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
52+
- Method `BackupInstancesOperations.begin_suspend_backups` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
53+
- Method `BackupInstancesOperations.begin_trigger_restore` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
54+
- Method `BackupVaultsOperations.begin_create_or_update` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
55+
- Method `BackupVaultsOperations.begin_update` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
56+
- Method `DppResourceGuardProxyOperations.unlock_delete` changed its parameter `x_ms_authorization_auxiliary` from `positional_or_keyword` to `keyword_only`
57+
- Method `FetchSecondaryRecoveryPointsOperations.list` changed its parameter `skip_token` from `positional_or_keyword` to `keyword_only`
58+
- Method `RecoveryPointsOperations.list` changed its parameter `skip_token` from `positional_or_keyword` to `keyword_only`
59+
360
## 1.4.0 (2024-07-22)
461

562
### Features Added
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
include _meta.json
2-
recursive-include tests *.py *.json
3-
recursive-include samples *.py *.md
41
include *.md
5-
include azure/__init__.py
6-
include azure/mgmt/__init__.py
72
include LICENSE
83
include azure/mgmt/dataprotection/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Data Protection Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.

sdk/dataprotection/azure-mgmt-dataprotection/_meta.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"apiVersion": "2025-07-01",
3+
"commit": "6ba5680f1a58735e8f4d64ddbf8965e750cff9ee",
4+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
5+
"typespec_src": "specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection",
6+
"emitterVersion": "0.50.0"
7+
}

0 commit comments

Comments
 (0)