Skip to content

Commit

Permalink
CodeGen from PR 15881 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 2dadf5786f35dc6f1ed2e062b4929c6dc0b71122 into 4dc3917
  • Loading branch information
SDKAuto committed Sep 1, 2021
1 parent 03516c3 commit 48dee9a
Show file tree
Hide file tree
Showing 62 changed files with 1,274 additions and 2,835 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "69c20e89a4f94f99cdbc627f5c33812732b2fa32",
"commit": "200cc5ff30706a8efdccaa2bee2a43438a69884c",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

from ._configuration import RecoveryServicesBackupClientConfiguration
from .operations import RecoveryServicesBackupClientOperationsMixin
from .operations import BackupResourceStorageConfigsNonCRROperations
from .operations import ProtectionIntentOperations
from .operations import BackupStatusOperations
from .operations import FeatureSupportOperations
Expand Down Expand Up @@ -56,16 +57,8 @@
from .operations import BackupProtectionContainersOperations
from .operations import SecurityPINsOperations
from .operations import RecoveryPointsRecommendedForMoveOperations
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 .operations import ResourceGuardProxiesOperations
from .operations import ResourceGuardProxyOperations
from . import models


Expand All @@ -75,6 +68,8 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin,
:ivar config: Configuration for client.
:vartype config: RecoveryServicesBackupClientConfiguration
:ivar backup_resource_storage_configs_non_crr: BackupResourceStorageConfigsNonCRR operations
:vartype backup_resource_storage_configs_non_crr: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsNonCRROperations
:ivar protection_intent: ProtectionIntent operations
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
:ivar backup_status: BackupStatus operations
Expand Down Expand Up @@ -159,26 +154,10 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin,
:vartype security_pi_ns: azure.mgmt.recoveryservicesbackup.operations.SecurityPINsOperations
:ivar recovery_points_recommended_for_move: RecoveryPointsRecommendedForMove operations
:vartype recovery_points_recommended_for_move: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsRecommendedForMoveOperations
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRR operations
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesCRROperations
:ivar aad_properties: AadProperties operations
:vartype aad_properties: azure.mgmt.recoveryservicesbackup.operations.AadPropertiesOperations
:ivar cross_region_restore: CrossRegionRestore operations
:vartype cross_region_restore: azure.mgmt.recoveryservicesbackup.operations.CrossRegionRestoreOperations
:ivar backup_crr_job_details: BackupCrrJobDetails operations
:vartype backup_crr_job_details: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobDetailsOperations
:ivar backup_crr_jobs: BackupCrrJobs operations
:vartype backup_crr_jobs: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobsOperations
:ivar crr_operation_results: CrrOperationResults operations
:vartype crr_operation_results: azure.mgmt.recoveryservicesbackup.operations.CrrOperationResultsOperations
:ivar crr_operation_status: CrrOperationStatus operations
:vartype crr_operation_status: azure.mgmt.recoveryservicesbackup.operations.CrrOperationStatusOperations
:ivar backup_resource_storage_configs: BackupResourceStorageConfigs operations
:vartype backup_resource_storage_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsOperations
:ivar recovery_points_crr: RecoveryPointsCrr operations
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsCrrOperations
:ivar backup_protected_items_crr: BackupProtectedItemsCrr operations
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsCrrOperations
:ivar resource_guard_proxies: ResourceGuardProxies operations
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxiesOperations
:ivar resource_guard_proxy: ResourceGuardProxy operations
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxyOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -195,9 +174,12 @@ def __init__(
super(RecoveryServicesBackupClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2021-08-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.backup_resource_storage_configs_non_crr = BackupResourceStorageConfigsNonCRROperations(
self._client, self.config, self._serialize, self._deserialize)
self.protection_intent = ProtectionIntentOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_status = BackupStatusOperations(
Expand Down Expand Up @@ -282,23 +264,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.recovery_points_recommended_for_move = RecoveryPointsRecommendedForMoveOperations(
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.resource_guard_proxies = ResourceGuardProxiesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
self.resource_guard_proxy = ResourceGuardProxyOperations(
self._client, self.config, self._serialize, self._deserialize)
Loading

0 comments on commit 48dee9a

Please sign in to comment.