Skip to content

Commit

Permalink
CodeGen from PR 14551 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Recoveryservicesbackup t2 (Azure#14551)

* sql t2 readme config

* readme config

* Update readme.python.md

* conflient resolve

* t2 config

* redirect

* redirect

* redirect

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
SDKAuto and msyyc committed May 26, 2021
1 parent b710bdf commit 976171d
Show file tree
Hide file tree
Showing 108 changed files with 1,414 additions and 458 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.4.2",
"use": "@autorest/python@5.6.6",
"commit": "fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d",
"use": [
"@autorest/python@5.8.0",
"@autorest/modelerfour@4.19.1"
],
"commit": "8c7aca7f1b778ff6ba937b2e79d08fc851a6f80f",
"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/python@5.6.6 --version=3.4.2",
"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",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
from azure.core.pipeline.transport import HttpRequest, HttpResponse

from ._configuration import RecoveryServicesBackupClientConfiguration
from .operations import ProtectionIntentOperations
from .operations import BackupStatusOperations
from .operations import FeatureSupportOperations
from .operations import BackupProtectionIntentOperations
from .operations import BackupUsageSummariesOperations
from .operations import Operations
from .operations import BackupResourceVaultConfigsOperations
from .operations import BackupResourceEncryptionConfigsOperations
from .operations import PrivateEndpointConnectionOperations
Expand Down Expand Up @@ -62,6 +56,7 @@
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
Expand All @@ -71,24 +66,18 @@
from .operations import BackupResourceStorageConfigsOperations
from .operations import RecoveryPointsCrrOperations
from .operations import BackupProtectedItemsCrrOperations
from .operations import ProtectionIntentOperations
from .operations import BackupStatusOperations
from .operations import FeatureSupportOperations
from .operations import BackupProtectionIntentOperations
from .operations import BackupUsageSummariesOperations
from .operations import Operations
from . import models


class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
"""Open API 2.0 Specs for Azure RecoveryServices Backup service.
:ivar protection_intent: ProtectionIntentOperations operations
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
:ivar backup_status: BackupStatusOperations operations
:vartype backup_status: azure.mgmt.recoveryservicesbackup.operations.BackupStatusOperations
:ivar feature_support: FeatureSupportOperations operations
:vartype feature_support: azure.mgmt.recoveryservicesbackup.operations.FeatureSupportOperations
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionIntentOperations
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.recoveryservicesbackup.operations.Operations
:ivar backup_resource_vault_configs: BackupResourceVaultConfigsOperations operations
:vartype backup_resource_vault_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceVaultConfigsOperations
:ivar backup_resource_encryption_configs: BackupResourceEncryptionConfigsOperations operations
Expand Down Expand Up @@ -161,6 +150,8 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
:vartype security_pins: azure.mgmt.recoveryservicesbackup.operations.SecurityPINsOperations
:ivar recovery_points_recommended_for_move: RecoveryPointsRecommendedForMoveOperations operations
:vartype recovery_points_recommended_for_move: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsRecommendedForMoveOperations
: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
Expand All @@ -179,6 +170,18 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
: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
:ivar protection_intent: ProtectionIntentOperations operations
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
:ivar backup_status: BackupStatusOperations operations
:vartype backup_status: azure.mgmt.recoveryservicesbackup.operations.BackupStatusOperations
:ivar feature_support: FeatureSupportOperations operations
:vartype feature_support: azure.mgmt.recoveryservicesbackup.operations.FeatureSupportOperations
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionIntentOperations
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.recoveryservicesbackup.operations.Operations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription Id.
Expand All @@ -205,18 +208,6 @@ def __init__(
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.protection_intent = ProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_status = BackupStatusOperations(
self._client, self._config, self._serialize, self._deserialize)
self.feature_support = FeatureSupportOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protection_intent = BackupProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_usage_summaries = BackupUsageSummariesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_resource_vault_configs = BackupResourceVaultConfigsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_resource_encryption_configs = BackupResourceEncryptionConfigsOperations(
Expand Down Expand Up @@ -289,6 +280,8 @@ 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(
Expand All @@ -307,6 +300,18 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
self._client, self._config, self._serialize, self._deserialize)
self.protection_intent = ProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_status = BackupStatusOperations(
self._client, self._config, self._serialize, self._deserialize)
self.feature_support = FeatureSupportOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protection_intent = BackupProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_usage_summaries = BackupUsageSummariesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
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 @@ -17,12 +17,6 @@
from azure.core.credentials_async import AsyncTokenCredential

from ._configuration import RecoveryServicesBackupClientConfiguration
from .operations import ProtectionIntentOperations
from .operations import BackupStatusOperations
from .operations import FeatureSupportOperations
from .operations import BackupProtectionIntentOperations
from .operations import BackupUsageSummariesOperations
from .operations import Operations
from .operations import BackupResourceVaultConfigsOperations
from .operations import BackupResourceEncryptionConfigsOperations
from .operations import PrivateEndpointConnectionOperations
Expand Down Expand Up @@ -60,6 +54,7 @@
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
Expand All @@ -69,24 +64,18 @@
from .operations import BackupResourceStorageConfigsOperations
from .operations import RecoveryPointsCrrOperations
from .operations import BackupProtectedItemsCrrOperations
from .operations import ProtectionIntentOperations
from .operations import BackupStatusOperations
from .operations import FeatureSupportOperations
from .operations import BackupProtectionIntentOperations
from .operations import BackupUsageSummariesOperations
from .operations import Operations
from .. import models


class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
"""Open API 2.0 Specs for Azure RecoveryServices Backup service.
:ivar protection_intent: ProtectionIntentOperations operations
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.ProtectionIntentOperations
:ivar backup_status: BackupStatusOperations operations
:vartype backup_status: azure.mgmt.recoveryservicesbackup.aio.operations.BackupStatusOperations
:ivar feature_support: FeatureSupportOperations operations
:vartype feature_support: azure.mgmt.recoveryservicesbackup.aio.operations.FeatureSupportOperations
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.BackupProtectionIntentOperations
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.aio.operations.BackupUsageSummariesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.recoveryservicesbackup.aio.operations.Operations
:ivar backup_resource_vault_configs: BackupResourceVaultConfigsOperations operations
:vartype backup_resource_vault_configs: azure.mgmt.recoveryservicesbackup.aio.operations.BackupResourceVaultConfigsOperations
:ivar backup_resource_encryption_configs: BackupResourceEncryptionConfigsOperations operations
Expand Down Expand Up @@ -159,6 +148,8 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
:vartype security_pins: azure.mgmt.recoveryservicesbackup.aio.operations.SecurityPINsOperations
:ivar recovery_points_recommended_for_move: RecoveryPointsRecommendedForMoveOperations operations
:vartype recovery_points_recommended_for_move: azure.mgmt.recoveryservicesbackup.aio.operations.RecoveryPointsRecommendedForMoveOperations
: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
Expand All @@ -177,6 +168,18 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
: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
:ivar protection_intent: ProtectionIntentOperations operations
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.ProtectionIntentOperations
:ivar backup_status: BackupStatusOperations operations
:vartype backup_status: azure.mgmt.recoveryservicesbackup.aio.operations.BackupStatusOperations
:ivar feature_support: FeatureSupportOperations operations
:vartype feature_support: azure.mgmt.recoveryservicesbackup.aio.operations.FeatureSupportOperations
:ivar backup_protection_intent: BackupProtectionIntentOperations operations
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.BackupProtectionIntentOperations
:ivar backup_usage_summaries: BackupUsageSummariesOperations operations
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.aio.operations.BackupUsageSummariesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.recoveryservicesbackup.aio.operations.Operations
: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 All @@ -202,18 +205,6 @@ def __init__(
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.protection_intent = ProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_status = BackupStatusOperations(
self._client, self._config, self._serialize, self._deserialize)
self.feature_support = FeatureSupportOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protection_intent = BackupProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_usage_summaries = BackupUsageSummariesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_resource_vault_configs = BackupResourceVaultConfigsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_resource_encryption_configs = BackupResourceEncryptionConfigsOperations(
Expand Down Expand Up @@ -286,6 +277,8 @@ 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(
Expand All @@ -304,6 +297,18 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
self._client, self._config, self._serialize, self._deserialize)
self.protection_intent = ProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_status = BackupStatusOperations(
self._client, self._config, self._serialize, self._deserialize)
self.feature_support = FeatureSupportOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_protection_intent = BackupProtectionIntentOperations(
self._client, self._config, self._serialize, self._deserialize)
self.backup_usage_summaries = BackupUsageSummariesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
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
Loading

0 comments on commit 976171d

Please sign in to comment.