Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "33998161763a845ec4160ab09bb5de7d70befb37",
"commit": "6c2f4bcd7d57ba29e8732bf0988afb79ffc1f739",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-08-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicesbackup/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "",
"total_api_version_list": ["2018-12-20", "2021-08-01"],
"chosen_version": "2021-08-01",
"total_api_version_list": ["2021-08-01"],
"client": {
"name": "RecoveryServicesBackupClient",
"filename": "_recovery_services_backup_client",
Expand Down Expand Up @@ -142,17 +142,7 @@
"security_pins": "SecurityPINsOperations",
"recovery_points_recommended_for_move": "RecoveryPointsRecommendedForMoveOperations",
"resource_guard_proxies": "ResourceGuardProxiesOperations",
"resource_guard_proxy": "ResourceGuardProxyOperations",
"backup_usage_summaries_crr": "BackupUsageSummariesCRROperations",
"aad_properties": "AadPropertiesOperations",
"cross_region_restore": "CrossRegionRestoreOperations",
"backup_crr_job_details": "BackupCrrJobDetailsOperations",
"backup_crr_jobs": "BackupCrrJobsOperations",
"crr_operation_results": "CrrOperationResultsOperations",
"crr_operation_status": "CrrOperationStatusOperations",
"backup_resource_storage_configs": "BackupResourceStorageConfigsOperations",
"recovery_points_crr": "RecoveryPointsCrrOperations",
"backup_protected_items_crr": "BackupProtectedItemsCrrOperations"
"resource_guard_proxy": "ResourceGuardProxyOperations"
},
"operation_mixins": {
"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\"]}}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@
from .operations import RecoveryPointsRecommendedForMoveOperations
from .operations import ResourceGuardProxiesOperations
from .operations import ResourceGuardProxyOperations
from .operations import BackupUsageSummariesCRROperations
from .operations import AadPropertiesOperations
from .operations import CrossRegionRestoreOperations
from .operations import BackupCrrJobDetailsOperations
from .operations import BackupCrrJobsOperations
from .operations import CrrOperationResultsOperations
from .operations import CrrOperationStatusOperations
from .operations import BackupResourceStorageConfigsOperations
from .operations import RecoveryPointsCrrOperations
from .operations import BackupProtectedItemsCrrOperations
from . import models


Expand Down Expand Up @@ -171,26 +161,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxiesOperations
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxyOperations
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRROperations operations
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesCRROperations
:ivar aad_properties: AadPropertiesOperations operations
:vartype aad_properties: azure.mgmt.recoveryservicesbackup.operations.AadPropertiesOperations
:ivar cross_region_restore: CrossRegionRestoreOperations operations
:vartype cross_region_restore: azure.mgmt.recoveryservicesbackup.operations.CrossRegionRestoreOperations
:ivar backup_crr_job_details: BackupCrrJobDetailsOperations operations
:vartype backup_crr_job_details: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobDetailsOperations
:ivar backup_crr_jobs: BackupCrrJobsOperations operations
:vartype backup_crr_jobs: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobsOperations
:ivar crr_operation_results: CrrOperationResultsOperations operations
:vartype crr_operation_results: azure.mgmt.recoveryservicesbackup.operations.CrrOperationResultsOperations
:ivar crr_operation_status: CrrOperationStatusOperations operations
:vartype crr_operation_status: azure.mgmt.recoveryservicesbackup.operations.CrrOperationStatusOperations
:ivar backup_resource_storage_configs: BackupResourceStorageConfigsOperations operations
:vartype backup_resource_storage_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsOperations
:ivar recovery_points_crr: RecoveryPointsCrrOperations operations
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsCrrOperations
:ivar backup_protected_items_crr: BackupProtectedItemsCrrOperations operations
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsCrrOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription Id.
Expand Down Expand Up @@ -307,26 +277,6 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.resource_guard_proxy = ResourceGuardProxyOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_usage_summaries_crr = BackupUsageSummariesCRROperations(
self._client, self._config, self._serialize, self._deserialize)
self.aad_properties = AadPropertiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.cross_region_restore = CrossRegionRestoreOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_crr_job_details = BackupCrrJobDetailsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_crr_jobs = BackupCrrJobsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.crr_operation_results = CrrOperationResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.crr_operation_status = CrrOperationStatusOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_resource_storage_configs = BackupResourceStorageConfigsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.recovery_points_crr = RecoveryPointsCrrOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
self._client, self._config, self._serialize, self._deserialize)

def _send_request(self, http_request, **kwargs):
# type: (HttpRequest, Any) -> HttpResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "3.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-08-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicesbackup/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,6 @@
from .operations import RecoveryPointsRecommendedForMoveOperations
from .operations import ResourceGuardProxiesOperations
from .operations import ResourceGuardProxyOperations
from .operations import BackupUsageSummariesCRROperations
from .operations import AadPropertiesOperations
from .operations import CrossRegionRestoreOperations
from .operations import BackupCrrJobDetailsOperations
from .operations import BackupCrrJobsOperations
from .operations import CrrOperationResultsOperations
from .operations import CrrOperationStatusOperations
from .operations import BackupResourceStorageConfigsOperations
from .operations import RecoveryPointsCrrOperations
from .operations import BackupProtectedItemsCrrOperations
from .. import models


Expand Down Expand Up @@ -169,26 +159,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.aio.operations.ResourceGuardProxiesOperations
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.aio.operations.ResourceGuardProxyOperations
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRROperations operations
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupUsageSummariesCRROperations
:ivar aad_properties: AadPropertiesOperations operations
:vartype aad_properties: azure.mgmt.recoveryservicesbackup.aio.operations.AadPropertiesOperations
:ivar cross_region_restore: CrossRegionRestoreOperations operations
:vartype cross_region_restore: azure.mgmt.recoveryservicesbackup.aio.operations.CrossRegionRestoreOperations
:ivar backup_crr_job_details: BackupCrrJobDetailsOperations operations
:vartype backup_crr_job_details: azure.mgmt.recoveryservicesbackup.aio.operations.BackupCrrJobDetailsOperations
:ivar backup_crr_jobs: BackupCrrJobsOperations operations
:vartype backup_crr_jobs: azure.mgmt.recoveryservicesbackup.aio.operations.BackupCrrJobsOperations
:ivar crr_operation_results: CrrOperationResultsOperations operations
:vartype crr_operation_results: azure.mgmt.recoveryservicesbackup.aio.operations.CrrOperationResultsOperations
:ivar crr_operation_status: CrrOperationStatusOperations operations
:vartype crr_operation_status: azure.mgmt.recoveryservicesbackup.aio.operations.CrrOperationStatusOperations
:ivar backup_resource_storage_configs: BackupResourceStorageConfigsOperations operations
:vartype backup_resource_storage_configs: azure.mgmt.recoveryservicesbackup.aio.operations.BackupResourceStorageConfigsOperations
:ivar recovery_points_crr: RecoveryPointsCrrOperations operations
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.aio.operations.RecoveryPointsCrrOperations
:ivar backup_protected_items_crr: BackupProtectedItemsCrrOperations operations
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupProtectedItemsCrrOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The subscription Id.
Expand Down Expand Up @@ -304,26 +274,6 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.resource_guard_proxy = ResourceGuardProxyOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_usage_summaries_crr = BackupUsageSummariesCRROperations(
self._client, self._config, self._serialize, self._deserialize)
self.aad_properties = AadPropertiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.cross_region_restore = CrossRegionRestoreOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_crr_job_details = BackupCrrJobDetailsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_crr_jobs = BackupCrrJobsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.crr_operation_results = CrrOperationResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.crr_operation_status = CrrOperationStatusOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_resource_storage_configs = BackupResourceStorageConfigsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.recovery_points_crr = RecoveryPointsCrrOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
self._client, self._config, self._serialize, self._deserialize)

async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@
from ._recovery_points_recommended_for_move_operations import RecoveryPointsRecommendedForMoveOperations
from ._resource_guard_proxies_operations import ResourceGuardProxiesOperations
from ._resource_guard_proxy_operations import ResourceGuardProxyOperations
from ._backup_usage_summaries_crr_operations import BackupUsageSummariesCRROperations
from ._aad_properties_operations import AadPropertiesOperations
from ._cross_region_restore_operations import CrossRegionRestoreOperations
from ._backup_crr_job_details_operations import BackupCrrJobDetailsOperations
from ._backup_crr_jobs_operations import BackupCrrJobsOperations
from ._crr_operation_results_operations import CrrOperationResultsOperations
from ._crr_operation_status_operations import CrrOperationStatusOperations
from ._backup_resource_storage_configs_operations import BackupResourceStorageConfigsOperations
from ._recovery_points_crr_operations import RecoveryPointsCrrOperations
from ._backup_protected_items_crr_operations import BackupProtectedItemsCrrOperations

__all__ = [
'BackupResourceStorageConfigsNonCRROperations',
Expand Down Expand Up @@ -110,14 +100,4 @@
'RecoveryPointsRecommendedForMoveOperations',
'ResourceGuardProxiesOperations',
'ResourceGuardProxyOperations',
'BackupUsageSummariesCRROperations',
'AadPropertiesOperations',
'CrossRegionRestoreOperations',
'BackupCrrJobDetailsOperations',
'BackupCrrJobsOperations',
'CrrOperationResultsOperations',
'CrrOperationStatusOperations',
'BackupResourceStorageConfigsOperations',
'RecoveryPointsCrrOperations',
'BackupProtectedItemsCrrOperations',
]
Loading