Skip to content

Commit f9a6a30

Browse files
author
SDKAuto
committed
CodeGen from PR 22574 in Azure/azure-rest-api-specs
Merge 96d6481afbd67f3f8a2b7d09f9d489fd89593fa2 into 56435032b69cc7ebb5c1052b66c7865d0c48f33c
1 parent a4e362d commit f9a6a30

15 files changed

+1878
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "96c583e9d5d09c51fe8a21843180c51b98b4a7db",
2+
"commit": "9cc2523e91a4fe261489884a7a44d033afcb7c29",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/dataprotection/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/dataprotection/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/dataprotection/resource-manager/readme.md"
1111
}

sdk/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection/_data_protection_mgmt_client.py

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
DataProtectionOperations,
2424
DataProtectionOperationsOperations,
2525
DeletedBackupInstancesOperations,
26+
DppResourceGuardProxyOperations,
2627
ExportJobsOperationResultOperations,
2728
ExportJobsOperations,
2829
JobsOperations,
@@ -86,6 +87,9 @@ class DataProtectionMgmtClient: # pylint: disable=client-accepts-api-version-ke
8687
azure.mgmt.dataprotection.operations.DeletedBackupInstancesOperations
8788
:ivar resource_guards: ResourceGuardsOperations operations
8889
:vartype resource_guards: azure.mgmt.dataprotection.operations.ResourceGuardsOperations
90+
:ivar dpp_resource_guard_proxy: DppResourceGuardProxyOperations operations
91+
:vartype dpp_resource_guard_proxy:
92+
azure.mgmt.dataprotection.operations.DppResourceGuardProxyOperations
8993
:param credential: Credential needed for the client to connect to Azure. Required.
9094
:type credential: ~azure.core.credentials.TokenCredential
9195
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -152,6 +156,9 @@ def __init__(
152156
self._client, self._config, self._serialize, self._deserialize
153157
)
154158
self.resource_guards = ResourceGuardsOperations(self._client, self._config, self._serialize, self._deserialize)
159+
self.dpp_resource_guard_proxy = DppResourceGuardProxyOperations(
160+
self._client, self._config, self._serialize, self._deserialize
161+
)
155162

156163
def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
157164
"""Runs the network request through the client's chained policies.

sdk/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection/_version.py

+1-1
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 = "1.0.0"
9+
VERSION = "1.0.0b1"

sdk/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection/aio/_data_protection_mgmt_client.py

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
DataProtectionOperations,
2424
DataProtectionOperationsOperations,
2525
DeletedBackupInstancesOperations,
26+
DppResourceGuardProxyOperations,
2627
ExportJobsOperationResultOperations,
2728
ExportJobsOperations,
2829
JobsOperations,
@@ -86,6 +87,9 @@ class DataProtectionMgmtClient: # pylint: disable=client-accepts-api-version-ke
8687
azure.mgmt.dataprotection.aio.operations.DeletedBackupInstancesOperations
8788
:ivar resource_guards: ResourceGuardsOperations operations
8889
:vartype resource_guards: azure.mgmt.dataprotection.aio.operations.ResourceGuardsOperations
90+
:ivar dpp_resource_guard_proxy: DppResourceGuardProxyOperations operations
91+
:vartype dpp_resource_guard_proxy:
92+
azure.mgmt.dataprotection.aio.operations.DppResourceGuardProxyOperations
8993
:param credential: Credential needed for the client to connect to Azure. Required.
9094
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
9195
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
@@ -152,6 +156,9 @@ def __init__(
152156
self._client, self._config, self._serialize, self._deserialize
153157
)
154158
self.resource_guards = ResourceGuardsOperations(self._client, self._config, self._serialize, self._deserialize)
159+
self.dpp_resource_guard_proxy = DppResourceGuardProxyOperations(
160+
self._client, self._config, self._serialize, self._deserialize
161+
)
155162

156163
def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
157164
"""Runs the network request through the client's chained policies.

sdk/dataprotection/azure-mgmt-dataprotection/azure/mgmt/dataprotection/aio/operations/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from ._export_jobs_operation_result_operations import ExportJobsOperationResultOperations
2424
from ._deleted_backup_instances_operations import DeletedBackupInstancesOperations
2525
from ._resource_guards_operations import ResourceGuardsOperations
26+
from ._dpp_resource_guard_proxy_operations import DppResourceGuardProxyOperations
2627

2728
from ._patch import __all__ as _patch_all
2829
from ._patch import * # pylint: disable=unused-wildcard-import
@@ -46,6 +47,7 @@
4647
"ExportJobsOperationResultOperations",
4748
"DeletedBackupInstancesOperations",
4849
"ResourceGuardsOperations",
50+
"DppResourceGuardProxyOperations",
4951
]
5052
__all__.extend([p for p in _patch_all if p not in __all__])
5153
_patch_sdk()

0 commit comments

Comments
 (0)