Skip to content

Commit

Permalink
[AutoRelease] t2-recoveryservicesbackup-2021-08-24-85532 (#20395)
Browse files Browse the repository at this point in the history
* CodeGen from PR 15577 in Azure/azure-rest-api-specs
Swagger changes for MFA work (#15577)

* Baseline changes for API version 2021-07-01

* Made the new changes related to API version 2021-07-01

* Fixing Lintdiff failure

* resolved PR comments

* Fixing validation failures

* Fix the validation failures

* Made lintdiff failures

* Resolved PR comments

* Fixing validation failures

* Resolved PR comments

Co-authored-by: Madhumanti Dey <madhude@microsoft.com>

* version,CHANGELOG

* Update CHANGELOG.md

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: Madhumanti Dey <madhude@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
  • Loading branch information
4 people authored Oct 15, 2021
1 parent ec313ba commit 788e57a
Show file tree
Hide file tree
Showing 103 changed files with 2,179 additions and 154 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Release History

## 3.0.0 (2021-10-15)

**Features**

- Model AzureVmWorkloadSAPHanaDatabaseProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureFileShareProtectionPolicy has a new parameter resource_guard_operation_requests
- Model AzureIaaSClassicComputeVMProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureFileshareProtectedItemAutoGenerated has a new parameter resource_guard_operation_requests
- Model AzureFileshareProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureIaaSComputeVMProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureVmWorkloadProtectionPolicy has a new parameter resource_guard_operation_requests
- Model MabProtectionPolicy has a new parameter resource_guard_operation_requests
- Model AzureSqlProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureVmWorkloadProtectedItem has a new parameter resource_guard_operation_requests
- Model BackupResourceVaultConfig has a new parameter resource_guard_operation_requests
- Model AzureVmWorkloadSQLDatabaseProtectedItem has a new parameter resource_guard_operation_requests
- Model ProtectionPolicy has a new parameter resource_guard_operation_requests
- Model DPMProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureSqlProtectionPolicy has a new parameter resource_guard_operation_requests
- Model ProtectedItem has a new parameter resource_guard_operation_requests
- Model GenericProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureIaaSVMProtectedItem has a new parameter resource_guard_operation_requests
- Model MabFileFolderProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureVmWorkloadSAPAseDatabaseProtectedItem has a new parameter resource_guard_operation_requests
- Model AzureIaaSVMProtectionPolicy has a new parameter resource_guard_operation_requests
- Model GenericProtectionPolicy has a new parameter resource_guard_operation_requests
- Added operation group BackupResourceStorageConfigsNonCRROperations
- Added operation group ResourceGuardProxiesOperations
- Added operation group ResourceGuardProxyOperations

**Breaking changes**

- Operation SecurityPINsOperations.get has a new signature

## 2.0.0 (2021-07-26)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "69c20e89a4f94f99cdbc627f5c33812732b2fa32",
"commit": "30d1537f0c9aa49e6e04401b1d16f612b31231e7",
"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.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
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-06-01"],
"total_api_version_list": ["2018-12-20", "2021-07-01"],
"client": {
"name": "RecoveryServicesBackupClient",
"filename": "_recovery_services_backup_client",
Expand Down Expand Up @@ -98,6 +98,7 @@
"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",
Expand Down Expand Up @@ -140,6 +141,8 @@
"backup_protection_containers": "BackupProtectionContainersOperations",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
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
Expand Down Expand Up @@ -62,6 +63,8 @@
from .operations import BackupProtectionContainersOperations
from .operations import SecurityPINsOperations
from .operations import RecoveryPointsRecommendedForMoveOperations
from .operations import ResourceGuardProxiesOperations
from .operations import ResourceGuardProxyOperations
from .operations import BackupUsageSummariesCRROperations
from .operations import AadPropertiesOperations
from .operations import CrossRegionRestoreOperations
Expand All @@ -78,6 +81,8 @@
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
Expand Down Expand Up @@ -162,6 +167,10 @@ 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 resource_guard_proxies: ResourceGuardProxiesOperations operations
: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
Expand Down Expand Up @@ -208,6 +217,8 @@ 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(
Expand Down Expand Up @@ -292,6 +303,10 @@ 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.resource_guard_proxies = ResourceGuardProxiesOperations(
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(
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 = "2.0.0"
VERSION = "3.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
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
Expand Down Expand Up @@ -60,6 +61,8 @@
from .operations import BackupProtectionContainersOperations
from .operations import SecurityPINsOperations
from .operations import RecoveryPointsRecommendedForMoveOperations
from .operations import ResourceGuardProxiesOperations
from .operations import ResourceGuardProxyOperations
from .operations import BackupUsageSummariesCRROperations
from .operations import AadPropertiesOperations
from .operations import CrossRegionRestoreOperations
Expand All @@ -76,6 +79,8 @@
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
Expand Down Expand Up @@ -160,6 +165,10 @@ 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 resource_guard_proxies: ResourceGuardProxiesOperations operations
: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
Expand Down Expand Up @@ -205,6 +214,8 @@ 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(
Expand Down Expand Up @@ -289,6 +300,10 @@ 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.resource_guard_proxies = ResourceGuardProxiesOperations(
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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._backup_resource_storage_configs_non_crr_operations import BackupResourceStorageConfigsNonCRROperations
from ._protection_intent_operations import ProtectionIntentOperations
from ._backup_status_operations import BackupStatusOperations
from ._feature_support_operations import FeatureSupportOperations
Expand Down Expand Up @@ -49,6 +50,8 @@
from ._backup_protection_containers_operations import BackupProtectionContainersOperations
from ._security_pins_operations import SecurityPINsOperations
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
Expand All @@ -61,6 +64,7 @@
from ._backup_protected_items_crr_operations import BackupProtectedItemsCrrOperations

__all__ = [
'BackupResourceStorageConfigsNonCRROperations',
'ProtectionIntentOperations',
'BackupStatusOperations',
'FeatureSupportOperations',
Expand Down Expand Up @@ -104,6 +108,8 @@
'BackupProtectionContainersOperations',
'SecurityPINsOperations',
'RecoveryPointsRecommendedForMoveOperations',
'ResourceGuardProxiesOperations',
'ResourceGuardProxyOperations',
'BackupUsageSummariesCRROperations',
'AadPropertiesOperations',
'CrossRegionRestoreOperations',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down Expand Up @@ -159,7 +159,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

# Construct URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

def prepare_request(next_link=None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
accept = "application/json"

# Construct URL
Expand Down Expand Up @@ -126,7 +126,7 @@ async def update(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
api_version = "2021-06-01"
api_version = "2021-07-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Loading

0 comments on commit 788e57a

Please sign in to comment.