Skip to content
Merged
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
@@ -1,5 +1,21 @@
# Release History

## 1.1.0 (2021-07-22)

**Features**

- Model AzureWorkloadPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLPointInTimeRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaRestoreRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest has a new parameter target_virtual_machine_id
- Model AzureWorkloadRestoreRequest has a new parameter target_virtual_machine_id
- Added operation group BackupResourceStorageConfigsNonCRROperations

## 1.0.0 (2021-05-26)

**Features**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"autorest": "3.4.5",
"use": [
"@autorest/[email protected].0",
"@autorest/[email protected].1"
"@autorest/[email protected].4",
"@autorest/[email protected].2"
],
"commit": "8c7aca7f1b778ff6ba937b2e79d08fc851a6f80f",
"commit": "8eb10b6052b7073e9c56f7707772e3e01c9d9a8d",
"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].0 --use=@autorest/[email protected].1 --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/[email protected].4 --use=@autorest/[email protected].2 --version=3.4.5",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "",
"total_api_version_list": ["2016-08-10", "2017-07-01", "2018-12-20", "2021-01-01"],
"total_api_version_list": ["2018-12-20", "2021-04-01"],
"client": {
"name": "RecoveryServicesBackupClient",
"filename": "_recovery_services_backup_client",
Expand Down Expand Up @@ -98,6 +98,13 @@
"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\"]}}}"
},
"operation_groups": {
"backup_resource_storage_configs_non_crr": "BackupResourceStorageConfigsNonCRROperations",
"protection_intent": "ProtectionIntentOperations",
"backup_status": "BackupStatusOperations",
"feature_support": "FeatureSupportOperations",
"backup_protection_intent": "BackupProtectionIntentOperations",
"backup_usage_summaries": "BackupUsageSummariesOperations",
"operations": "Operations",
"backup_resource_vault_configs": "BackupResourceVaultConfigsOperations",
"backup_resource_encryption_configs": "BackupResourceEncryptionConfigsOperations",
"private_endpoint_connection": "PrivateEndpointConnectionOperations",
Expand Down Expand Up @@ -143,13 +150,7 @@
"crr_operation_status": "CrrOperationStatusOperations",
"backup_resource_storage_configs": "BackupResourceStorageConfigsOperations",
"recovery_points_crr": "RecoveryPointsCrrOperations",
"backup_protected_items_crr": "BackupProtectedItemsCrrOperations",
"protection_intent": "ProtectionIntentOperations",
"backup_status": "BackupStatusOperations",
"feature_support": "FeatureSupportOperations",
"backup_protection_intent": "BackupProtectionIntentOperations",
"backup_usage_summaries": "BackupUsageSummariesOperations",
"operations": "Operations"
"backup_protected_items_crr": "BackupProtectedItemsCrrOperations"
},
"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 @@ -19,6 +19,13 @@
from azure.core.pipeline.transport import HttpRequest, HttpResponse

from ._configuration import RecoveryServicesBackupClientConfiguration
from .operations import BackupResourceStorageConfigsNonCRROperations
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 @@ -66,18 +73,26 @@
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 backup_resource_storage_configs_non_crr: BackupResourceStorageConfigsNonCRROperations operations
:vartype backup_resource_storage_configs_non_crr: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsNonCRROperations
: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 @@ -170,18 +185,6 @@ 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 @@ -208,6 +211,20 @@ def __init__(
self._serialize.client_side_validation = False
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(
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 @@ -300,18 +317,6 @@ 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 @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "1.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
from azure.core.credentials_async import AsyncTokenCredential

from ._configuration import RecoveryServicesBackupClientConfiguration
from .operations import BackupResourceStorageConfigsNonCRROperations
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 @@ -64,18 +71,26 @@
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 backup_resource_storage_configs_non_crr: BackupResourceStorageConfigsNonCRROperations operations
:vartype backup_resource_storage_configs_non_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupResourceStorageConfigsNonCRROperations
: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 @@ -168,18 +183,6 @@ 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 @@ -205,6 +208,20 @@ def __init__(
self._serialize.client_side_validation = False
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(
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 @@ -297,18 +314,6 @@ 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