Skip to content

[AutoPR track2_azure-mgmt-dataprotection] Adding ResourceGuardProxy APIs to Microsoft.Dataprotection latest stable version #2755

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

Closed
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
4 changes: 2 additions & 2 deletions sdk/dataprotection/azure-mgmt-dataprotection/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "96c583e9d5d09c51fe8a21843180c51b98b4a7db",
"commit": "9cc2523e91a4fe261489884a7a44d033afcb7c29",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"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",
"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",
"readme": "specification/dataprotection/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
DataProtectionOperations,
DataProtectionOperationsOperations,
DeletedBackupInstancesOperations,
DppResourceGuardProxyOperations,
ExportJobsOperationResultOperations,
ExportJobsOperations,
JobsOperations,
Expand Down Expand Up @@ -86,6 +87,9 @@ class DataProtectionMgmtClient: # pylint: disable=client-accepts-api-version-ke
azure.mgmt.dataprotection.operations.DeletedBackupInstancesOperations
:ivar resource_guards: ResourceGuardsOperations operations
:vartype resource_guards: azure.mgmt.dataprotection.operations.ResourceGuardsOperations
:ivar dpp_resource_guard_proxy: DppResourceGuardProxyOperations operations
:vartype dpp_resource_guard_proxy:
azure.mgmt.dataprotection.operations.DppResourceGuardProxyOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
Expand Down Expand Up @@ -152,6 +156,9 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.resource_guards = ResourceGuardsOperations(self._client, self._config, self._serialize, self._deserialize)
self.dpp_resource_guard_proxy = DppResourceGuardProxyOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
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.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
DataProtectionOperations,
DataProtectionOperationsOperations,
DeletedBackupInstancesOperations,
DppResourceGuardProxyOperations,
ExportJobsOperationResultOperations,
ExportJobsOperations,
JobsOperations,
Expand Down Expand Up @@ -86,6 +87,9 @@ class DataProtectionMgmtClient: # pylint: disable=client-accepts-api-version-ke
azure.mgmt.dataprotection.aio.operations.DeletedBackupInstancesOperations
:ivar resource_guards: ResourceGuardsOperations operations
:vartype resource_guards: azure.mgmt.dataprotection.aio.operations.ResourceGuardsOperations
:ivar dpp_resource_guard_proxy: DppResourceGuardProxyOperations operations
:vartype dpp_resource_guard_proxy:
azure.mgmt.dataprotection.aio.operations.DppResourceGuardProxyOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
Expand Down Expand Up @@ -152,6 +156,9 @@ def __init__(
self._client, self._config, self._serialize, self._deserialize
)
self.resource_guards = ResourceGuardsOperations(self._client, self._config, self._serialize, self._deserialize)
self.dpp_resource_guard_proxy = DppResourceGuardProxyOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(self, request: HttpRequest, **kwargs: Any) -> Awaitable[AsyncHttpResponse]:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from ._export_jobs_operation_result_operations import ExportJobsOperationResultOperations
from ._deleted_backup_instances_operations import DeletedBackupInstancesOperations
from ._resource_guards_operations import ResourceGuardsOperations
from ._dpp_resource_guard_proxy_operations import DppResourceGuardProxyOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand All @@ -46,6 +47,7 @@
"ExportJobsOperationResultOperations",
"DeletedBackupInstancesOperations",
"ResourceGuardsOperations",
"DppResourceGuardProxyOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading