Skip to content

Commit ada8c67

Browse files
Azure CLI BotSDKAuto
andauthored
[AutoRelease] t2-recoveryservicesbackup-2021-07-22-01117 (Azure#19910)
* CodeGen from PR 15285 in Azure/azure-rest-api-specs Updating version in readme (Azure#15285) * version,CHANGELOG Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
1 parent eb12059 commit ada8c67

File tree

100 files changed

+1402
-1045
lines changed

Some content is hidden

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

100 files changed

+1402
-1045
lines changed

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

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

3+
## 1.1.0 (2021-07-22)
4+
5+
**Features**
6+
7+
- Model AzureWorkloadPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
8+
- Model AzureWorkloadSAPHanaPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
9+
- Model AzureWorkloadSQLRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
10+
- Model AzureWorkloadSQLPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
11+
- Model AzureWorkloadSQLRestoreRequest has a new parameter target_virtual_machine_id
12+
- Model AzureWorkloadSAPHanaRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
13+
- Model AzureWorkloadSAPHanaRestoreRequest has a new parameter target_virtual_machine_id
14+
- Model AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
15+
- Model AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
16+
- Model AzureWorkloadRestoreRequest has a new parameter target_virtual_machine_id
17+
- Added operation group BackupResourceStorageConfigsNonCRROperations
18+
319
## 1.0.0 (2021-05-26)
420

521
**Features**
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"autorest": "3.4.2",
2+
"autorest": "3.4.5",
33
"use": [
4-
"@autorest/python@5.8.0",
5-
"@autorest/modelerfour@4.19.1"
4+
"@autorest/python@5.8.4",
5+
"@autorest/modelerfour@4.19.2"
66
],
7-
"commit": "8c7aca7f1b778ff6ba937b2e79d08fc851a6f80f",
7+
"commit": "8eb10b6052b7073e9c56f7707772e3e01c9d9a8d",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2",
9+
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
1010
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
1111
}

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"chosen_version": "",
3-
"total_api_version_list": ["2016-08-10", "2017-07-01", "2018-12-20", "2021-01-01"],
3+
"total_api_version_list": ["2018-12-20", "2021-04-01"],
44
"client": {
55
"name": "RecoveryServicesBackupClient",
66
"filename": "_recovery_services_backup_client",
@@ -98,6 +98,13 @@
9898
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
9999
},
100100
"operation_groups": {
101+
"backup_resource_storage_configs_non_crr": "BackupResourceStorageConfigsNonCRROperations",
102+
"protection_intent": "ProtectionIntentOperations",
103+
"backup_status": "BackupStatusOperations",
104+
"feature_support": "FeatureSupportOperations",
105+
"backup_protection_intent": "BackupProtectionIntentOperations",
106+
"backup_usage_summaries": "BackupUsageSummariesOperations",
107+
"operations": "Operations",
101108
"backup_resource_vault_configs": "BackupResourceVaultConfigsOperations",
102109
"backup_resource_encryption_configs": "BackupResourceEncryptionConfigsOperations",
103110
"private_endpoint_connection": "PrivateEndpointConnectionOperations",
@@ -143,13 +150,7 @@
143150
"crr_operation_status": "CrrOperationStatusOperations",
144151
"backup_resource_storage_configs": "BackupResourceStorageConfigsOperations",
145152
"recovery_points_crr": "RecoveryPointsCrrOperations",
146-
"backup_protected_items_crr": "BackupProtectedItemsCrrOperations",
147-
"protection_intent": "ProtectionIntentOperations",
148-
"backup_status": "BackupStatusOperations",
149-
"feature_support": "FeatureSupportOperations",
150-
"backup_protection_intent": "BackupProtectionIntentOperations",
151-
"backup_usage_summaries": "BackupUsageSummariesOperations",
152-
"operations": "Operations"
153+
"backup_protected_items_crr": "BackupProtectedItemsCrrOperations"
153154
},
154155
"operation_mixins": {
155156
"sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}",

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

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
from azure.core.pipeline.transport import HttpRequest, HttpResponse
2020

2121
from ._configuration import RecoveryServicesBackupClientConfiguration
22+
from .operations import BackupResourceStorageConfigsNonCRROperations
23+
from .operations import ProtectionIntentOperations
24+
from .operations import BackupStatusOperations
25+
from .operations import FeatureSupportOperations
26+
from .operations import BackupProtectionIntentOperations
27+
from .operations import BackupUsageSummariesOperations
28+
from .operations import Operations
2229
from .operations import BackupResourceVaultConfigsOperations
2330
from .operations import BackupResourceEncryptionConfigsOperations
2431
from .operations import PrivateEndpointConnectionOperations
@@ -66,18 +73,26 @@
6673
from .operations import BackupResourceStorageConfigsOperations
6774
from .operations import RecoveryPointsCrrOperations
6875
from .operations import BackupProtectedItemsCrrOperations
69-
from .operations import ProtectionIntentOperations
70-
from .operations import BackupStatusOperations
71-
from .operations import FeatureSupportOperations
72-
from .operations import BackupProtectionIntentOperations
73-
from .operations import BackupUsageSummariesOperations
74-
from .operations import Operations
7576
from . import models
7677

7778

7879
class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
7980
"""Open API 2.0 Specs for Azure RecoveryServices Backup service.
8081
82+
:ivar backup_resource_storage_configs_non_crr: BackupResourceStorageConfigsNonCRROperations operations
83+
:vartype backup_resource_storage_configs_non_crr: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsNonCRROperations
84+
:ivar protection_intent: ProtectionIntentOperations operations
85+
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
86+
:ivar backup_status: BackupStatusOperations operations
87+
:vartype backup_status: azure.mgmt.recoveryservicesbackup.operations.BackupStatusOperations
88+
:ivar feature_support: FeatureSupportOperations operations
89+
:vartype feature_support: azure.mgmt.recoveryservicesbackup.operations.FeatureSupportOperations
90+
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
91+
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionIntentOperations
92+
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
93+
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations
94+
:ivar operations: Operations operations
95+
:vartype operations: azure.mgmt.recoveryservicesbackup.operations.Operations
8196
:ivar backup_resource_vault_configs: BackupResourceVaultConfigsOperations operations
8297
:vartype backup_resource_vault_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceVaultConfigsOperations
8398
:ivar backup_resource_encryption_configs: BackupResourceEncryptionConfigsOperations operations
@@ -170,18 +185,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
170185
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsCrrOperations
171186
:ivar backup_protected_items_crr: BackupProtectedItemsCrrOperations operations
172187
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsCrrOperations
173-
:ivar protection_intent: ProtectionIntentOperations operations
174-
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
175-
:ivar backup_status: BackupStatusOperations operations
176-
:vartype backup_status: azure.mgmt.recoveryservicesbackup.operations.BackupStatusOperations
177-
:ivar feature_support: FeatureSupportOperations operations
178-
:vartype feature_support: azure.mgmt.recoveryservicesbackup.operations.FeatureSupportOperations
179-
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
180-
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionIntentOperations
181-
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
182-
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations
183-
:ivar operations: Operations operations
184-
:vartype operations: azure.mgmt.recoveryservicesbackup.operations.Operations
185188
:param credential: Credential needed for the client to connect to Azure.
186189
:type credential: ~azure.core.credentials.TokenCredential
187190
:param subscription_id: The subscription Id.
@@ -208,6 +211,20 @@ def __init__(
208211
self._serialize.client_side_validation = False
209212
self._deserialize = Deserializer(client_models)
210213

214+
self.backup_resource_storage_configs_non_crr = BackupResourceStorageConfigsNonCRROperations(
215+
self._client, self._config, self._serialize, self._deserialize)
216+
self.protection_intent = ProtectionIntentOperations(
217+
self._client, self._config, self._serialize, self._deserialize)
218+
self.backup_status = BackupStatusOperations(
219+
self._client, self._config, self._serialize, self._deserialize)
220+
self.feature_support = FeatureSupportOperations(
221+
self._client, self._config, self._serialize, self._deserialize)
222+
self.backup_protection_intent = BackupProtectionIntentOperations(
223+
self._client, self._config, self._serialize, self._deserialize)
224+
self.backup_usage_summaries = BackupUsageSummariesOperations(
225+
self._client, self._config, self._serialize, self._deserialize)
226+
self.operations = Operations(
227+
self._client, self._config, self._serialize, self._deserialize)
211228
self.backup_resource_vault_configs = BackupResourceVaultConfigsOperations(
212229
self._client, self._config, self._serialize, self._deserialize)
213230
self.backup_resource_encryption_configs = BackupResourceEncryptionConfigsOperations(
@@ -300,18 +317,6 @@ def __init__(
300317
self._client, self._config, self._serialize, self._deserialize)
301318
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
302319
self._client, self._config, self._serialize, self._deserialize)
303-
self.protection_intent = ProtectionIntentOperations(
304-
self._client, self._config, self._serialize, self._deserialize)
305-
self.backup_status = BackupStatusOperations(
306-
self._client, self._config, self._serialize, self._deserialize)
307-
self.feature_support = FeatureSupportOperations(
308-
self._client, self._config, self._serialize, self._deserialize)
309-
self.backup_protection_intent = BackupProtectionIntentOperations(
310-
self._client, self._config, self._serialize, self._deserialize)
311-
self.backup_usage_summaries = BackupUsageSummariesOperations(
312-
self._client, self._config, self._serialize, self._deserialize)
313-
self.operations = Operations(
314-
self._client, self._config, self._serialize, self._deserialize)
315320

316321
def _send_request(self, http_request, **kwargs):
317322
# type: (HttpRequest, Any) -> HttpResponse

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 = "1.0.0"
9+
VERSION = "1.1.0"

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

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
from azure.core.credentials_async import AsyncTokenCredential
1818

1919
from ._configuration import RecoveryServicesBackupClientConfiguration
20+
from .operations import BackupResourceStorageConfigsNonCRROperations
21+
from .operations import ProtectionIntentOperations
22+
from .operations import BackupStatusOperations
23+
from .operations import FeatureSupportOperations
24+
from .operations import BackupProtectionIntentOperations
25+
from .operations import BackupUsageSummariesOperations
26+
from .operations import Operations
2027
from .operations import BackupResourceVaultConfigsOperations
2128
from .operations import BackupResourceEncryptionConfigsOperations
2229
from .operations import PrivateEndpointConnectionOperations
@@ -64,18 +71,26 @@
6471
from .operations import BackupResourceStorageConfigsOperations
6572
from .operations import RecoveryPointsCrrOperations
6673
from .operations import BackupProtectedItemsCrrOperations
67-
from .operations import ProtectionIntentOperations
68-
from .operations import BackupStatusOperations
69-
from .operations import FeatureSupportOperations
70-
from .operations import BackupProtectionIntentOperations
71-
from .operations import BackupUsageSummariesOperations
72-
from .operations import Operations
7374
from .. import models
7475

7576

7677
class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
7778
"""Open API 2.0 Specs for Azure RecoveryServices Backup service.
7879
80+
:ivar backup_resource_storage_configs_non_crr: BackupResourceStorageConfigsNonCRROperations operations
81+
:vartype backup_resource_storage_configs_non_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupResourceStorageConfigsNonCRROperations
82+
:ivar protection_intent: ProtectionIntentOperations operations
83+
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.ProtectionIntentOperations
84+
:ivar backup_status: BackupStatusOperations operations
85+
:vartype backup_status: azure.mgmt.recoveryservicesbackup.aio.operations.BackupStatusOperations
86+
:ivar feature_support: FeatureSupportOperations operations
87+
:vartype feature_support: azure.mgmt.recoveryservicesbackup.aio.operations.FeatureSupportOperations
88+
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
89+
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.BackupProtectionIntentOperations
90+
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
91+
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.aio.operations.BackupUsageSummariesOperations
92+
:ivar operations: Operations operations
93+
:vartype operations: azure.mgmt.recoveryservicesbackup.aio.operations.Operations
7994
:ivar backup_resource_vault_configs: BackupResourceVaultConfigsOperations operations
8095
:vartype backup_resource_vault_configs: azure.mgmt.recoveryservicesbackup.aio.operations.BackupResourceVaultConfigsOperations
8196
:ivar backup_resource_encryption_configs: BackupResourceEncryptionConfigsOperations operations
@@ -168,18 +183,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
168183
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.aio.operations.RecoveryPointsCrrOperations
169184
:ivar backup_protected_items_crr: BackupProtectedItemsCrrOperations operations
170185
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupProtectedItemsCrrOperations
171-
:ivar protection_intent: ProtectionIntentOperations operations
172-
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.ProtectionIntentOperations
173-
:ivar backup_status: BackupStatusOperations operations
174-
:vartype backup_status: azure.mgmt.recoveryservicesbackup.aio.operations.BackupStatusOperations
175-
:ivar feature_support: FeatureSupportOperations operations
176-
:vartype feature_support: azure.mgmt.recoveryservicesbackup.aio.operations.FeatureSupportOperations
177-
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
178-
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.BackupProtectionIntentOperations
179-
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
180-
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.aio.operations.BackupUsageSummariesOperations
181-
:ivar operations: Operations operations
182-
:vartype operations: azure.mgmt.recoveryservicesbackup.aio.operations.Operations
183186
:param credential: Credential needed for the client to connect to Azure.
184187
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
185188
:param subscription_id: The subscription Id.
@@ -205,6 +208,20 @@ def __init__(
205208
self._serialize.client_side_validation = False
206209
self._deserialize = Deserializer(client_models)
207210

211+
self.backup_resource_storage_configs_non_crr = BackupResourceStorageConfigsNonCRROperations(
212+
self._client, self._config, self._serialize, self._deserialize)
213+
self.protection_intent = ProtectionIntentOperations(
214+
self._client, self._config, self._serialize, self._deserialize)
215+
self.backup_status = BackupStatusOperations(
216+
self._client, self._config, self._serialize, self._deserialize)
217+
self.feature_support = FeatureSupportOperations(
218+
self._client, self._config, self._serialize, self._deserialize)
219+
self.backup_protection_intent = BackupProtectionIntentOperations(
220+
self._client, self._config, self._serialize, self._deserialize)
221+
self.backup_usage_summaries = BackupUsageSummariesOperations(
222+
self._client, self._config, self._serialize, self._deserialize)
223+
self.operations = Operations(
224+
self._client, self._config, self._serialize, self._deserialize)
208225
self.backup_resource_vault_configs = BackupResourceVaultConfigsOperations(
209226
self._client, self._config, self._serialize, self._deserialize)
210227
self.backup_resource_encryption_configs = BackupResourceEncryptionConfigsOperations(
@@ -297,18 +314,6 @@ def __init__(
297314
self._client, self._config, self._serialize, self._deserialize)
298315
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
299316
self._client, self._config, self._serialize, self._deserialize)
300-
self.protection_intent = ProtectionIntentOperations(
301-
self._client, self._config, self._serialize, self._deserialize)
302-
self.backup_status = BackupStatusOperations(
303-
self._client, self._config, self._serialize, self._deserialize)
304-
self.feature_support = FeatureSupportOperations(
305-
self._client, self._config, self._serialize, self._deserialize)
306-
self.backup_protection_intent = BackupProtectionIntentOperations(
307-
self._client, self._config, self._serialize, self._deserialize)
308-
self.backup_usage_summaries = BackupUsageSummariesOperations(
309-
self._client, self._config, self._serialize, self._deserialize)
310-
self.operations = Operations(
311-
self._client, self._config, self._serialize, self._deserialize)
312317

313318
async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse:
314319
"""Runs the network request through the client's chained policies.

0 commit comments

Comments
 (0)