Skip to content

Commit 1e398f7

Browse files
author
SDKAuto
committed
CodeGen from PR 15577 in Azure/azure-rest-api-specs
Merge e048b46b2c40d62fabd94c783dcfeabbd83be831 into 81ec17c
1 parent 728b28b commit 1e398f7

File tree

102 files changed

+2145
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+2145
-154
lines changed

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@autorest/[email protected]",
55
"@autorest/[email protected]"
66
],
7-
"commit": "69c20e89a4f94f99cdbc627f5c33812732b2fa32",
7+
"commit": "0ce6c25af494945778a968b86f92462277f8441b",
88
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
99
"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] --use=@autorest/[email protected] --version=3.4.5",
1010
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_metadata.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"chosen_version": "",
3-
"total_api_version_list": ["2018-12-20", "2021-06-01"],
3+
"total_api_version_list": ["2018-12-20", "2021-07-01"],
44
"client": {
55
"name": "RecoveryServicesBackupClient",
66
"filename": "_recovery_services_backup_client",
@@ -98,6 +98,7 @@
9898
"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\"]}}}"
9999
},
100100
"operation_groups": {
101+
"backup_resource_storage_configs_non_crr": "BackupResourceStorageConfigsNonCRROperations",
101102
"protection_intent": "ProtectionIntentOperations",
102103
"backup_status": "BackupStatusOperations",
103104
"feature_support": "FeatureSupportOperations",
@@ -140,6 +141,8 @@
140141
"backup_protection_containers": "BackupProtectionContainersOperations",
141142
"security_pins": "SecurityPINsOperations",
142143
"recovery_points_recommended_for_move": "RecoveryPointsRecommendedForMoveOperations",
144+
"resource_guard_proxies": "ResourceGuardProxiesOperations",
145+
"resource_guard_proxy": "ResourceGuardProxyOperations",
143146
"backup_usage_summaries_crr": "BackupUsageSummariesCRROperations",
144147
"aad_properties": "AadPropertiesOperations",
145148
"cross_region_restore": "CrossRegionRestoreOperations",

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_recovery_services_backup_client.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from azure.core.pipeline.transport import HttpRequest, HttpResponse
2020

2121
from ._configuration import RecoveryServicesBackupClientConfiguration
22+
from .operations import BackupResourceStorageConfigsNonCRROperations
2223
from .operations import ProtectionIntentOperations
2324
from .operations import BackupStatusOperations
2425
from .operations import FeatureSupportOperations
@@ -62,6 +63,8 @@
6263
from .operations import BackupProtectionContainersOperations
6364
from .operations import SecurityPINsOperations
6465
from .operations import RecoveryPointsRecommendedForMoveOperations
66+
from .operations import ResourceGuardProxiesOperations
67+
from .operations import ResourceGuardProxyOperations
6568
from .operations import BackupUsageSummariesCRROperations
6669
from .operations import AadPropertiesOperations
6770
from .operations import CrossRegionRestoreOperations
@@ -78,6 +81,8 @@
7881
class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
7982
"""Open API 2.0 Specs for Azure RecoveryServices Backup service.
8083
84+
:ivar backup_resource_storage_configs_non_crr: BackupResourceStorageConfigsNonCRROperations operations
85+
:vartype backup_resource_storage_configs_non_crr: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsNonCRROperations
8186
:ivar protection_intent: ProtectionIntentOperations operations
8287
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
8388
:ivar backup_status: BackupStatusOperations operations
@@ -162,6 +167,10 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
162167
:vartype security_pins: azure.mgmt.recoveryservicesbackup.operations.SecurityPINsOperations
163168
:ivar recovery_points_recommended_for_move: RecoveryPointsRecommendedForMoveOperations operations
164169
:vartype recovery_points_recommended_for_move: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsRecommendedForMoveOperations
170+
:ivar resource_guard_proxies: ResourceGuardProxiesOperations operations
171+
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxiesOperations
172+
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
173+
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxyOperations
165174
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRROperations operations
166175
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesCRROperations
167176
:ivar aad_properties: AadPropertiesOperations operations
@@ -208,6 +217,8 @@ def __init__(
208217
self._serialize.client_side_validation = False
209218
self._deserialize = Deserializer(client_models)
210219

220+
self.backup_resource_storage_configs_non_crr = BackupResourceStorageConfigsNonCRROperations(
221+
self._client, self._config, self._serialize, self._deserialize)
211222
self.protection_intent = ProtectionIntentOperations(
212223
self._client, self._config, self._serialize, self._deserialize)
213224
self.backup_status = BackupStatusOperations(
@@ -292,6 +303,10 @@ def __init__(
292303
self._client, self._config, self._serialize, self._deserialize)
293304
self.recovery_points_recommended_for_move = RecoveryPointsRecommendedForMoveOperations(
294305
self._client, self._config, self._serialize, self._deserialize)
306+
self.resource_guard_proxies = ResourceGuardProxiesOperations(
307+
self._client, self._config, self._serialize, self._deserialize)
308+
self.resource_guard_proxy = ResourceGuardProxyOperations(
309+
self._client, self._config, self._serialize, self._deserialize)
295310
self.backup_usage_summaries_crr = BackupUsageSummariesCRROperations(
296311
self._client, self._config, self._serialize, self._deserialize)
297312
self.aad_properties = AadPropertiesOperations(

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "2.0.0"
9+
VERSION = "1.0.0b1"

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/_recovery_services_backup_client.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from azure.core.credentials_async import AsyncTokenCredential
1818

1919
from ._configuration import RecoveryServicesBackupClientConfiguration
20+
from .operations import BackupResourceStorageConfigsNonCRROperations
2021
from .operations import ProtectionIntentOperations
2122
from .operations import BackupStatusOperations
2223
from .operations import FeatureSupportOperations
@@ -60,6 +61,8 @@
6061
from .operations import BackupProtectionContainersOperations
6162
from .operations import SecurityPINsOperations
6263
from .operations import RecoveryPointsRecommendedForMoveOperations
64+
from .operations import ResourceGuardProxiesOperations
65+
from .operations import ResourceGuardProxyOperations
6366
from .operations import BackupUsageSummariesCRROperations
6467
from .operations import AadPropertiesOperations
6568
from .operations import CrossRegionRestoreOperations
@@ -76,6 +79,8 @@
7679
class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
7780
"""Open API 2.0 Specs for Azure RecoveryServices Backup service.
7881
82+
:ivar backup_resource_storage_configs_non_crr: BackupResourceStorageConfigsNonCRROperations operations
83+
:vartype backup_resource_storage_configs_non_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupResourceStorageConfigsNonCRROperations
7984
:ivar protection_intent: ProtectionIntentOperations operations
8085
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.aio.operations.ProtectionIntentOperations
8186
:ivar backup_status: BackupStatusOperations operations
@@ -160,6 +165,10 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
160165
:vartype security_pins: azure.mgmt.recoveryservicesbackup.aio.operations.SecurityPINsOperations
161166
:ivar recovery_points_recommended_for_move: RecoveryPointsRecommendedForMoveOperations operations
162167
:vartype recovery_points_recommended_for_move: azure.mgmt.recoveryservicesbackup.aio.operations.RecoveryPointsRecommendedForMoveOperations
168+
:ivar resource_guard_proxies: ResourceGuardProxiesOperations operations
169+
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.aio.operations.ResourceGuardProxiesOperations
170+
:ivar resource_guard_proxy: ResourceGuardProxyOperations operations
171+
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.aio.operations.ResourceGuardProxyOperations
163172
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRROperations operations
164173
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.aio.operations.BackupUsageSummariesCRROperations
165174
:ivar aad_properties: AadPropertiesOperations operations
@@ -205,6 +214,8 @@ def __init__(
205214
self._serialize.client_side_validation = False
206215
self._deserialize = Deserializer(client_models)
207216

217+
self.backup_resource_storage_configs_non_crr = BackupResourceStorageConfigsNonCRROperations(
218+
self._client, self._config, self._serialize, self._deserialize)
208219
self.protection_intent = ProtectionIntentOperations(
209220
self._client, self._config, self._serialize, self._deserialize)
210221
self.backup_status = BackupStatusOperations(
@@ -289,6 +300,10 @@ def __init__(
289300
self._client, self._config, self._serialize, self._deserialize)
290301
self.recovery_points_recommended_for_move = RecoveryPointsRecommendedForMoveOperations(
291302
self._client, self._config, self._serialize, self._deserialize)
303+
self.resource_guard_proxies = ResourceGuardProxiesOperations(
304+
self._client, self._config, self._serialize, self._deserialize)
305+
self.resource_guard_proxy = ResourceGuardProxyOperations(
306+
self._client, self._config, self._serialize, self._deserialize)
292307
self.backup_usage_summaries_crr = BackupUsageSummariesCRROperations(
293308
self._client, self._config, self._serialize, self._deserialize)
294309
self.aad_properties = AadPropertiesOperations(

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/operations/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9+
from ._backup_resource_storage_configs_non_crr_operations import BackupResourceStorageConfigsNonCRROperations
910
from ._protection_intent_operations import ProtectionIntentOperations
1011
from ._backup_status_operations import BackupStatusOperations
1112
from ._feature_support_operations import FeatureSupportOperations
@@ -49,6 +50,8 @@
4950
from ._backup_protection_containers_operations import BackupProtectionContainersOperations
5051
from ._security_pins_operations import SecurityPINsOperations
5152
from ._recovery_points_recommended_for_move_operations import RecoveryPointsRecommendedForMoveOperations
53+
from ._resource_guard_proxies_operations import ResourceGuardProxiesOperations
54+
from ._resource_guard_proxy_operations import ResourceGuardProxyOperations
5255
from ._backup_usage_summaries_crr_operations import BackupUsageSummariesCRROperations
5356
from ._aad_properties_operations import AadPropertiesOperations
5457
from ._cross_region_restore_operations import CrossRegionRestoreOperations
@@ -61,6 +64,7 @@
6164
from ._backup_protected_items_crr_operations import BackupProtectedItemsCrrOperations
6265

6366
__all__ = [
67+
'BackupResourceStorageConfigsNonCRROperations',
6468
'ProtectionIntentOperations',
6569
'BackupStatusOperations',
6670
'FeatureSupportOperations',
@@ -104,6 +108,8 @@
104108
'BackupProtectionContainersOperations',
105109
'SecurityPINsOperations',
106110
'RecoveryPointsRecommendedForMoveOperations',
111+
'ResourceGuardProxiesOperations',
112+
'ResourceGuardProxyOperations',
107113
'BackupUsageSummariesCRROperations',
108114
'AadPropertiesOperations',
109115
'CrossRegionRestoreOperations',

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/operations/_backup_engines_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def list(
7171
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
7272
}
7373
error_map.update(kwargs.pop('error_map', {}))
74-
api_version = "2021-06-01"
74+
api_version = "2021-07-01"
7575
accept = "application/json"
7676

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

165165
# Construct URL

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/operations/_backup_jobs_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def list(
7070
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
7171
}
7272
error_map.update(kwargs.pop('error_map', {}))
73-
api_version = "2021-06-01"
73+
api_version = "2021-07-01"
7474
accept = "application/json"
7575

7676
def prepare_request(next_link=None):

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/operations/_backup_operation_results_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def get(
7272
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
7373
}
7474
error_map.update(kwargs.pop('error_map', {}))
75-
api_version = "2021-06-01"
75+
api_version = "2021-07-01"
7676
accept = "application/json"
7777

7878
# Construct URL

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/operations/_backup_operation_statuses_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def get(
7070
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
7171
}
7272
error_map.update(kwargs.pop('error_map', {}))
73-
api_version = "2021-06-01"
73+
api_version = "2021-07-01"
7474
accept = "application/json"
7575

7676
# Construct URL

0 commit comments

Comments
 (0)