Skip to content

Commit 7744050

Browse files
[AutoRelease] t2-recoveryservicesbackup-2024-01-23-76595(can only be merged by SDK owner) (#33964)
* code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 9900995 commit 7744050

File tree

176 files changed

+3018
-286
lines changed

Some content is hidden

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

176 files changed

+3018
-286
lines changed

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/CHANGELOG.md

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

3+
## 9.0.0 (2024-01-24)
4+
5+
### Features Added
6+
7+
- Added operation group FetchTieringCostOperations
8+
- Added operation group GetTieringCostOperationResultOperations
9+
- Added operation group TieringCostOperationStatusOperations
10+
- Model AzureFileShareProtectionPolicy has a new parameter vault_retention_policy
11+
- Model AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest has a new parameter snapshot_restore_parameters
12+
- Model AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest has a new parameter target_resource_group_name
13+
- Model AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest has a new parameter user_assigned_managed_identity_details
14+
- Model AzureWorkloadSAPHanaRestoreWithRehydrateRequest has a new parameter snapshot_restore_parameters
15+
- Model AzureWorkloadSAPHanaRestoreWithRehydrateRequest has a new parameter target_resource_group_name
16+
- Model AzureWorkloadSAPHanaRestoreWithRehydrateRequest has a new parameter user_assigned_managed_identity_details
17+
- Model AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest has a new parameter snapshot_restore_parameters
18+
- Model AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest has a new parameter target_resource_group_name
19+
- Model AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest has a new parameter user_assigned_managed_identity_details
20+
- Model AzureWorkloadSQLRestoreWithRehydrateRequest has a new parameter snapshot_restore_parameters
21+
- Model AzureWorkloadSQLRestoreWithRehydrateRequest has a new parameter target_resource_group_name
22+
- Model AzureWorkloadSQLRestoreWithRehydrateRequest has a new parameter user_assigned_managed_identity_details
23+
- Model SubProtectionPolicy has a new parameter snapshot_backup_additional_details
24+
25+
### Breaking Changes
26+
27+
- Parameter resource_guard_resource_id of model ResourceGuardProxyBase is now required
28+
329
## 8.0.0 (2024-01-15)
430

531
### Features Added

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "ea28180c6ce9027df36568307f235868d581144c",
2+
"commit": "51a6e410cf9752dfdaad71f0f9778645d737d8c4",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "8.0.0"
9+
VERSION = "9.0.0"

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class RecoveryServicesBackupClientConfiguration(Configuration): # pylint: disab
2929
:type credential: ~azure.core.credentials.TokenCredential
3030
:param subscription_id: The subscription Id. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
32+
:keyword api_version: Api Version. Default value is "2023-06-01". Note that overriding this
3333
default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(RecoveryServicesBackupClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-04-01")
39+
api_version: str = kwargs.pop("api_version", "2023-06-01")
4040

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

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/_recovery_services_backup_client.py

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
DeletedProtectionContainersOperations,
3737
ExportJobsOperationResultsOperations,
3838
FeatureSupportOperations,
39+
FetchTieringCostOperations,
40+
GetTieringCostOperationResultOperations,
3941
ItemLevelRecoveryConnectionsOperations,
4042
JobCancellationsOperations,
4143
JobDetailsOperations,
@@ -63,6 +65,7 @@
6365
ResourceGuardProxyOperations,
6466
RestoresOperations,
6567
SecurityPINsOperations,
68+
TieringCostOperationStatusOperations,
6669
ValidateOperationOperations,
6770
ValidateOperationResultsOperations,
6871
ValidateOperationStatusesOperations,
@@ -228,13 +231,22 @@ class RecoveryServicesBackupClient(
228231
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
229232
:vartype resource_guard_proxy:
230233
azure.mgmt.recoveryservicesbackup.activestamp.operations.ResourceGuardProxyOperations
234+
:ivar fetch_tiering_cost: FetchTieringCostOperations operations
235+
:vartype fetch_tiering_cost:
236+
azure.mgmt.recoveryservicesbackup.activestamp.operations.FetchTieringCostOperations
237+
:ivar get_tiering_cost_operation_result: GetTieringCostOperationResultOperations operations
238+
:vartype get_tiering_cost_operation_result:
239+
azure.mgmt.recoveryservicesbackup.activestamp.operations.GetTieringCostOperationResultOperations
240+
:ivar tiering_cost_operation_status: TieringCostOperationStatusOperations operations
241+
:vartype tiering_cost_operation_status:
242+
azure.mgmt.recoveryservicesbackup.activestamp.operations.TieringCostOperationStatusOperations
231243
:param credential: Credential needed for the client to connect to Azure. Required.
232244
:type credential: ~azure.core.credentials.TokenCredential
233245
:param subscription_id: The subscription Id. Required.
234246
:type subscription_id: str
235247
:param base_url: Service URL. Default value is "https://management.azure.com".
236248
:type base_url: str
237-
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
249+
:keyword api_version: Api Version. Default value is "2023-06-01". Note that overriding this
238250
default value may result in unsupported behavior.
239251
:paramtype api_version: str
240252
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -376,6 +388,15 @@ def __init__(
376388
self.resource_guard_proxy = ResourceGuardProxyOperations(
377389
self._client, self._config, self._serialize, self._deserialize
378390
)
391+
self.fetch_tiering_cost = FetchTieringCostOperations(
392+
self._client, self._config, self._serialize, self._deserialize
393+
)
394+
self.get_tiering_cost_operation_result = GetTieringCostOperationResultOperations(
395+
self._client, self._config, self._serialize, self._deserialize
396+
)
397+
self.tiering_cost_operation_status = TieringCostOperationStatusOperations(
398+
self._client, self._config, self._serialize, self._deserialize
399+
)
379400

380401
def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
381402
"""Runs the network request through the client's chained policies.

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "8.0.0"
9+
VERSION = "9.0.0"

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class RecoveryServicesBackupClientConfiguration(Configuration): # pylint: disab
2929
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
3030
:param subscription_id: The subscription Id. Required.
3131
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
32+
:keyword api_version: Api Version. Default value is "2023-06-01". Note that overriding this
3333
default value may result in unsupported behavior.
3434
:paramtype api_version: str
3535
"""
3636

3737
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
3838
super(RecoveryServicesBackupClientConfiguration, self).__init__(**kwargs)
39-
api_version: str = kwargs.pop("api_version", "2023-04-01")
39+
api_version: str = kwargs.pop("api_version", "2023-06-01")
4040

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

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/_recovery_services_backup_client.py

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
DeletedProtectionContainersOperations,
3737
ExportJobsOperationResultsOperations,
3838
FeatureSupportOperations,
39+
FetchTieringCostOperations,
40+
GetTieringCostOperationResultOperations,
3941
ItemLevelRecoveryConnectionsOperations,
4042
JobCancellationsOperations,
4143
JobDetailsOperations,
@@ -63,6 +65,7 @@
6365
ResourceGuardProxyOperations,
6466
RestoresOperations,
6567
SecurityPINsOperations,
68+
TieringCostOperationStatusOperations,
6669
ValidateOperationOperations,
6770
ValidateOperationResultsOperations,
6871
ValidateOperationStatusesOperations,
@@ -230,13 +233,22 @@ class RecoveryServicesBackupClient(
230233
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
231234
:vartype resource_guard_proxy:
232235
azure.mgmt.recoveryservicesbackup.activestamp.aio.operations.ResourceGuardProxyOperations
236+
:ivar fetch_tiering_cost: FetchTieringCostOperations operations
237+
:vartype fetch_tiering_cost:
238+
azure.mgmt.recoveryservicesbackup.activestamp.aio.operations.FetchTieringCostOperations
239+
:ivar get_tiering_cost_operation_result: GetTieringCostOperationResultOperations operations
240+
:vartype get_tiering_cost_operation_result:
241+
azure.mgmt.recoveryservicesbackup.activestamp.aio.operations.GetTieringCostOperationResultOperations
242+
:ivar tiering_cost_operation_status: TieringCostOperationStatusOperations operations
243+
:vartype tiering_cost_operation_status:
244+
azure.mgmt.recoveryservicesbackup.activestamp.aio.operations.TieringCostOperationStatusOperations
233245
:param credential: Credential needed for the client to connect to Azure. Required.
234246
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
235247
:param subscription_id: The subscription Id. Required.
236248
:type subscription_id: str
237249
:param base_url: Service URL. Default value is "https://management.azure.com".
238250
:type base_url: str
239-
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
251+
:keyword api_version: Api Version. Default value is "2023-06-01". Note that overriding this
240252
default value may result in unsupported behavior.
241253
:paramtype api_version: str
242254
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -378,6 +390,15 @@ def __init__(
378390
self.resource_guard_proxy = ResourceGuardProxyOperations(
379391
self._client, self._config, self._serialize, self._deserialize
380392
)
393+
self.fetch_tiering_cost = FetchTieringCostOperations(
394+
self._client, self._config, self._serialize, self._deserialize
395+
)
396+
self.get_tiering_cost_operation_result = GetTieringCostOperationResultOperations(
397+
self._client, self._config, self._serialize, self._deserialize
398+
)
399+
self.tiering_cost_operation_status = TieringCostOperationStatusOperations(
400+
self._client, self._config, self._serialize, self._deserialize
401+
)
381402

382403
def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
383404
"""Runs the network request through the client's chained policies.

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
from ._recovery_points_recommended_for_move_operations import RecoveryPointsRecommendedForMoveOperations
5959
from ._resource_guard_proxies_operations import ResourceGuardProxiesOperations
6060
from ._resource_guard_proxy_operations import ResourceGuardProxyOperations
61+
from ._fetch_tiering_cost_operations import FetchTieringCostOperations
62+
from ._get_tiering_cost_operation_result_operations import GetTieringCostOperationResultOperations
63+
from ._tiering_cost_operation_status_operations import TieringCostOperationStatusOperations
6164

6265
from ._patch import __all__ as _patch_all
6366
from ._patch import * # pylint: disable=unused-wildcard-import
@@ -114,6 +117,9 @@
114117
"RecoveryPointsRecommendedForMoveOperations",
115118
"ResourceGuardProxiesOperations",
116119
"ResourceGuardProxyOperations",
120+
"FetchTieringCostOperations",
121+
"GetTieringCostOperationResultOperations",
122+
"TieringCostOperationStatusOperations",
117123
]
118124
__all__.extend([p for p in _patch_all if p not in __all__])
119125
_patch_sdk()

0 commit comments

Comments
 (0)