Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-recoveryservicesbackup] [Hub Generated] Review request for Microsoft.RecoveryServices to add version stable/2021-08-01 #7177

Closed
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/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "69c20e89a4f94f99cdbc627f5c33812732b2fa32",
"commit": "7f4cb3191ff93b793a0f86215b8f3d28fe63d40b",
"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-08-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 = "1.0.0b1"
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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"

Expand Down
Loading