Skip to content

Commit 68cdc5c

Browse files
author
SDKAuto
committed
CodeGen from PR 16953 in Azure/azure-rest-api-specs
Merge ed53f5de2357a407c75c85789238b6a11ffce383 into 35ebd58
1 parent e16d161 commit 68cdc5c

35 files changed

+291
-6431
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "33998161763a845ec4160ab09bb5de7d70befb37",
7+
"commit": "6c2f4bcd7d57ba29e8732bf0988afb79ffc1f739",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"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/[email protected] --use=@autorest/[email protected] --version=3.4.5",
1010
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def __init__(
4848

4949
self.credential = credential
5050
self.subscription_id = subscription_id
51+
self.api_version = "2021-08-01"
5152
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
5253
kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicesbackup/{}'.format(VERSION))
5354
self._configure(**kwargs)

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

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"chosen_version": "",
3-
"total_api_version_list": ["2018-12-20", "2021-08-01"],
2+
"chosen_version": "2021-08-01",
3+
"total_api_version_list": ["2021-08-01"],
44
"client": {
55
"name": "RecoveryServicesBackupClient",
66
"filename": "_recovery_services_backup_client",
@@ -142,17 +142,7 @@
142142
"security_pins": "SecurityPINsOperations",
143143
"recovery_points_recommended_for_move": "RecoveryPointsRecommendedForMoveOperations",
144144
"resource_guard_proxies": "ResourceGuardProxiesOperations",
145-
"resource_guard_proxy": "ResourceGuardProxyOperations",
146-
"backup_usage_summaries_crr": "BackupUsageSummariesCRROperations",
147-
"aad_properties": "AadPropertiesOperations",
148-
"cross_region_restore": "CrossRegionRestoreOperations",
149-
"backup_crr_job_details": "BackupCrrJobDetailsOperations",
150-
"backup_crr_jobs": "BackupCrrJobsOperations",
151-
"crr_operation_results": "CrrOperationResultsOperations",
152-
"crr_operation_status": "CrrOperationStatusOperations",
153-
"backup_resource_storage_configs": "BackupResourceStorageConfigsOperations",
154-
"recovery_points_crr": "RecoveryPointsCrrOperations",
155-
"backup_protected_items_crr": "BackupProtectedItemsCrrOperations"
145+
"resource_guard_proxy": "ResourceGuardProxyOperations"
156146
},
157147
"operation_mixins": {
158148
"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: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@
6565
from .operations import RecoveryPointsRecommendedForMoveOperations
6666
from .operations import ResourceGuardProxiesOperations
6767
from .operations import ResourceGuardProxyOperations
68-
from .operations import BackupUsageSummariesCRROperations
69-
from .operations import AadPropertiesOperations
70-
from .operations import CrossRegionRestoreOperations
71-
from .operations import BackupCrrJobDetailsOperations
72-
from .operations import BackupCrrJobsOperations
73-
from .operations import CrrOperationResultsOperations
74-
from .operations import CrrOperationStatusOperations
75-
from .operations import BackupResourceStorageConfigsOperations
76-
from .operations import RecoveryPointsCrrOperations
77-
from .operations import BackupProtectedItemsCrrOperations
7868
from . import models
7969

8070

@@ -171,26 +161,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
171161
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxiesOperations
172162
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
173163
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxyOperations
174-
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRROperations operations
175-
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesCRROperations
176-
:ivar aad_properties: AadPropertiesOperations operations
177-
:vartype aad_properties: azure.mgmt.recoveryservicesbackup.operations.AadPropertiesOperations
178-
:ivar cross_region_restore: CrossRegionRestoreOperations operations
179-
:vartype cross_region_restore: azure.mgmt.recoveryservicesbackup.operations.CrossRegionRestoreOperations
180-
:ivar backup_crr_job_details: BackupCrrJobDetailsOperations operations
181-
:vartype backup_crr_job_details: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobDetailsOperations
182-
:ivar backup_crr_jobs: BackupCrrJobsOperations operations
183-
:vartype backup_crr_jobs: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobsOperations
184-
:ivar crr_operation_results: CrrOperationResultsOperations operations
185-
:vartype crr_operation_results: azure.mgmt.recoveryservicesbackup.operations.CrrOperationResultsOperations
186-
:ivar crr_operation_status: CrrOperationStatusOperations operations
187-
:vartype crr_operation_status: azure.mgmt.recoveryservicesbackup.operations.CrrOperationStatusOperations
188-
:ivar backup_resource_storage_configs: BackupResourceStorageConfigsOperations operations
189-
:vartype backup_resource_storage_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsOperations
190-
:ivar recovery_points_crr: RecoveryPointsCrrOperations operations
191-
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsCrrOperations
192-
:ivar backup_protected_items_crr: BackupProtectedItemsCrrOperations operations
193-
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsCrrOperations
194164
:param credential: Credential needed for the client to connect to Azure.
195165
:type credential: ~azure.core.credentials.TokenCredential
196166
:param subscription_id: The subscription Id.
@@ -307,26 +277,6 @@ def __init__(
307277
self._client, self._config, self._serialize, self._deserialize)
308278
self.resource_guard_proxy = ResourceGuardProxyOperations(
309279
self._client, self._config, self._serialize, self._deserialize)
310-
self.backup_usage_summaries_crr = BackupUsageSummariesCRROperations(
311-
self._client, self._config, self._serialize, self._deserialize)
312-
self.aad_properties = AadPropertiesOperations(
313-
self._client, self._config, self._serialize, self._deserialize)
314-
self.cross_region_restore = CrossRegionRestoreOperations(
315-
self._client, self._config, self._serialize, self._deserialize)
316-
self.backup_crr_job_details = BackupCrrJobDetailsOperations(
317-
self._client, self._config, self._serialize, self._deserialize)
318-
self.backup_crr_jobs = BackupCrrJobsOperations(
319-
self._client, self._config, self._serialize, self._deserialize)
320-
self.crr_operation_results = CrrOperationResultsOperations(
321-
self._client, self._config, self._serialize, self._deserialize)
322-
self.crr_operation_status = CrrOperationStatusOperations(
323-
self._client, self._config, self._serialize, self._deserialize)
324-
self.backup_resource_storage_configs = BackupResourceStorageConfigsOperations(
325-
self._client, self._config, self._serialize, self._deserialize)
326-
self.recovery_points_crr = RecoveryPointsCrrOperations(
327-
self._client, self._config, self._serialize, self._deserialize)
328-
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
329-
self._client, self._config, self._serialize, self._deserialize)
330280

331281
def _send_request(self, http_request, **kwargs):
332282
# 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 = "3.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def __init__(
4545

4646
self.credential = credential
4747
self.subscription_id = subscription_id
48+
self.api_version = "2021-08-01"
4849
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
4950
kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicesbackup/{}'.format(VERSION))
5051
self._configure(**kwargs)

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

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,6 @@
6363
from .operations import RecoveryPointsRecommendedForMoveOperations
6464
from .operations import ResourceGuardProxiesOperations
6565
from .operations import ResourceGuardProxyOperations
66-
from .operations import BackupUsageSummariesCRROperations
67-
from .operations import AadPropertiesOperations
68-
from .operations import CrossRegionRestoreOperations
69-
from .operations import BackupCrrJobDetailsOperations
70-
from .operations import BackupCrrJobsOperations
71-
from .operations import CrrOperationResultsOperations
72-
from .operations import CrrOperationStatusOperations
73-
from .operations import BackupResourceStorageConfigsOperations
74-
from .operations import RecoveryPointsCrrOperations
75-
from .operations import BackupProtectedItemsCrrOperations
7666
from .. import models
7767

7868

@@ -169,26 +159,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
169159
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.aio.operations.ResourceGuardProxiesOperations
170160
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
171161
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.aio.operations.ResourceGuardProxyOperations
172-
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRROperations operations
173-
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupUsageSummariesCRROperations
174-
:ivar aad_properties: AadPropertiesOperations operations
175-
:vartype aad_properties: azure.mgmt.recoveryservicesbackup.aio.operations.AadPropertiesOperations
176-
:ivar cross_region_restore: CrossRegionRestoreOperations operations
177-
:vartype cross_region_restore: azure.mgmt.recoveryservicesbackup.aio.operations.CrossRegionRestoreOperations
178-
:ivar backup_crr_job_details: BackupCrrJobDetailsOperations operations
179-
:vartype backup_crr_job_details: azure.mgmt.recoveryservicesbackup.aio.operations.BackupCrrJobDetailsOperations
180-
:ivar backup_crr_jobs: BackupCrrJobsOperations operations
181-
:vartype backup_crr_jobs: azure.mgmt.recoveryservicesbackup.aio.operations.BackupCrrJobsOperations
182-
:ivar crr_operation_results: CrrOperationResultsOperations operations
183-
:vartype crr_operation_results: azure.mgmt.recoveryservicesbackup.aio.operations.CrrOperationResultsOperations
184-
:ivar crr_operation_status: CrrOperationStatusOperations operations
185-
:vartype crr_operation_status: azure.mgmt.recoveryservicesbackup.aio.operations.CrrOperationStatusOperations
186-
:ivar backup_resource_storage_configs: BackupResourceStorageConfigsOperations operations
187-
:vartype backup_resource_storage_configs: azure.mgmt.recoveryservicesbackup.aio.operations.BackupResourceStorageConfigsOperations
188-
:ivar recovery_points_crr: RecoveryPointsCrrOperations operations
189-
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.aio.operations.RecoveryPointsCrrOperations
190-
:ivar backup_protected_items_crr: BackupProtectedItemsCrrOperations operations
191-
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupProtectedItemsCrrOperations
192162
:param credential: Credential needed for the client to connect to Azure.
193163
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
194164
:param subscription_id: The subscription Id.
@@ -304,26 +274,6 @@ def __init__(
304274
self._client, self._config, self._serialize, self._deserialize)
305275
self.resource_guard_proxy = ResourceGuardProxyOperations(
306276
self._client, self._config, self._serialize, self._deserialize)
307-
self.backup_usage_summaries_crr = BackupUsageSummariesCRROperations(
308-
self._client, self._config, self._serialize, self._deserialize)
309-
self.aad_properties = AadPropertiesOperations(
310-
self._client, self._config, self._serialize, self._deserialize)
311-
self.cross_region_restore = CrossRegionRestoreOperations(
312-
self._client, self._config, self._serialize, self._deserialize)
313-
self.backup_crr_job_details = BackupCrrJobDetailsOperations(
314-
self._client, self._config, self._serialize, self._deserialize)
315-
self.backup_crr_jobs = BackupCrrJobsOperations(
316-
self._client, self._config, self._serialize, self._deserialize)
317-
self.crr_operation_results = CrrOperationResultsOperations(
318-
self._client, self._config, self._serialize, self._deserialize)
319-
self.crr_operation_status = CrrOperationStatusOperations(
320-
self._client, self._config, self._serialize, self._deserialize)
321-
self.backup_resource_storage_configs = BackupResourceStorageConfigsOperations(
322-
self._client, self._config, self._serialize, self._deserialize)
323-
self.recovery_points_crr = RecoveryPointsCrrOperations(
324-
self._client, self._config, self._serialize, self._deserialize)
325-
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
326-
self._client, self._config, self._serialize, self._deserialize)
327277

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

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,6 @@
5252
from ._recovery_points_recommended_for_move_operations import RecoveryPointsRecommendedForMoveOperations
5353
from ._resource_guard_proxies_operations import ResourceGuardProxiesOperations
5454
from ._resource_guard_proxy_operations import ResourceGuardProxyOperations
55-
from ._backup_usage_summaries_crr_operations import BackupUsageSummariesCRROperations
56-
from ._aad_properties_operations import AadPropertiesOperations
57-
from ._cross_region_restore_operations import CrossRegionRestoreOperations
58-
from ._backup_crr_job_details_operations import BackupCrrJobDetailsOperations
59-
from ._backup_crr_jobs_operations import BackupCrrJobsOperations
60-
from ._crr_operation_results_operations import CrrOperationResultsOperations
61-
from ._crr_operation_status_operations import CrrOperationStatusOperations
62-
from ._backup_resource_storage_configs_operations import BackupResourceStorageConfigsOperations
63-
from ._recovery_points_crr_operations import RecoveryPointsCrrOperations
64-
from ._backup_protected_items_crr_operations import BackupProtectedItemsCrrOperations
6555

6656
__all__ = [
6757
'BackupResourceStorageConfigsNonCRROperations',
@@ -110,14 +100,4 @@
110100
'RecoveryPointsRecommendedForMoveOperations',
111101
'ResourceGuardProxiesOperations',
112102
'ResourceGuardProxyOperations',
113-
'BackupUsageSummariesCRROperations',
114-
'AadPropertiesOperations',
115-
'CrossRegionRestoreOperations',
116-
'BackupCrrJobDetailsOperations',
117-
'BackupCrrJobsOperations',
118-
'CrrOperationResultsOperations',
119-
'CrrOperationStatusOperations',
120-
'BackupResourceStorageConfigsOperations',
121-
'RecoveryPointsCrrOperations',
122-
'BackupProtectedItemsCrrOperations',
123103
]

0 commit comments

Comments
 (0)